[elpa] master 77d6482 14/14: Merge branch 'master' of github.com:leoliu/ggtags

2015-12-14 Thread Leo Liu
branch: master
commit 77d648214c46565de8c63087ee35d9ee319d7686
Merge: 979b09b d4fb6d4
Author: Leo Liu 
Commit: Leo Liu 

Merge branch 'master' of github.com:leoliu/ggtags
---
 packages/ggtags/README.rst |   23 
 packages/ggtags/ggtags.el  |   83 +++-
 2 files changed, 67 insertions(+), 39 deletions(-)

diff --git a/packages/ggtags/README.rst b/packages/ggtags/README.rst
index 08640b4..eda0427 100644
--- a/packages/ggtags/README.rst
+++ b/packages/ggtags/README.rst
@@ -4,7 +4,7 @@
 
 This package is part of `GNU ELPA `_ (``M-x
 list-packages``) and is also available on `MELPA
-`_.
+`_.
 
 The goal is to make working with GNU Global in Emacs as effortlessly
 and intuitively as possible and to integrate tightly with standard
@@ -61,10 +61,11 @@ Install Global and plugins
  ./configure --prefix= --with-exuberant-ctags=/usr/local/bin/ctags
  make && make install
 
-   The executable ``ctags`` is unfortunately named because ``emacs`` also
-   includes a command of the same name. So make sure it is from
-   http://ctags.sourceforge.net. See ``plugin-factory/README`` in GNU
-   Global source for further information.
+   The executable ``ctags`` is unfortunately named because ``emacs``
+   also includes a command of the same name. So make sure it is from
+   http://ctags.sourceforge.net. See ``plugin-factory/PLUGIN_HOWTO``
+   (``plugin-factory/README`` for Global < 6.5) in GNU Global
+   source for further information.
 
 2. Install ``pygments`` plugin
 
@@ -222,7 +223,7 @@ turned on to facilitate locating the right match.
 Miscellaneous commands
 ++
 
-Commands are avaiable from the ``Ggtags`` menu in ``ggtags-mode``.
+Commands are available from the ``Ggtags`` menu in ``ggtags-mode``.
 
 ggtags-prev-mark
 
@@ -271,7 +272,7 @@ ggtags-explain-tags
 ggtags-browse-file-as-hypertext
 
Use ``htags`` to generate HTML of the source tree. This allows
-   browsing the porject in a browser with cross-references.
+   browsing the project in a browser with cross-references.
 
 Integration with other packages
 +++
@@ -312,6 +313,14 @@ Integration with other packages
 NEWS
 
 
+[2015-12-15 Tue] 0.8.11

+
+#. ``ggtags-highlight-tag-delay`` is renamed to
+   ``ggtags-highlight-tag``.
+#. Tag highlighting can be disabled by setting
+   ``ggtags-highlight-tag`` to nil.
+
 [2015-06-12 Fri] 0.8.10
 +++
 
diff --git a/packages/ggtags/ggtags.el b/packages/ggtags/ggtags.el
index 52b96cf..08fb4c8 100644
--- a/packages/ggtags/ggtags.el
+++ b/packages/ggtags/ggtags.el
@@ -3,7 +3,7 @@
 ;; Copyright (C) 2013-2015  Free Software Foundation, Inc.
 
 ;; Author: Leo Liu 
-;; Version: 0.8.10
+;; Version: 0.8.11
 ;; Keywords: tools, convenience
 ;; Created: 2013-01-29
 ;; URL: https://github.com/leoliu/ggtags
@@ -36,13 +36,11 @@
 ;;
 ;; All commands are available from the `Ggtags' menu in `ggtags-mode'.
 
-;;; NEWS 0.8.10 (2015-06-12):
+;;; NEWS 0.8.11 (2015-12-15):
 
-;; - Tags update on save is configurable by `ggtags-update-on-save'.
-;; - New command `ggtags-explain-tags' to explain how each file is
-;;   indexed in current project.
-;; - New user option `ggtags-sort-by-nearness' that sorts matched tags
-;;   by nearness to current directory.
+;; - `ggtags-highlight-tag-delay' is renamed to `ggtags-highlight-tag'
+;; - Tag highlighting can be disabled by setting
+;;   `ggtags-highlight-tag' to nil.
 ;;
 ;; See full NEWS on https://github.com/leoliu/ggtags#news
 
@@ -331,13 +329,17 @@ Nil means using the value of `completing-read-function'."
  function)
   :group 'ggtags)
 
-(defcustom ggtags-highlight-tag-delay 0.25
-  "Time in seconds before highlighting tag at point."
+(define-obsolete-variable-alias 'ggtags-highlight-tag-delay 
'ggtags-highlight-tag
+  "0.8.11")
+
+(defcustom ggtags-highlight-tag 0.25
+  "If non-nil time in seconds before highlighting tag at point.
+Set to `nil' to disable tag highlighting."
   :set (lambda (sym value)
- (when (bound-and-true-p ggtags-highlight-tag-timer)
-   (timer-set-idle-time ggtags-highlight-tag-timer value t))
+ (when (fboundp 'ggtags-setup-highlight-tag-at-point)
+   (ggtags-setup-highlight-tag-at-point value))
  (set-default sym value))
-  :type 'number
+  :type '(choice (const :tag "Disable" nil) number)
   :group 'ggtags)
 
 (defcustom ggtags-bounds-of-tag-function (lambda ()
@@ -647,7 +649,7 @@ When called with a prefix \\[universal-argument], choose 
from past projects."
   (ggtags-ensure-localname
(directory-file-name 
(ggtags-current-project-root)
 (process-environment
- (append (let ((process-environment process-environment))
+ (append (let ((process-environment (copy-sequence 
process-environment)))
  

[elpa] master 0cc4a4a 10/14: Update MELPA URL

2015-12-14 Thread Leo Liu
branch: master
commit 0cc4a4a56a4604151916c62a854b661b14876164
Author: Syohei YOSHIDA 
Commit: Syohei YOSHIDA 

Update MELPA URL
---
 README.rst |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/README.rst b/README.rst
index 13b4140..fb7de91 100644
--- a/README.rst
+++ b/README.rst
@@ -4,7 +4,7 @@
 
 This package is part of `GNU ELPA `_ (``M-x
 list-packages``) and is also available on `MELPA
-`_.
+`_.
 
 The goal is to make working with GNU Global in Emacs as effortlessly
 and intuitively as possible and to integrate tightly with standard



[elpa] master abeb3ef 02/14: `process-environment` must be copied

2015-12-14 Thread Leo Liu
branch: master
commit abeb3ef5e8f7262d9459a0e67d61851909a325d9
Author: egarrulo 
Commit: egarrulo 

`process-environment` must be copied

`process-environment` must be copied to have a temporary binding, otherwise 
you will be modifying the original list.  Or maybe `lexical-binding` changes 
this?
---
 ggtags.el |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ggtags.el b/ggtags.el
index 52b96cf..2920dc6 100644
--- a/ggtags.el
+++ b/ggtags.el
@@ -647,7 +647,7 @@ When called with a prefix \\[universal-argument], choose 
from past projects."
   (ggtags-ensure-localname
(directory-file-name 
(ggtags-current-project-root)
 (process-environment
- (append (let ((process-environment process-environment))
+ (append (let ((process-environment (copy-sequence 
process-environment)))
(and ,gtagsroot (setenv "GTAGSROOT" ,gtagsroot))
(mapcar #'substitute-env-vars 
ggtags-process-environment))
  process-environment
@@ -703,7 +703,7 @@ If file gtags.files exists in ROOT, it should be a list of 
source
 files to index, which can be used to speed gtags up in large
 source trees. See Info node `(global)gtags' for details."
   (interactive "DRoot directory: ")
-  (let ((process-environment process-environment))
+  (let ((process-environment (copy-sequence process-environment)))
 (when (zerop (length root)) (error "No root directory provided"))
 (setenv "GTAGSROOT" (ggtags-ensure-localname
  (expand-file-name



[elpa] master f155c3c 06/14: Avoid the jit-lock-mode to kick in when fontify code

2015-12-14 Thread Leo Liu
branch: master
commit f155c3ca8e509547ba71b4a7f931216f7a3dac8d
Author: Kan-Ru Chen 
Commit: Kan-Ru Chen 

Avoid the jit-lock-mode to kick in when fontify code

To prevent jit-lock args-out-of-range error when (erase-buffer) later
---
 ggtags.el |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ggtags.el b/ggtags.el
index 7d53b86..b628763 100644
--- a/ggtags.el
+++ b/ggtags.el
@@ -2027,6 +2027,7 @@ When finished invoke CALLBACK in BUFFER with process exit 
status."
 (delay-mode-hooks (funcall mode))
 (setq font-lock-mode t)
 (funcall font-lock-function font-lock-mode)
+(setq jit-lock-mode nil)
 (current-buffer
   (with-current-buffer (prepare-buffer)
 (let ((inhibit-read-only t))



[elpa] master d30ae7d 08/14: For #116: Provide a way to disable highlighting tag at point

2015-12-14 Thread Leo Liu
branch: master
commit d30ae7d1384f84f93b7eb605634b6ec701bd433f
Author: Leo Liu 
Commit: Leo Liu 

For #116: Provide a way to disable highlighting tag at point
---
 README.rst |   10 ++
 ggtags.el  |   39 +++
 2 files changed, 37 insertions(+), 12 deletions(-)

diff --git a/README.rst b/README.rst
index 34c51aa..13b4140 100644
--- a/README.rst
+++ b/README.rst
@@ -313,6 +313,16 @@ Integration with other packages
 NEWS
 
 
+(devel) 0.8.11
+++
+
+#. ``ggtags-highlight-tag-delay`` is renamed to
+   ``ggtags-highlight-tag``.
+#. Tag highlighting can be disabled by setting
+   ``ggtags-highlight-tag`` to nil.
+
+ggtags-highlight-tag
+
 [2015-06-12 Fri] 0.8.10
 +++
 
diff --git a/ggtags.el b/ggtags.el
index b628763..d991ba4 100644
--- a/ggtags.el
+++ b/ggtags.el
@@ -331,13 +331,17 @@ Nil means using the value of `completing-read-function'."
  function)
   :group 'ggtags)
 
-(defcustom ggtags-highlight-tag-delay 0.25
-  "Time in seconds before highlighting tag at point."
+(define-obsolete-variable-alias 'ggtags-highlight-tag-delay 
'ggtags-highlight-tag
+  "0.8.11")
+
+(defcustom ggtags-highlight-tag 0.25
+  "If non-nil time in seconds before highlighting tag at point.
+Set to `nil' to disable tag highlighting."
   :set (lambda (sym value)
- (when (bound-and-true-p ggtags-highlight-tag-timer)
-   (timer-set-idle-time ggtags-highlight-tag-timer value t))
+ (when (fboundp 'ggtags-setup-highlight-tag-at-point)
+   (ggtags-setup-highlight-tag-at-point value))
  (set-default sym value))
-  :type 'number
+  :type '(choice (const :tag "Disable" nil) number)
   :group 'ggtags)
 
 (defcustom ggtags-bounds-of-tag-function (lambda ()
@@ -2204,10 +2208,7 @@ to nil disables displaying this information.")
 ;;;###autoload
 (define-minor-mode ggtags-mode nil
   :lighter (:eval (if ggtags-navigation-mode "" " GG"))
-  (unless (timerp ggtags-highlight-tag-timer)
-(setq ggtags-highlight-tag-timer
-  (run-with-idle-timer
-   ggtags-highlight-tag-delay t #'ggtags-highlight-tag-at-point)))
+  (ggtags-setup-highlight-tag-at-point ggtags-highlight-tag)
   (if ggtags-mode
   (progn
 (add-hook 'after-save-hook 'ggtags-after-save-function nil t)
@@ -2230,9 +2231,7 @@ to nil disables displaying this information.")
 (remove-function (local 'eldoc-documentation-function) 
'ggtags-eldoc-function)
 (setq mode-line-buffer-identification
   (delq 'ggtags-mode-line-project-name 
mode-line-buffer-identification))
-(and (overlayp ggtags-highlight-tag-overlay)
- (delete-overlay ggtags-highlight-tag-overlay))
-(setq ggtags-highlight-tag-overlay nil)))
+(ggtags-cancel-highlight-tag-at-point 'keep-timer)))
 
 (defvar ggtags-highlight-tag-map
   (let ((map (make-sparse-keymap)))
@@ -2252,6 +2251,22 @@ to nil disables displaying this information.")
 (put 'ggtags-active-tag 'help-echo
  "S-mouse-1 for definitions\nS-mouse-3 for references")
 
+(defun ggtags-setup-highlight-tag-at-point (flag)
+  (cond ((null flag) (ggtags-cancel-highlight-tag-at-point))
+((not (timerp ggtags-highlight-tag-timer))
+ (setq ggtags-highlight-tag-timer
+   (run-with-idle-timer flag t #'ggtags-highlight-tag-at-point)))
+(t (timer-set-idle-time ggtags-highlight-tag-timer flag t
+
+(defun ggtags-cancel-highlight-tag-at-point (&optional keep-timer)
+  (when (and (not keep-timer)
+ (timerp ggtags-highlight-tag-timer))
+(cancel-timer ggtags-highlight-tag-timer)
+(setq ggtags-highlight-tag-timer nil))
+  (when ggtags-highlight-tag-overlay
+(delete-overlay ggtags-highlight-tag-overlay)
+(setq ggtags-highlight-tag-overlay nil)))
+
 (defun ggtags-highlight-tag-at-point ()
   (when (and ggtags-mode ggtags-project-root (ggtags-find-project))
 (unless (overlayp ggtags-highlight-tag-overlay)



[elpa] master 5eeb0a1 04/14: Correctly set ggtags-global-start-marker

2015-12-14 Thread Leo Liu
branch: master
commit 5eeb0a120601964a347af827e4e4d3c0170ba94e
Author: Leo Liu 
Commit: Leo Liu 

Correctly set ggtags-global-start-marker
---
 ggtags.el |3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ggtags.el b/ggtags.el
index 2920dc6..09e3e63 100644
--- a/ggtags.el
+++ b/ggtags.el
@@ -929,7 +929,8 @@ blocking emacs."
   (let* ((default-directory (or directory (ggtags-current-project-root)))
  (split-window-preferred-function ggtags-split-window-function)
  (env ggtags-process-environment))
-(unless (markerp ggtags-global-start-marker)
+(unless (and (markerp ggtags-global-start-marker)
+ (marker-position ggtags-global-start-marker))
   (setq ggtags-global-start-marker (point-marker)))
 ;; Record the file name for `ggtags-navigation-start-file'.
 (setq ggtags-global-start-file buffer-file-name)



[elpa] master updated (979b09b -> 77d6482)

2015-12-14 Thread Leo Liu
leoliu pushed a change to branch master.

  from  979b09b   /transcribe/transcribe.el: Add some functions, fix bugs
   new  6153f5e   GNU Global 6.5 has renamed plugin-factory/README
   new  abeb3ef   `process-environment` must be copied
   new  7937129   Merge pull request #107 from egarrulo/patch-1
   new  5eeb0a1   Correctly set ggtags-global-start-marker
   new  2b8d33f   Handle invalid history match in ggtags-global-filter
   new  f155c3c   Avoid the jit-lock-mode to kick in when fontify code
   new  ad3ae8d   Merge pull request #111 from kanru/patch-1
   new  d30ae7d   For #116: Provide a way to disable highlighting tag at 
point
   new  ec3c6bb   Correct misspellings
   new  7e2a915   Merge pull request #117 from syohex/typo
   new  0cc4a4a   Update MELPA URL
   new  d2a8892   Merge pull request #118 from syohex/update-url
   new  d4fb6d4   Doc fix
   new  77d6482   Merge branch 'master' of github.com:leoliu/ggtags


Summary of changes:
 packages/ggtags/README.rst |   23 
 packages/ggtags/ggtags.el  |   83 +++-
 2 files changed, 67 insertions(+), 39 deletions(-)



[elpa] master 2b8d33f 05/14: Handle invalid history match in ggtags-global-filter

2015-12-14 Thread Leo Liu
branch: master
commit 2b8d33f3284c4af2011a9d30799cdb6be8fcf4f5
Author: Leo Liu 
Commit: Leo Liu 

Handle invalid history match in ggtags-global-filter

by jumping to first error instead.

For example when a history match is set on the second match of all
matches and the search later turns up only single match, ggtags will
fail to jump to match. To make things worse ggtags-global-handle-exit
will kill the *ggtags-global* buffer leaving users with no opportunity
to move to a valid match.
---
 ggtags.el |   26 +++---
 1 files changed, 15 insertions(+), 11 deletions(-)

diff --git a/ggtags.el b/ggtags.el
index 09e3e63..7d53b86 100644
--- a/ggtags.el
+++ b/ggtags.el
@@ -3,7 +3,7 @@
 ;; Copyright (C) 2013-2015  Free Software Foundation, Inc.
 
 ;; Author: Leo Liu 
-;; Version: 0.8.10
+;; Version: 0.8.11
 ;; Keywords: tools, convenience
 ;; Created: 2013-01-29
 ;; URL: https://github.com/leoliu/ggtags
@@ -1623,19 +1623,23 @@ commands `next-error' and `previous-error'.
 ggtags-auto-jump-to-match-target))
 (ggtags-forward-to-line ggtags-auto-jump-to-match-target)
 (setq-local ggtags-auto-jump-to-match-target nil)
-;;
-;; Can't call `compile-goto-error' here becuase
+(ggtags-delay-finish-functions
+  (with-display-buffer-no-window
+(condition-case nil
+(let ((compilation-auto-jump-to-first-error t))
+  (compilation-auto-jump (current-buffer) (point)))
+  (error (message "\
+ggtags: history match invalid, jump to first error instead")
+ (first-error)
 ;; `compilation-filter' restores point and as a result commands
 ;; dependent on point such as `ggtags-navigation-next-file' and
 ;; `ggtags-navigation-previous-file' fail to work.
-(run-with-idle-timer 0 nil (lambda (buf pt)
- (and (buffer-live-p buf)
-  (with-current-buffer buf
-(ggtags-delay-finish-functions
-  (let 
((compilation-auto-jump-to-first-error t))
-(with-display-buffer-no-window
-  (compilation-auto-jump buf 
pt)))
- (current-buffer) (point)))
+(run-with-idle-timer
+ 0 nil
+ (lambda (buf pt)
+   (and (buffer-live-p buf)
+(with-current-buffer buf (goto-char pt
+ (current-buffer) (point)))
   (make-local-variable 'ggtags-global-large-output)
   (when (> ggtags-global-output-lines ggtags-global-large-output)
 (cl-incf ggtags-global-large-output 500)



[elpa] master ad3ae8d 07/14: Merge pull request #111 from kanru/patch-1

2015-12-14 Thread Leo Liu
branch: master
commit ad3ae8d65e3669a113717f2aaeb69e1322eabcbd
Merge: 2b8d33f f155c3c
Author: Leo Liu 
Commit: Leo Liu 

Merge pull request #111 from kanru/patch-1

Avoid the jit-lock-mode to kick in when fontify code
---
 ggtags.el |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ggtags.el b/ggtags.el
index 7d53b86..b628763 100644
--- a/ggtags.el
+++ b/ggtags.el
@@ -2027,6 +2027,7 @@ When finished invoke CALLBACK in BUFFER with process exit 
status."
 (delay-mode-hooks (funcall mode))
 (setq font-lock-mode t)
 (funcall font-lock-function font-lock-mode)
+(setq jit-lock-mode nil)
 (current-buffer
   (with-current-buffer (prepare-buffer)
 (let ((inhibit-read-only t))



[elpa] master d2a8892 12/14: Merge pull request #118 from syohex/update-url

2015-12-14 Thread Leo Liu
branch: master
commit d2a88922591c2c0dc047e2aad9dc86364507c4da
Merge: 7e2a915 0cc4a4a
Author: Leo Liu 
Commit: Leo Liu 

Merge pull request #118 from syohex/update-url

Update MELPA URL
---
 README.rst |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/README.rst b/README.rst
index 571d193..e8e90d5 100644
--- a/README.rst
+++ b/README.rst
@@ -4,7 +4,7 @@
 
 This package is part of `GNU ELPA `_ (``M-x
 list-packages``) and is also available on `MELPA
-`_.
+`_.
 
 The goal is to make working with GNU Global in Emacs as effortlessly
 and intuitively as possible and to integrate tightly with standard



[elpa] master d4fb6d4 13/14: Doc fix

2015-12-14 Thread Leo Liu
branch: master
commit d4fb6d40b71cad3fd5a2141b8456f27e2b2dc731
Author: Leo Liu 
Commit: Leo Liu 

Doc fix
---
 README.rst |6 ++
 ggtags.el  |   12 +---
 2 files changed, 7 insertions(+), 11 deletions(-)

diff --git a/README.rst b/README.rst
index e8e90d5..eda0427 100644
--- a/README.rst
+++ b/README.rst
@@ -313,16 +313,14 @@ Integration with other packages
 NEWS
 
 
-(devel) 0.8.11
-++
+[2015-12-15 Tue] 0.8.11

 
 #. ``ggtags-highlight-tag-delay`` is renamed to
``ggtags-highlight-tag``.
 #. Tag highlighting can be disabled by setting
``ggtags-highlight-tag`` to nil.
 
-ggtags-highlight-tag
-
 [2015-06-12 Fri] 0.8.10
 +++
 
diff --git a/ggtags.el b/ggtags.el
index d991ba4..08fb4c8 100644
--- a/ggtags.el
+++ b/ggtags.el
@@ -36,13 +36,11 @@
 ;;
 ;; All commands are available from the `Ggtags' menu in `ggtags-mode'.
 
-;;; NEWS 0.8.10 (2015-06-12):
+;;; NEWS 0.8.11 (2015-12-15):
 
-;; - Tags update on save is configurable by `ggtags-update-on-save'.
-;; - New command `ggtags-explain-tags' to explain how each file is
-;;   indexed in current project.
-;; - New user option `ggtags-sort-by-nearness' that sorts matched tags
-;;   by nearness to current directory.
+;; - `ggtags-highlight-tag-delay' is renamed to `ggtags-highlight-tag'
+;; - Tag highlighting can be disabled by setting
+;;   `ggtags-highlight-tag' to nil.
 ;;
 ;; See full NEWS on https://github.com/leoliu/ggtags#news
 
@@ -1633,7 +1631,7 @@ commands `next-error' and `previous-error'.
 (let ((compilation-auto-jump-to-first-error t))
   (compilation-auto-jump (current-buffer) (point)))
   (error (message "\
-ggtags: history match invalid, jump to first error instead")
+ggtags: history match invalid, jump to first match instead")
  (first-error)
 ;; `compilation-filter' restores point and as a result commands
 ;; dependent on point such as `ggtags-navigation-next-file' and



[elpa] master 7e2a915 11/14: Merge pull request #117 from syohex/typo

2015-12-14 Thread Leo Liu
branch: master
commit 7e2a9159d98ca921244486fabcc596fa263681db
Merge: d30ae7d ec3c6bb
Author: Leo Liu 
Commit: Leo Liu 

Merge pull request #117 from syohex/typo

Correct misspellings
---
 README.rst |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.rst b/README.rst
index 13b4140..571d193 100644
--- a/README.rst
+++ b/README.rst
@@ -223,7 +223,7 @@ turned on to facilitate locating the right match.
 Miscellaneous commands
 ++
 
-Commands are avaiable from the ``Ggtags`` menu in ``ggtags-mode``.
+Commands are available from the ``Ggtags`` menu in ``ggtags-mode``.
 
 ggtags-prev-mark
 
@@ -272,7 +272,7 @@ ggtags-explain-tags
 ggtags-browse-file-as-hypertext
 
Use ``htags`` to generate HTML of the source tree. This allows
-   browsing the porject in a browser with cross-references.
+   browsing the project in a browser with cross-references.
 
 Integration with other packages
 +++



[elpa] master ec3c6bb 09/14: Correct misspellings

2015-12-14 Thread Leo Liu
branch: master
commit ec3c6bb2ec6886cb48d51569df1f66dac72409e6
Author: Syohei YOSHIDA 
Commit: Syohei YOSHIDA 

Correct misspellings
---
 README.rst |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.rst b/README.rst
index 13b4140..571d193 100644
--- a/README.rst
+++ b/README.rst
@@ -223,7 +223,7 @@ turned on to facilitate locating the right match.
 Miscellaneous commands
 ++
 
-Commands are avaiable from the ``Ggtags`` menu in ``ggtags-mode``.
+Commands are available from the ``Ggtags`` menu in ``ggtags-mode``.
 
 ggtags-prev-mark
 
@@ -272,7 +272,7 @@ ggtags-explain-tags
 ggtags-browse-file-as-hypertext
 
Use ``htags`` to generate HTML of the source tree. This allows
-   browsing the porject in a browser with cross-references.
+   browsing the project in a browser with cross-references.
 
 Integration with other packages
 +++



[elpa] master 6153f5e 01/14: GNU Global 6.5 has renamed plugin-factory/README

2015-12-14 Thread Leo Liu
branch: master
commit 6153f5e98662fe0e939014da68bc308c4a7c41aa
Author: egarrulo 
Commit: Leo Liu 

GNU Global 6.5 has renamed plugin-factory/README
---
 README.rst |9 +
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/README.rst b/README.rst
index 08640b4..34c51aa 100644
--- a/README.rst
+++ b/README.rst
@@ -61,10 +61,11 @@ Install Global and plugins
  ./configure --prefix= --with-exuberant-ctags=/usr/local/bin/ctags
  make && make install
 
-   The executable ``ctags`` is unfortunately named because ``emacs`` also
-   includes a command of the same name. So make sure it is from
-   http://ctags.sourceforge.net. See ``plugin-factory/README`` in GNU
-   Global source for further information.
+   The executable ``ctags`` is unfortunately named because ``emacs``
+   also includes a command of the same name. So make sure it is from
+   http://ctags.sourceforge.net. See ``plugin-factory/PLUGIN_HOWTO``
+   (``plugin-factory/README`` for Global < 6.5) in GNU Global
+   source for further information.
 
 2. Install ``pygments`` plugin
 



[elpa] master 7937129 03/14: Merge pull request #107 from egarrulo/patch-1

2015-12-14 Thread Leo Liu
branch: master
commit 793712920ffebe92b81e55a47923ef1286b47082
Merge: 6153f5e abeb3ef
Author: Leo Liu 
Commit: Leo Liu 

Merge pull request #107 from egarrulo/patch-1

Copy `process-environment'
---
 ggtags.el |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ggtags.el b/ggtags.el
index 52b96cf..2920dc6 100644
--- a/ggtags.el
+++ b/ggtags.el
@@ -647,7 +647,7 @@ When called with a prefix \\[universal-argument], choose 
from past projects."
   (ggtags-ensure-localname
(directory-file-name 
(ggtags-current-project-root)
 (process-environment
- (append (let ((process-environment process-environment))
+ (append (let ((process-environment (copy-sequence 
process-environment)))
(and ,gtagsroot (setenv "GTAGSROOT" ,gtagsroot))
(mapcar #'substitute-env-vars 
ggtags-process-environment))
  process-environment
@@ -703,7 +703,7 @@ If file gtags.files exists in ROOT, it should be a list of 
source
 files to index, which can be used to speed gtags up in large
 source trees. See Info node `(global)gtags' for details."
   (interactive "DRoot directory: ")
-  (let ((process-environment process-environment))
+  (let ((process-environment (copy-sequence process-environment)))
 (when (zerop (length root)) (error "No root directory provided"))
 (setenv "GTAGSROOT" (ggtags-ensure-localname
  (expand-file-name