[elpa] master affdc46 2/3: Add version update note in file

2015-08-30 Thread Matthew Carter
branch: master
commit affdc4611d859e6f643e38c2ed9ad83debb92633
Author: Matthew Carter 
Commit: Matthew Carter 

Add version update note in file
---
 ahungry-theme.el |5 -
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/ahungry-theme.el b/ahungry-theme.el
index 0180ddc..de3a64e 100644
--- a/ahungry-theme.el
+++ b/ahungry-theme.el
@@ -5,7 +5,7 @@
 ;; Author: Matthew Carter 
 ;; Maintainer: Matthew Carter 
 ;; URL: https://github.com/ahungry/color-theme-ahungry
-;; Version: 1.0.9
+;; Version: 1.0.10
 ;; Keywords: ahungry palette color theme emacs color-theme deftheme
 ;; Package-Requires: ((emacs "24"))
 
@@ -36,6 +36,9 @@
 
 ;;; News:
 
+ Changes since 1.0.9:
+;; - Add/adjust some of the org-mode faces
+
  Changes since 1.0.8:
 ;; - Add even more colors for magit 2.0 face names
 



[elpa] master 9ed9678 1/3: Add/adjust some of the org-mode faces

2015-08-30 Thread Matthew Carter
branch: master
commit 9ed9678006b89d84468bbeebb905a2133f29592b
Author: Matthew Carter 
Commit: Matthew Carter 

Add/adjust some of the org-mode faces
---
 ahungry-theme.el |4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/ahungry-theme.el b/ahungry-theme.el
index e083a14..0180ddc 100644
--- a/ahungry-theme.el
+++ b/ahungry-theme.el
@@ -165,7 +165,7 @@
'(message-header-to ((t (:foreground "#ff"
'(message-header-cc ((t (:foreground "#ff"
'(mm-uu-extract ((t (:foreground "#0066ff"
-   '(org-hide ((t (:foreground "#009933"
+   '(org-hide ((t (:foreground "#22"
'(org-level-1 ((t (:bold t :foreground "#4477ff" :height 1.5
'(org-level-2 ((t (:bold nil :foreground "#ffc800" :height 1.2
'(org-level-3 ((t (:bold t :foreground "#00aa33" :height 1.0
@@ -178,6 +178,7 @@
'(org-block ((t (:foreground "#99"
'(org-quote ((t (:inherit org-block :bold t :slant italic
'(org-verse ((t (:inherit org-block :bold t :slant italic
+   '(org-table ((t (:foreground "#0055ff"
'(org-todo ((t (:bold t :foreground "#ff0099"
'(org-done ((t (:bold t :foreground "#00cc33"
'(org-agenda-structure ((t (:weight bold :foreground "#f68585"
@@ -190,6 +191,7 @@
'(org-block-end-line ((t (:foreground "#bb" :background "#33"
'(org-document-title ((t (:weight bold :foreground "#0077cc"
'(org-document-info ((t (:weight normal :foreground "#0077cc"
+   '(org-document-info-keyword ((t (:weight normal :foreground "#aa"
'(org-warning ((t (:weight normal :foreground "#ee0033"
'(magit-hash ((t (:foreground "#6699aa"
'(magit-branch-local ((t (:foreground "#0066ff"



[elpa] master updated (05c248a -> 9e61960)

2015-08-30 Thread Matthew Carter
ahungry pushed a change to branch master.

  from  05c248a   * GNUmakefile: Use LC_ALL rather than LANG
   new  9ed9678   Add/adjust some of the org-mode faces
   new  affdc46   Add version update note in file
   new  9e61960   Merge commit 'affdc4611d859e6f643e38c2ed9ad83debb92633'


Summary of changes:
 packages/ahungry-theme/ahungry-theme.el |9 +++--
 1 files changed, 7 insertions(+), 2 deletions(-)



[elpa] master 9e61960 3/3: Merge commit 'affdc4611d859e6f643e38c2ed9ad83debb92633'

2015-08-30 Thread Matthew Carter
branch: master
commit 9e619608dda79bf8f889e9cb039f2a65b72198a6
Merge: 05c248a affdc46
Author: Matthew Carter 
Commit: Matthew Carter 

Merge commit 'affdc4611d859e6f643e38c2ed9ad83debb92633'
---
 packages/ahungry-theme/ahungry-theme.el |9 +++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/packages/ahungry-theme/ahungry-theme.el 
b/packages/ahungry-theme/ahungry-theme.el
index 2ddeb9e..8a917ca 100644
--- a/packages/ahungry-theme/ahungry-theme.el
+++ b/packages/ahungry-theme/ahungry-theme.el
@@ -5,7 +5,7 @@
 ;; Author: Matthew Carter 
 ;; Maintainer: Matthew Carter 
 ;; URL: https://github.com/ahungry/color-theme-ahungry
-;; Version: 1.0.9
+;; Version: 1.0.10
 ;; Keywords: ahungry palette color theme emacs color-theme deftheme
 ;; Package-Requires: ((emacs "24"))
 
@@ -36,6 +36,9 @@
 
 ;;; News:
 
+ Changes since 1.0.9:
+;; - Add/adjust some of the org-mode faces
+
  Changes since 1.0.8:
 ;; - Add even more colors for magit 2.0 face names
 
@@ -165,7 +168,7 @@
'(message-header-to ((t (:foreground "#ff"
'(message-header-cc ((t (:foreground "#ff"
'(mm-uu-extract ((t (:foreground "#0066ff"
-   '(org-hide ((t (:foreground "#009933"
+   '(org-hide ((t (:foreground "#22"
'(org-level-1 ((t (:bold t :foreground "#4477ff" :height 1.5
'(org-level-2 ((t (:bold nil :foreground "#ffc800" :height 1.2
'(org-level-3 ((t (:bold t :foreground "#00aa33" :height 1.0
@@ -178,6 +181,7 @@
'(org-block ((t (:foreground "#99"
'(org-quote ((t (:inherit org-block :bold t :slant italic
'(org-verse ((t (:inherit org-block :bold t :slant italic
+   '(org-table ((t (:foreground "#0055ff"
'(org-todo ((t (:bold t :foreground "#ff0099"
'(org-done ((t (:bold t :foreground "#00cc33"
'(org-agenda-structure ((t (:weight bold :foreground "#f68585"
@@ -190,6 +194,7 @@
'(org-block-end-line ((t (:foreground "#bb" :background "#33"
'(org-document-title ((t (:weight bold :foreground "#0077cc"
'(org-document-info ((t (:weight normal :foreground "#0077cc"
+   '(org-document-info-keyword ((t (:weight normal :foreground "#aa"
'(org-warning ((t (:weight normal :foreground "#ee0033"
'(magit-hash ((t (:foreground "#6699aa"
'(magit-branch-local ((t (:foreground "#0066ff"



[elpa] master 567397f 3/5: Merge commit 'c824884ed1d3095eb998345bcbcfe67507a4db75' as 'packages/math-symbol-lists'

2015-08-30 Thread Vitalie Spinu
branch: master
commit 567397fee86236c324eeeda22939b7992407b699
Merge: b3e8fe8 c824884
Author: Vitalie Spinu 
Commit: Vitalie Spinu 

Merge commit 'c824884ed1d3095eb998345bcbcfe67507a4db75' as 
'packages/math-symbol-lists'
---
 packages/math-symbol-lists/.gitignore   |5 +
 packages/math-symbol-lists/math-symbol-lists.el | 3066 +++
 packages/math-symbol-lists/readme.md|4 +
 3 files changed, 3075 insertions(+), 0 deletions(-)

diff --git a/packages/math-symbol-lists/.gitignore 
b/packages/math-symbol-lists/.gitignore
new file mode 100644
index 000..9b4291b
--- /dev/null
+++ b/packages/math-symbol-lists/.gitignore
@@ -0,0 +1,5 @@
+# Compiled
+*.elc
+
+# Packaging
+.cask
diff --git a/packages/math-symbol-lists/math-symbol-lists.el 
b/packages/math-symbol-lists/math-symbol-lists.el
new file mode 100644
index 000..3f05cf4
--- /dev/null
+++ b/packages/math-symbol-lists/math-symbol-lists.el
@@ -0,0 +1,3066 @@
+;;; math-symbol-lists.el --- Lists of Unicode math symbols and latex commands
+;;
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+;; Author: Vitalie Spinu
+;; URL: https://github.com/vspinu/math-symbol-lists
+;; Keywords: Unicode, symbols, mathematics
+;; Version: 1.0
+;;
+;;
+;;
+;; This file is part of GNU Emacs.
+;;
+;; This program is free software; you can redistribute it and/or
+;; modify it under the terms of the GNU General Public License as
+;; published by the Free Software Foundation; either version 3, or
+;; (at your option) any later version.
+;;
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+;; General Public License for more details.
+;;
+;; You should have received a copy of the GNU General Public License
+;; along with this program; see the file COPYING.  If not, write to
+;; the Free Software Foundation, Inc., 51 Franklin Street, Fifth
+;; Floor, Boston, MA 02110-1301, USA.
+;;
+;;
+;;
+;;; Commentary:
+;;
+;; This is a "storage" package used by completion engines such as
+;; `company-math.el` and `ac-math.el`.
+;;
+;; Defined (a)lists are:
+;;
+;;  symbols-math-basic
+;;  symbols-math-extended
+;;  symbols-latex-commands
+;;
+;;
+;;
+;;; Code:
+
+(defconst math-symbol-list-basic
+  '(("Greek Lowercase" "\\alpha"   #X3B1)
+("Greek Lowercase" "\\beta"#X3B2)
+("Greek Lowercase" "\\gamma"   #X3B3)
+("Greek Lowercase" "\\delta"   #X3B4)
+("Greek Lowercase" "\\epsilon" #X3F5)
+("Greek Lowercase" "\\zeta"#X3B6)
+("Greek Lowercase" "\\eta" #X3B7)
+("Greek Lowercase" "\\theta"   #X3B8)
+("Greek Lowercase" "\\iota"#X3B9)
+("Greek Lowercase" "\\kappa"   #X3BA)
+("Greek Lowercase" "\\lambda"  #X3BB)
+("Greek Lowercase" "\\mu"  #X3BC)
+("Greek Lowercase" "\\nu"  #X3BD)
+("Greek Lowercase" "\\xi"  #X3BE)
+("Greek Lowercase" "\\pi"  #X3C0)
+("Greek Lowercase" "\\rho" #X3C1)
+("Greek Lowercase" "\\sigma"   #X3C3)
+("Greek Lowercase" "\\tau" #X3C4)
+("Greek Lowercase" "\\upsilon" #X3C5)
+("Greek Lowercase" "\\phi" #X3D5)
+("Greek Lowercase" "\\chi" #X3C7)
+("Greek Lowercase" "\\psi" #X3C8)
+("Greek Lowercase" "\\omega"   #X3C9)
+("Greek Lowercase" "\\varepsilon"  #X3B5)
+("Greek Lowercase" "\\vartheta"#X3D1)
+("Greek Lowercase" "\\varpi"   #X3D6)
+("Greek Lowercase" "\\varrho"  #X3F1)
+("Greek Lowercase" "\\varsigma"#X3C2)
+("Greek Lowercase" "\\varphi"  #X3C6)
+("Greek Uppercase" "\\Gamma"   #X393)
+("Greek Uppercase" "\\Delta"   #X394)
+("Greek Uppercase" "\\Theta"   #X398)
+("Greek Uppercase" "\\Lambda"  #X39B)
+("Greek Uppercase" "\\Xi"  #X39E)
+("Greek Uppercase" "\\Pi"  #X3A0)
+("Greek Uppercase" "\\Sigma"   #X3A3)
+("Greek Uppercase" "\\Upsilon" #X3D2)
+("Greek Uppercase" "\\Phi" #X3A6)
+("Greek Uppercase" "\\Psi" #X3A8)
+("Greek Uppercase" "\\Omega"   #X3A9)
+("Binary Op"   "\\pm"  #XB1)
+("Binary Op"   "\\mp"  #X2213)
+("Binary Op"   "\\times"   #XD7)
+("Binary Op"   "\\div" #XF7)
+("Binary Op"   "\\ast" #X2217)
+("Binary Op"   "\\star"#X22C6)
+("Binary Op"   "\\circ"#X2218)
+("Binary Op"   "\\bullet"  #X2219)
+("Binary Op"   "\\cdot"#X22C5)
+("Binary Op"   "\\cap" #X2229)
+("Binary Op"   "\\cup" #X222A)
+("Binary Op"   "\\uplus"   #X228E)
+("Binary Op"   "\\sqcap"   #X2293)
+("Binary Op"   "\\vee" #X2228)
+("Binary Op"   "\\wedge"  

[elpa] master b3e8fe8 1/5: Add company-math and math-symbol-lists to externals

2015-08-30 Thread Vitalie Spinu
branch: master
commit b3e8fe8a3893581812fad554b5a25239768936be
Author: Vitalie Spinu 
Commit: Vitalie Spinu 

Add company-math and math-symbol-lists to externals
---
 externals-list |2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/externals-list b/externals-list
index 15f28f3..b26446e 100644
--- a/externals-list
+++ b/externals-list
@@ -23,6 +23,7 @@
  ("chess"  :external nil) ;; Was 
https://github.com/jwiegley/emacs-chess.git
  ("coffee-mode":subtree 
"https://github.com/defunkt/coffee-mode";)
  ("company":subtree 
"https://github.com/company-mode/company-mode.git";)
+ ("company-math"   :subtree "https://github.com/vspinu/company-math.git";)
  ("context-coloring"   :subtree 
"https://github.com/jacksonrayhamilton/context-coloring.git";)
  ("darkroom":subtree 
"https://github.com/capitaomorte/darkroom.git";)
  ("dbus-codegen"   :subtree "https://github.com/ueno/dbus-codegen-el.git";)
@@ -38,6 +39,7 @@
  ("gnorb"   :subtree "https://github.com/girzel/gnorb";)
  ("ioccur" :subtree 
"https://github.com/thierryvolpiatto/ioccur.git";)
  ("js2-mode"   :subtree "https://github.com/mooz/js2-mode.git";)
+ ("math-symbol-lists"  :subtree 
"https://github.com/vspinu/math-symbol-lists.git";)
  ("omn-mode":external nil)
  ("pabbrev" :external "https://github.com/phillord/pabbrev.git";)
  ("pinentry"   :subtree "https://github.com/ueno/pinentry-el.git";)



[elpa] master fe9ec0c 4/5: Squashed 'packages/company-math/' content from commit b585117

2015-08-30 Thread Vitalie Spinu
branch: master
commit fe9ec0c54c5c0224bdce6b557fe1f4bf2acbc972
Author: Vitalie Spinu 
Commit: Vitalie Spinu 

Squashed 'packages/company-math/' content from commit b585117

git-subtree-dir: packages/company-math
git-subtree-split: b585117b814d9c7474a50de5753526ebab7fa27f
---
 company-math.el |  159 +++
 img/latex-symbols.png   |  Bin 0 -> 3355 bytes
 img/unicode-symbols.png |  Bin 0 ->  bytes
 readme.md   |   62 ++
 4 files changed, 221 insertions(+), 0 deletions(-)

diff --git a/company-math.el b/company-math.el
new file mode 100644
index 000..7d8efab
--- /dev/null
+++ b/company-math.el
@@ -0,0 +1,159 @@
+;;; company-math.el --- Completion backends for unicode math symbols and latex 
tags
+;;
+;; Copyright (C) 2015 Free Software Foundation, Inc.
+;; Author: Vitalie Spinu
+;; URL: https://github.com/vspinu/company-math
+;; Keywords:  Unicode, symbols, completion
+;; Version: 1.0.1
+;; Package-Requires: ((company "0.8.0") (math-symbol-lists "1.0"))
+;;
+;;
+;;
+;; This file is part of GNU Emacs.
+;;
+;; This program is free software; you can redistribute it and/or
+;; modify it under the terms of the GNU General Public License as
+;; published by the Free Software Foundation; either version 3, or
+;; (at your option) any later version.
+;;
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+;; General Public License for more details.
+;;
+;; You should have received a copy of the GNU General Public License
+;; along with this program; see the file COPYING.  If not, write to
+;; the Free Software Foundation, Inc., 51 Franklin Street, Fifth
+;; Floor, Boston, MA 02110-1301, USA.
+;;
+;;
+;;
+;;; Code:
+
+(require 'math-symbol-lists)
+(require 'company)
+(require 'cl-lib)
+
+(defgroup company-math nil
+  "Completion back-ends for math symbols Unicode symbols and LaTeX tags."
+  :group 'company
+  :prefix "company-math-")
+
+(defcustom company-math-prefix-regexp "\\([^ \t]+\\)"
+  "Regexp matching the prefix of the company-math symbol.
+First subgroup must match the actual symbol to be used in the
+completion."
+  :group 'company-math
+  :type 'string)
+
+(defcustom company-math-allow-unicode-symbols-in-faces t
+  "List of faces to allow the insertion of Unicode symbols.
+When set to special value t, allow on all faces except those in
+`company-math-disallow-unicode-symbols-in-faces'."
+  :group 'company-math
+  :type '(choice (const t)
+(repeat :tag "Faces" symbol)))
+
+(defcustom company-math-allow-latex-symbols-in-faces '(font-latex-math-face)
+  "List of faces to disallow the insertion of latex mathematical symbols.
+When set to special value t, allow on all faces except those in
+`company-math-disallow-latex-symbols-in-faces'."
+  :group 'company-math
+  :type '(choice (const t)
+(repeat :tag "Faces" symbol)))
+
+(defcustom company-math-disallow-unicode-symbols-in-faces 
'(font-latex-math-face)
+  "List of faces to disallow the insertion of Unicode symbols."
+  :group 'company-math
+  :type '(repeat symbol))
+
+(defcustom company-math-disallow-latex-symbols-in-faces '()
+  "List of faces to disallow the insertion of latex mathematical symbols."
+  :group 'company-math
+  :type '(repeat symbol))
+
+
+;;; INTERNALS
+
+(defun company-math--make-candidates (alist)
+  "Build a list of math symbols ready to be used in ac source.
+ALIST is one of the defined alist in package `symbols'. Return a
+list of LaTeX symbols with text property :symbol being the
+corresponding unicode symbol."
+  (delq nil
+(mapcar
+ #'(lambda (el)
+(let* ((tex (substring (nth 1 el) 1))
+   (ch (and (nth 2 el) (decode-char 'ucs (nth 2 el
+   (symb (and ch (char-to-string ch
+  (propertize tex :symbol symb)))
+ alist)))
+
+(defconst company-math--symbols
+  (delete-dups
+   (append (company-math--make-candidates math-symbol-list-basic)
+   (company-math--make-candidates math-symbol-list-extended)))
+  "List of math completion candidates.")
+
+(defun company-math--prefix (allow-faces disallow-faces)
+  (let* ((face (get-text-property (point) 'face))
+(face (or (car-safe face) face))
+(insertp (and (not (memq face disallow-faces))
+  (or (eq t allow-faces)
+  (memq face allow-faces)
+(when insertp
+  (save-excursion
+   (when (looking-back company-math-prefix-regexp (point-at-bol))
+ (match-string 1))
+
+(defun company-math--substitute-unicode (symbol)
+  "Substitute preceding latex command with with SYMBOL."
+  (let ((pos (point))
+ 

[elpa] master bc88259 5/5: Merge commit 'fe9ec0c54c5c0224bdce6b557fe1f4bf2acbc972' as 'packages/company-math'

2015-08-30 Thread Vitalie Spinu
branch: master
commit bc88259639b946715459807fbe2b076faa4512a3
Merge: 567397f fe9ec0c
Author: Vitalie Spinu 
Commit: Vitalie Spinu 

Merge commit 'fe9ec0c54c5c0224bdce6b557fe1f4bf2acbc972' as 
'packages/company-math'
---
 packages/company-math/company-math.el |  159 +
 packages/company-math/img/latex-symbols.png   |  Bin 0 -> 3355 bytes
 packages/company-math/img/unicode-symbols.png |  Bin 0 ->  bytes
 packages/company-math/readme.md   |   62 ++
 4 files changed, 221 insertions(+), 0 deletions(-)

diff --git a/packages/company-math/company-math.el 
b/packages/company-math/company-math.el
new file mode 100644
index 000..7d8efab
--- /dev/null
+++ b/packages/company-math/company-math.el
@@ -0,0 +1,159 @@
+;;; company-math.el --- Completion backends for unicode math symbols and latex 
tags
+;;
+;; Copyright (C) 2015 Free Software Foundation, Inc.
+;; Author: Vitalie Spinu
+;; URL: https://github.com/vspinu/company-math
+;; Keywords:  Unicode, symbols, completion
+;; Version: 1.0.1
+;; Package-Requires: ((company "0.8.0") (math-symbol-lists "1.0"))
+;;
+;;
+;;
+;; This file is part of GNU Emacs.
+;;
+;; This program is free software; you can redistribute it and/or
+;; modify it under the terms of the GNU General Public License as
+;; published by the Free Software Foundation; either version 3, or
+;; (at your option) any later version.
+;;
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+;; General Public License for more details.
+;;
+;; You should have received a copy of the GNU General Public License
+;; along with this program; see the file COPYING.  If not, write to
+;; the Free Software Foundation, Inc., 51 Franklin Street, Fifth
+;; Floor, Boston, MA 02110-1301, USA.
+;;
+;;
+;;
+;;; Code:
+
+(require 'math-symbol-lists)
+(require 'company)
+(require 'cl-lib)
+
+(defgroup company-math nil
+  "Completion back-ends for math symbols Unicode symbols and LaTeX tags."
+  :group 'company
+  :prefix "company-math-")
+
+(defcustom company-math-prefix-regexp "\\([^ \t]+\\)"
+  "Regexp matching the prefix of the company-math symbol.
+First subgroup must match the actual symbol to be used in the
+completion."
+  :group 'company-math
+  :type 'string)
+
+(defcustom company-math-allow-unicode-symbols-in-faces t
+  "List of faces to allow the insertion of Unicode symbols.
+When set to special value t, allow on all faces except those in
+`company-math-disallow-unicode-symbols-in-faces'."
+  :group 'company-math
+  :type '(choice (const t)
+(repeat :tag "Faces" symbol)))
+
+(defcustom company-math-allow-latex-symbols-in-faces '(font-latex-math-face)
+  "List of faces to disallow the insertion of latex mathematical symbols.
+When set to special value t, allow on all faces except those in
+`company-math-disallow-latex-symbols-in-faces'."
+  :group 'company-math
+  :type '(choice (const t)
+(repeat :tag "Faces" symbol)))
+
+(defcustom company-math-disallow-unicode-symbols-in-faces 
'(font-latex-math-face)
+  "List of faces to disallow the insertion of Unicode symbols."
+  :group 'company-math
+  :type '(repeat symbol))
+
+(defcustom company-math-disallow-latex-symbols-in-faces '()
+  "List of faces to disallow the insertion of latex mathematical symbols."
+  :group 'company-math
+  :type '(repeat symbol))
+
+
+;;; INTERNALS
+
+(defun company-math--make-candidates (alist)
+  "Build a list of math symbols ready to be used in ac source.
+ALIST is one of the defined alist in package `symbols'. Return a
+list of LaTeX symbols with text property :symbol being the
+corresponding unicode symbol."
+  (delq nil
+(mapcar
+ #'(lambda (el)
+(let* ((tex (substring (nth 1 el) 1))
+   (ch (and (nth 2 el) (decode-char 'ucs (nth 2 el
+   (symb (and ch (char-to-string ch
+  (propertize tex :symbol symb)))
+ alist)))
+
+(defconst company-math--symbols
+  (delete-dups
+   (append (company-math--make-candidates math-symbol-list-basic)
+   (company-math--make-candidates math-symbol-list-extended)))
+  "List of math completion candidates.")
+
+(defun company-math--prefix (allow-faces disallow-faces)
+  (let* ((face (get-text-property (point) 'face))
+(face (or (car-safe face) face))
+(insertp (and (not (memq face disallow-faces))
+  (or (eq t allow-faces)
+  (memq face allow-faces)
+(when insertp
+  (save-excursion
+   (when (looking-back company-math-prefix-regexp (point-at-bol))
+ (match-string 1))
+
+(defun company-math--substitute-unicode (symbol)
+  "Substitute preceding late

[elpa] master c824884 2/5: Squashed 'packages/math-symbol-lists/' content from commit 0d9147c

2015-08-30 Thread Vitalie Spinu
branch: master
commit c824884ed1d3095eb998345bcbcfe67507a4db75
Author: Vitalie Spinu 
Commit: Vitalie Spinu 

Squashed 'packages/math-symbol-lists/' content from commit 0d9147c

git-subtree-dir: packages/math-symbol-lists
git-subtree-split: 0d9147c6f7432d7b7a1b7c7bba28165202c96d23
---
 .gitignore   |5 +
 math-symbol-lists.el | 3066 ++
 readme.md|4 +
 3 files changed, 3075 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000..9b4291b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+# Compiled
+*.elc
+
+# Packaging
+.cask
diff --git a/math-symbol-lists.el b/math-symbol-lists.el
new file mode 100644
index 000..3f05cf4
--- /dev/null
+++ b/math-symbol-lists.el
@@ -0,0 +1,3066 @@
+;;; math-symbol-lists.el --- Lists of Unicode math symbols and latex commands
+;;
+;; Copyright (C) 2014 Free Software Foundation, Inc.
+;; Author: Vitalie Spinu
+;; URL: https://github.com/vspinu/math-symbol-lists
+;; Keywords: Unicode, symbols, mathematics
+;; Version: 1.0
+;;
+;;
+;;
+;; This file is part of GNU Emacs.
+;;
+;; This program is free software; you can redistribute it and/or
+;; modify it under the terms of the GNU General Public License as
+;; published by the Free Software Foundation; either version 3, or
+;; (at your option) any later version.
+;;
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+;; General Public License for more details.
+;;
+;; You should have received a copy of the GNU General Public License
+;; along with this program; see the file COPYING.  If not, write to
+;; the Free Software Foundation, Inc., 51 Franklin Street, Fifth
+;; Floor, Boston, MA 02110-1301, USA.
+;;
+;;
+;;
+;;; Commentary:
+;;
+;; This is a "storage" package used by completion engines such as
+;; `company-math.el` and `ac-math.el`.
+;;
+;; Defined (a)lists are:
+;;
+;;  symbols-math-basic
+;;  symbols-math-extended
+;;  symbols-latex-commands
+;;
+;;
+;;
+;;; Code:
+
+(defconst math-symbol-list-basic
+  '(("Greek Lowercase" "\\alpha"   #X3B1)
+("Greek Lowercase" "\\beta"#X3B2)
+("Greek Lowercase" "\\gamma"   #X3B3)
+("Greek Lowercase" "\\delta"   #X3B4)
+("Greek Lowercase" "\\epsilon" #X3F5)
+("Greek Lowercase" "\\zeta"#X3B6)
+("Greek Lowercase" "\\eta" #X3B7)
+("Greek Lowercase" "\\theta"   #X3B8)
+("Greek Lowercase" "\\iota"#X3B9)
+("Greek Lowercase" "\\kappa"   #X3BA)
+("Greek Lowercase" "\\lambda"  #X3BB)
+("Greek Lowercase" "\\mu"  #X3BC)
+("Greek Lowercase" "\\nu"  #X3BD)
+("Greek Lowercase" "\\xi"  #X3BE)
+("Greek Lowercase" "\\pi"  #X3C0)
+("Greek Lowercase" "\\rho" #X3C1)
+("Greek Lowercase" "\\sigma"   #X3C3)
+("Greek Lowercase" "\\tau" #X3C4)
+("Greek Lowercase" "\\upsilon" #X3C5)
+("Greek Lowercase" "\\phi" #X3D5)
+("Greek Lowercase" "\\chi" #X3C7)
+("Greek Lowercase" "\\psi" #X3C8)
+("Greek Lowercase" "\\omega"   #X3C9)
+("Greek Lowercase" "\\varepsilon"  #X3B5)
+("Greek Lowercase" "\\vartheta"#X3D1)
+("Greek Lowercase" "\\varpi"   #X3D6)
+("Greek Lowercase" "\\varrho"  #X3F1)
+("Greek Lowercase" "\\varsigma"#X3C2)
+("Greek Lowercase" "\\varphi"  #X3C6)
+("Greek Uppercase" "\\Gamma"   #X393)
+("Greek Uppercase" "\\Delta"   #X394)
+("Greek Uppercase" "\\Theta"   #X398)
+("Greek Uppercase" "\\Lambda"  #X39B)
+("Greek Uppercase" "\\Xi"  #X39E)
+("Greek Uppercase" "\\Pi"  #X3A0)
+("Greek Uppercase" "\\Sigma"   #X3A3)
+("Greek Uppercase" "\\Upsilon" #X3D2)
+("Greek Uppercase" "\\Phi" #X3A6)
+("Greek Uppercase" "\\Psi" #X3A8)
+("Greek Uppercase" "\\Omega"   #X3A9)
+("Binary Op"   "\\pm"  #XB1)
+("Binary Op"   "\\mp"  #X2213)
+("Binary Op"   "\\times"   #XD7)
+("Binary Op"   "\\div" #XF7)
+("Binary Op"   "\\ast" #X2217)
+("Binary Op"   "\\star"#X22C6)
+("Binary Op"   "\\circ"#X2218)
+("Binary Op"   "\\bullet"  #X2219)
+("Binary Op"   "\\cdot"#X22C5)
+("Binary Op"   "\\cap" #X2229)
+("Binary Op"   "\\cup" #X222A)
+("Binary Op"   "\\uplus"   #X228E)
+("Binary Op"   "\\sqcap"   #X2293)
+("Binary Op"   "\\vee" #X2228)
+("Binary Op"   "\\wedge"   #X2227)
+("Binary Op"   "\\setminus"#X2216)
+("Binary Op"   "\\wr"  #X2240)
+("Binary Op"   "\\diamond" #X22C

[elpa] master updated (9e61960 -> bc88259)

2015-08-30 Thread Vitalie Spinu
spinuvit pushed a change to branch master.

  from  9e61960   Merge commit 'affdc4611d859e6f643e38c2ed9ad83debb92633'
   new  b3e8fe8   Add company-math and math-symbol-lists to externals
   new  c824884   Squashed 'packages/math-symbol-lists/' content from 
commit 0d9147c
   new  567397f   Merge commit 'c824884ed1d3095eb998345bcbcfe67507a4db75' 
as 'packages/math-symbol-lists'
   new  fe9ec0c   Squashed 'packages/company-math/' content from commit 
b585117
   new  bc88259   Merge commit 'fe9ec0c54c5c0224bdce6b557fe1f4bf2acbc972' 
as 'packages/company-math'


Summary of changes:
 externals-list  |2 +
 packages/company-math/company-math.el   |  159 ++
 packages/company-math/img/latex-symbols.png |  Bin 0 -> 3355 bytes
 packages/company-math/img/unicode-symbols.png   |  Bin 0 ->  bytes
 packages/company-math/readme.md |   62 +
 packages/math-symbol-lists/.gitignore   |5 +
 packages/math-symbol-lists/math-symbol-lists.el | 3066 +++
 packages/math-symbol-lists/readme.md|4 +
 8 files changed, 3298 insertions(+), 0 deletions(-)
 create mode 100644 packages/company-math/company-math.el
 create mode 100644 packages/company-math/img/latex-symbols.png
 create mode 100644 packages/company-math/img/unicode-symbols.png
 create mode 100644 packages/company-math/readme.md
 create mode 100644 packages/math-symbol-lists/.gitignore
 create mode 100644 packages/math-symbol-lists/math-symbol-lists.el
 create mode 100644 packages/math-symbol-lists/readme.md



[elpa] master 2b26546: * copyright_exceptions: Add math-symbol exeption

2015-08-30 Thread Stefan Monnier
branch: master
commit 2b26546195aa8a5f125321154bc43ab4028557ee
Author: Stefan Monnier 
Commit: Stefan Monnier 

* copyright_exceptions: Add math-symbol exeption
---
 copyright_exceptions |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/copyright_exceptions b/copyright_exceptions
index 95f1b54..45857d0 100644
--- a/copyright_exceptions
+++ b/copyright_exceptions
@@ -63,6 +63,7 @@
 ./ergoemacs-mode/ergoemacs-advices.el: emacs-copyright
 ./ergoemacs-mode/ergoemacs-themes.el: ,(lambda () 
emacs-copyright)
 ./gnugo/gnugo.el:(CP "Copyright"   game  simpletext)
+./math-symbol-lists/math-symbol-lists.el:"columnsep" "columnseprule" 
"columnwidth" "contentsline" "copyright"
 ./muse/htmlize-hack.el
 ./rudel/rudel-loaddefs.el
 ./uni-confusables/gen-confusables.el:;; Copyright (C) 1991-2009, 2010 Unicode, 
Inc.