]>
code.delx.au - gnu-emacs-elpa/log
Leo Liu [Wed, 21 May 2014 10:37:13 +0000 (18:37 +0800)]
Fix #59: detect missing tag files and remove project cache
Leo Liu [Fri, 16 May 2014 04:03:45 +0000 (12:03 +0800)]
New command ggtags-find-definition for #57
Leo Liu [Thu, 15 May 2014 03:16:07 +0000 (11:16 +0800)]
Fix #56: Restore variable ggtags-completing-read-function
Leo Liu [Fri, 9 May 2014 08:02:17 +0000 (16:02 +0800)]
Update doc strings and comments
Leo Liu [Wed, 7 May 2014 02:35:58 +0000 (10:35 +0800)]
Fix #54: New command ggtags-find-tag-mouse
Leo Liu [Tue, 6 May 2014 01:53:17 +0000 (09:53 +0800)]
For #52: new var ggtags-global-search-libpath-for-reference
Update NEWS for 0.8.4.
Leo Liu [Thu, 24 Apr 2014 02:58:02 +0000 (10:58 +0800)]
Doc and indentation fix
Fix indentation for cl-labels and ggtags-with-current-project.
Fix FORMAT arg to with-demoted-errors.
Leo Liu [Sat, 19 Apr 2014 12:23:23 +0000 (20:23 +0800)]
Fix #52: Search references and symbols in GTAGSLIBPATH
Leo Liu [Sat, 19 Apr 2014 03:00:30 +0000 (11:00 +0800)]
For #34 and #48: Always update tags for current file on save
Remove variable ggtags-global-always-update.
Leo Liu [Tue, 15 Apr 2014 03:45:18 +0000 (11:45 +0800)]
Remove redundant function ggtags-navigation-first-error
Leo Liu [Mon, 14 Apr 2014 14:57:28 +0000 (22:57 +0800)]
Fix #48: Enhance ggtags-find-tag-dwim to handle new files
New functions ggtags-project-relative-file, ggtags-project-file-p and
ggtags-update-tags-single.
Leo Liu [Sat, 12 Apr 2014 08:04:59 +0000 (16:04 +0800)]
Doc and comment fix
Leo Liu [Wed, 9 Apr 2014 05:26:43 +0000 (13:26 +0800)]
Refactor and show type of match in mode-line
Leo Liu [Sun, 6 Apr 2014 02:10:22 +0000 (10:10 +0800)]
Rename ggtags-delete-tag-files to ggtags-delete-tags
Leo Liu [Sun, 6 Apr 2014 01:47:36 +0000 (09:47 +0800)]
Fix warning "making variable buffer local while let-bound!"
for ggtags-global-output-format.
Leo Liu [Sat, 5 Apr 2014 00:43:49 +0000 (08:43 +0800)]
Doc fixes and add NEWS for 0.8.2
Leo Liu [Fri, 4 Apr 2014 05:02:13 +0000 (13:02 +0800)]
Properly fix the bug by delaying compilation finish functions
Function compilation-auto-jump may trigger running process sentinels
and thus ggtags-global-handle-exit causing itself to fail. This
happens fairly often on remote hosts via tramp due to
accept-process-output.
Leo Liu [Fri, 4 Apr 2014 03:58:23 +0000 (11:58 +0800)]
Revert "Don't reply on excution order of filter and sentinel functions"
This reverts commit
03345fb9a25bc2cf09bebc2b96bd867d1c979cc2 .
The commit appears to fix the bug because the idle timer does not run
in the *ggtags-global* buffer.
Leo Liu [Thu, 3 Apr 2014 08:06:56 +0000 (16:06 +0800)]
Don't reply on excution order of filter and sentinel functions
There is no guarantee ggtags-global-handle-exit will be called after
ggtags-global-filter. So don't rely on this.
For example compile-goto-error on remote file (via tramp) might call
accept-process-output which allows process sentinel functions to run
per (info "(elisp)Sentinels").
Leo Liu [Thu, 3 Apr 2014 02:33:01 +0000 (10:33 +0800)]
New macro ggtags-with-temp-message that reports execution time
Leo Liu [Thu, 3 Apr 2014 02:17:42 +0000 (10:17 +0800)]
Make ggtags-use-project-gtagsconf work on remote projects
by using --gtagsconf instead of setenv'ing GTAGSCONF which does not
work on remote projects via tramp.
Leo Liu [Thu, 3 Apr 2014 02:12:17 +0000 (10:12 +0800)]
Revert "Fix ggtags-with-current-project to include GTAGSCONF"
This reverts commit
e7c5371028912e07c37de2bf1c80c88bf51a1fea .
Leo Liu [Thu, 3 Apr 2014 00:24:50 +0000 (08:24 +0800)]
Make ggtags-eldoc-function work better when no project root
Make M-. on #include line also triggers indexing project if not
already.
Leo Liu [Wed, 2 Apr 2014 03:10:10 +0000 (11:10 +0800)]
Fix multiple calls of ggtags-show-definition
and misuse of pcase equality in ggtags-eldoc-function.
Fix ggtags-global-output to notice the problem of running multiple
processes.
Leo Liu [Wed, 2 Apr 2014 01:02:28 +0000 (09:02 +0800)]
Don't activate eldoc support by default
since it is difficult to enable it without overriding users' settings
for emacs <= 24.3.
Leo Liu [Wed, 2 Apr 2014 00:44:44 +0000 (08:44 +0800)]
Refactor out ggtags-include-file from ggtags-find-tag-dwim
Do not move point to the beginning of line if ggtags-include-pattern
is a function otherwise it cannot access the value of point.
Leo Liu [Wed, 2 Apr 2014 00:41:12 +0000 (08:41 +0800)]
Fix error in approximation to (line-number-at-pos (point-max))
ggtags-global-output-lines >= (line-number-at-pos (point-max)) is not
always true.
Leo Liu [Tue, 1 Apr 2014 08:39:14 +0000 (16:39 +0800)]
New function ggtags-eldoc-function for eldoc support
Refactor ggtags-show-definition for re-use by replacing
ggtags-show-definition-function with ggtags-get-definition-function
and ggtags-print-definition-function.
Leo Liu [Tue, 1 Apr 2014 02:26:41 +0000 (10:26 +0800)]
Add NEWS to README.rst for 0.8.0 and 0.8.1
Leo Liu [Mon, 31 Mar 2014 23:56:17 +0000 (07:56 +0800)]
Fix #45: Change default value of ggtags-auto-jump-to-match
Fix ggtags-global-filter not to show the point-max of *ggtags-global*
buffer or users will see the scrolling text.
Do not auto jump to history if users have manually jumped to an error
i.e. compilation-current-error is non-nil.
Leo Liu [Mon, 31 Mar 2014 23:35:16 +0000 (07:35 +0800)]
New function ggtags-echo and use it
Leo Liu [Mon, 31 Mar 2014 09:56:53 +0000 (17:56 +0800)]
For #45: Fix popping up/down window for search with single match
- New with-display-buffer-no-window and use it.
- Improve calculation of ggtags-global-output-lines and use it to
avoid (line-number-at-pos (point-max)) all the time.
- Make ggtags-global-handle-exit display buffer for multiple matches.
Leo Liu [Sun, 30 Mar 2014 03:46:34 +0000 (11:46 +0800)]
Fix #44: New variable ggtags-enable-navigation-keys
to control ggtags-navigation-map. Using ggtags-navigation-mode is
unsafe because it is used more than controlling ggtags-navigation-map.
Affect #40: ggtags-suppress-navigation-keys is removed; use
ggtags-enable-navigation-keys instead.
Leo Liu [Sat, 29 Mar 2014 14:46:27 +0000 (22:46 +0800)]
Fix ggtags-navigation-mode-abort when pop-tag-mark errs
Leo Liu [Sat, 29 Mar 2014 13:44:42 +0000 (21:44 +0800)]
Rename ggtags-handle-single-match to ggtags-global-handle-exit
Leo Liu [Sat, 29 Mar 2014 02:54:56 +0000 (10:54 +0800)]
Disable ggtags-navigation-mode at the right time
Otherwise the *ggtags-global* buffer is not displayed until
compilation finishes.
Leo Liu [Fri, 28 Mar 2014 13:50:06 +0000 (21:50 +0800)]
Use compilation-auto-jump in ggtags-global-filter
to correctly set point in that window.
Leo Liu [Fri, 28 Mar 2014 11:03:44 +0000 (19:03 +0800)]
Fix warning: Making variable buffer-local while let-bound!
for ggtags-auto-jump-to-match-target.
Disable ggtags-navigation-mode in ggtags-global-mode.
Leo Liu [Fri, 28 Mar 2014 10:22:54 +0000 (18:22 +0800)]
Implement feature #43: Jump to match from search history
Rename ggtags-auto-jump-to-first-match to ggtags-auto-jump-to-match
accordingly.
Leo Liu [Fri, 28 Mar 2014 01:52:53 +0000 (09:52 +0800)]
New user variable ggtags-global-use-color
Leo Liu [Thu, 27 Mar 2014 09:11:14 +0000 (17:11 +0800)]
Fix #42: Clear ggtags-project-root in non-file buffers
Leo Liu [Wed, 26 Mar 2014 23:46:13 +0000 (07:46 +0800)]
Fix ggtags-try-complete-tag to use ggtags-bounds-of-tag-function
Leo Liu [Wed, 26 Mar 2014 08:10:47 +0000 (16:10 +0800)]
Change ggtags-read-tag to completing-read when no default
Shell-quote NAME to ggtags-find-tag-dwim, ggtags-find-reference and
ggtags-find-other-symbol.
Leo Liu [Wed, 26 Mar 2014 06:33:13 +0000 (14:33 +0800)]
Fix #12: Remove ggtags-completing-read-function
Not needed and may get in the way.
Fix typos.
Leo Liu [Tue, 25 Mar 2014 08:52:22 +0000 (16:52 +0800)]
Enhance ggtags-view-tag-history to use next-/previous-error
- New major mode ggtags-view-tag-history-mode derived from
tabulated-list-mode with custom key bindings.
- Update README.rst.
Leo Liu [Mon, 24 Mar 2014 08:38:04 +0000 (16:38 +0800)]
Rename try-complete-ggtags-tag to ggtags-try-complete-tag
Update README.rst.
Leo Liu [Sun, 23 Mar 2014 10:27:11 +0000 (18:27 +0800)]
Doc fix: Update README.rst and doc-strings
Leo Liu [Sat, 22 Mar 2014 10:19:59 +0000 (18:19 +0800)]
Fix #40: New user variable ggtags-supress-navigation-keys
Leo Liu [Sat, 22 Mar 2014 08:48:21 +0000 (16:48 +0800)]
Support search bookmarks as requested in #39
New variable ggtags-global-history-length.
Leo Liu [Fri, 21 Mar 2014 10:11:06 +0000 (18:11 +0800)]
Disable ggtags-navigation-mode in ggtags-global-rerun-search
Leo Liu [Fri, 21 Mar 2014 04:57:26 +0000 (12:57 +0800)]
Bind ggtags-save-to-register in ggtags-global-rerun-search-map
Leo Liu [Fri, 21 Mar 2014 04:48:31 +0000 (12:48 +0800)]
Also record ggtags-process-environment in search history
Leo Liu [Fri, 21 Mar 2014 02:57:19 +0000 (10:57 +0800)]
Polish last change
- Replace 'restore' with 'rerun' which seems clearer.
- Remember last position in ggtags-global-rerun-search and kill the
search buffer on quit or done.
- Make sure ggtags-global-search-history is ordered by access time.
Leo Liu [Thu, 20 Mar 2014 13:45:30 +0000 (21:45 +0800)]
New feature ggtags-global-restore-search for #37
Leo Liu [Thu, 20 Mar 2014 04:29:52 +0000 (12:29 +0800)]
New helper ggtags-forward-to-line and use it
Simplify ggtags-list-of-string-p with cl-every.
Leo Liu [Thu, 20 Mar 2014 03:04:20 +0000 (11:04 +0800)]
Cosmetic change: Fix indentation
Leo Liu [Thu, 20 Mar 2014 03:03:03 +0000 (11:03 +0800)]
New macro ignore-errors-unless-debug and use it
Leo Liu [Thu, 20 Mar 2014 00:58:52 +0000 (08:58 +0800)]
Fix ggtags-find-project to check on the GTAGS file
Note: this is to reduce false positives in case-insensitive file
systems.
Improve ggtags-include-pattern to strip leading ../ in path.
Leo Liu [Wed, 19 Mar 2014 02:18:35 +0000 (10:18 +0800)]
Fix thinko in "Don't display buffer if ggtags-navigation-mode is exited"
of commit
a4ba72b12124d125e49db217603c6542fbc98a5b .
Fix ggtags-handle-single-match not to display the window if
interrupted.
Leo Liu [Tue, 18 Mar 2014 07:21:31 +0000 (15:21 +0800)]
Simplify ggtags-save-to-register by always re-do the search
Fix error in ggtags-global--display-buffer.
Leo Liu [Tue, 18 Mar 2014 03:20:47 +0000 (11:20 +0800)]
New command ggtags-navigation-isearch-forward
Leo Liu [Tue, 18 Mar 2014 02:12:20 +0000 (10:12 +0800)]
Add new command ggtags-save-to-register for #37
Leo Liu [Mon, 17 Mar 2014 03:24:06 +0000 (11:24 +0800)]
Teach ggtags-find-tag-dwim to detect #include files
New user variable ggtags-include-pattern.
Leo Liu [Mon, 17 Mar 2014 02:36:23 +0000 (10:36 +0800)]
Use read-only-mode in ggtags-toggle-project-read-only
Leo Liu [Sat, 15 Mar 2014 07:08:17 +0000 (15:08 +0800)]
Fix #36: Allow customising path to global's exectuables
Leo Liu [Wed, 12 Mar 2014 09:48:43 +0000 (17:48 +0800)]
Fix ggtags-with-current-project to include GTAGSCONF
Leo Liu [Wed, 12 Mar 2014 02:13:53 +0000 (10:13 +0800)]
Fix ggtags-show-definition to run in current project
Leo Liu [Fri, 7 Mar 2014 11:42:10 +0000 (19:42 +0800)]
Small fixes to last change
Leo Liu [Fri, 7 Mar 2014 06:49:51 +0000 (14:49 +0800)]
Display project root directory name on mode-line
Leo Liu [Fri, 7 Mar 2014 03:22:12 +0000 (11:22 +0800)]
Require cl-lib and remove macro when-let
Leo Liu [Fri, 7 Mar 2014 03:21:20 +0000 (11:21 +0800)]
Fix compatibility for locate-dominating-file
Leo Liu [Thu, 6 Mar 2014 14:46:35 +0000 (22:46 +0800)]
Make last change acutally work
Leo Liu [Thu, 6 Mar 2014 10:49:55 +0000 (18:49 +0800)]
Automatically use GTAGSCONF file at project root
Leo Liu [Thu, 6 Mar 2014 03:47:02 +0000 (11:47 +0800)]
Replace ignore-errors with condition-case-unless-debug
Leo Liu [Wed, 5 Mar 2014 17:14:09 +0000 (01:14 +0800)]
Call ggtags-show-definition-function in the original buffer
Leo Liu [Wed, 5 Mar 2014 03:56:18 +0000 (11:56 +0800)]
Fix some errors in ggtags-global-output
Leo Liu [Wed, 5 Mar 2014 02:34:04 +0000 (10:34 +0800)]
Fix #34: New variable ggtags-global-always-update
Leo Liu [Tue, 4 Mar 2014 11:32:15 +0000 (19:32 +0800)]
Improve completion support for all tag types
Make ggtags-read-tag more flexible and remove ggtags-read-string which
is no longer used.
Leo Liu [Tue, 4 Mar 2014 01:13:48 +0000 (09:13 +0800)]
Combine ggtags-global-column and tag name search
Cannot rely on ggtags-global-column entirely because the source text
may or may not include the whole source line depending on plugin and
output format. See discussion
http://thread.gmane.org/gmane.comp.gnu.global.bugs/1675
Leo Liu [Mon, 3 Mar 2014 19:55:11 +0000 (03:55 +0800)]
Don't display buffer if ggtags-navigation-mode is exited
or we will undo the work of ggtags-navigation-mode-done.
Leo Liu [Mon, 3 Mar 2014 10:09:33 +0000 (18:09 +0800)]
Give ggtags-show-definition-function full information
of the definition candidates.
Leo Liu [Mon, 3 Mar 2014 06:27:41 +0000 (14:27 +0800)]
New command ggtags-show-definition
New function ggtags-global-output to handle global output.
Rename ggtags-global-next-error-hook to ggtags-find-tag-hook.
Leo Liu [Sat, 1 Mar 2014 09:53:31 +0000 (17:53 +0800)]
Doc fix
Leo Liu [Wed, 26 Feb 2014 16:23:31 +0000 (00:23 +0800)]
New customizable variable ggtags-mode-sticky
Leo Liu [Wed, 26 Feb 2014 04:04:53 +0000 (12:04 +0800)]
Use --color=always in ggtags-global-build-command
Required for windows and dos.
Leo Liu [Wed, 26 Feb 2014 02:20:07 +0000 (10:20 +0800)]
Trigger ggtags-update-tags based on visited file modtime
Leo Liu [Tue, 25 Feb 2014 08:11:09 +0000 (16:11 +0800)]
New hook ggtags-global-next-error-hook
Reduce ggtags-project-duration to 600.
Leo Liu [Tue, 25 Feb 2014 05:38:22 +0000 (13:38 +0800)]
Fix error: GTAGSCONF must be absolute path name
gtags complains if GTAGSCONF path contains ~, for example
~/projects/msc/.globalrc
Leo Liu [Mon, 24 Feb 2014 18:48:03 +0000 (02:48 +0800)]
Fix ggtags-highlight-tag-map to avoid 'undefined' error
for example <S-mouse-1> is undefined.
Leo Liu [Mon, 24 Feb 2014 15:40:56 +0000 (23:40 +0800)]
Make use of colored output to calulate column
and enable it for grep and ctags-x output formats.
The cscope output format doesn't include leading blank from the source
text so cannot calculate column without support from compile.
Leo Liu [Mon, 24 Feb 2014 10:09:49 +0000 (18:09 +0800)]
Avoid "--regexp" and use "--" instead
Extend ggtags-find-tag to support arbitrary arguments and callers
changed.
Leo Liu [Mon, 24 Feb 2014 10:02:02 +0000 (18:02 +0800)]
Don't let deleting text screw up compilation-filter-start
Leo Liu [Mon, 24 Feb 2014 06:38:30 +0000 (14:38 +0800)]
New command ggtags-visit-project-root using key C-c M-j
Initialise ggtags-project-root to 'unset so that
ggtags-highlight-tag-at-point is run automatically.
Remove all compiler warnings for emacs 24.1-trunk.
Leo Liu [Sun, 23 Feb 2014 13:00:38 +0000 (21:00 +0800)]
Be defensive in ggtags-find-project
Leo Liu [Sun, 23 Feb 2014 09:37:19 +0000 (17:37 +0800)]
Store 'global' options per project
to work better with remote hosts.
Mention support for tramp in README.rst.
Leo Liu [Sun, 23 Feb 2014 07:03:20 +0000 (15:03 +0800)]
Stricter search for GTAGS file in ggtags-find-project
to avoid being fooled by 'gtags' directory in case-insensitive file
systems.
Leo Liu [Sun, 23 Feb 2014 04:24:56 +0000 (12:24 +0800)]
Teach ggtags-create-tags to retry if mkid is missing
Leo Liu [Sat, 22 Feb 2014 03:25:27 +0000 (11:25 +0800)]
Fix #33: support running ggtags on remote hosts (via tramp)
Tighten file name checking in ggtags-delete-tag-files.
Mention `enable-remote-dir-locals' in ggtags-process-environment.
Leo Liu [Thu, 20 Feb 2014 09:16:39 +0000 (17:16 +0800)]
Make buffer cache project root directory instead
so that the project info is stored in one place, which is convenient
for update and destruction operations.
Leo Liu [Wed, 19 Feb 2014 10:15:07 +0000 (18:15 +0800)]
Fix #30: Remove M-o key binding in ggtags-global-mode