Subject: 24.5; Icy with Ggtags Problem

From: [email-masked] (B.V. Raghav)
Date: Thu, 14 Jul 2016 22:57:47 +0530

======================================================================
Start with a project having GTAGS table, and then starting with
`emacs -Q', navigate to the project :

1. Load the ggtags (in scratch buffer type the following, and `C-M-x'):
   (add-to-list 'load-path "~/.emacs.d/elpa/ggtags-20151214.1344")
   (require 'ggtags)

2. Navigate to a file in project, and `M-. <defin..> TAB RET' --- moves
   to <definition> in the corresponding file.

3. Close emacs `C-x C-c'

Restart `emacs -Q'

1. Load ggtags, and icicles, as in step 1 of prev attempt.

2. Navigate to a file in project, and `M-. <defin..> TAB RET' ---
   crashes with following error:

   Error running timer `compilation-auto-jump': (error "Selecting
   deleted buffer")

Can anyone reproduce this?

This has been there for a long time. May be related to
https://github.com/leoliu/ggtags/issues/89

There is a workaround suggested in the above link,

> Does it help if you change 0 in (ggtags-navigation-mode-cleanup buf 0)
> of ggtags-global-handle-exit to a greater value, for example, 0.25, 0.5,
> 1 etc?

but it did not work for me.

======================================================================

In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2016-04-08 on binet, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11803000
System Description:	Debian GNU/Linux testing (stretch)

Configured using:
 `configure --build x86_64-linux-gnu --prefix=/usr
 --sharedstatedir=/var/lib --libexecdir=/usr/lib
 --localstatedir=/var/lib --infodir=/usr/share/info
 --mandir=/usr/share/man --with-pop=yes
 --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp
 --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib
 --libexecdir=/usr/lib --localstatedir=/var/lib
 --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes
 --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp
 --with-x=yes --with-x-toolkit=lucid --with-toolkit-scroll-bars
 --without-gconf --without-gsettings 'CFLAGS=-g -O2
 -fstack-protector-strong -Wformat -Werror=format-security -Wall'
 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro'

Important settings:
  value of $LANG: en_IN
  locale-coding-system: iso-latin-1-unix

Major mode: Lisp Interaction

Minor modes in effect:
  yas-global-mode: t
  yas-minor-mode: t
  icicle-mode: t
  minibuffer-depth-indicate-mode: t
  shell-dirtrack-mode: t
  projectile-global-mode: t
  projectile-mode: t
  TeX-PDF-mode: t
  async-bytecomp-package-mode: t
  global-subword-mode: t
  subword-mode: t
  show-paren-mode: t
  electric-pair-mode: t
  display-time-mode: t
  global-reveal-mode: t
  reveal-mode: t
  global-linum-mode: t
  linum-mode: t
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
Wrote /home/bvr/.emacs.d/elpa/ggtags-20151214.1344/ggtags.el
Saving file /home/bvr/.emacs.d/elpa/ggtags-20151214.1344/ggtags.el...
Wrote /home/bvr/.emacs.d/elpa/ggtags-20151214.1344/ggtags.el
Undo! [13 times]
Redo! [2 times]
Undo! [2 times]
user-error: No further undo information [13 times]
Saving file /home/bvr/.emacs.d/elpa/ggtags-20151214.1344/ggtags.el...
Wrote /home/bvr/.emacs.d/elpa/ggtags-20151214.1344/ggtags.el
Computing completion candidates...

Load-path shadows:
/home/bvr/.emacs.d/elpa/helm-20160520.1124/helm-multi-match hides /home/bvr/.emacs.d/elpa/helm-core-20160519.2213/helm-multi-match
/usr/share/emacs24/site-lisp/cmake-data/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode
/usr/share/emacs/24.5/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup
/usr/share/emacs/site-lisp/rst hides /usr/share/emacs/24.5/lisp/textmodes/rst

Features:
(shadow sort bbdb-message org-table mail-extr emacsbug sendmail imenu
filecache tramp-cmds tramp-sh tramp-cache autorevert filenotify misearch
multi-isearch flyspell ispell org-indent org-rmail org-mhe org-irc
org-info org-gnus org-docview doc-view jka-compr image-mode org-bbdb
org-w3m skeleton vc-dispatcher vc-svn ggtags ewoc yasnippet cc-langs
face-remap xterm server smart-mode-line-powerline-theme powerline
powerline-separators color powerline-themes smart-mode-line mule-util
rich-minority dot-mode dabbrev icomplete+ icomplete icicles warnings
two-column icicles-mode dired+ image-file dired-aux mb-depth+ mb-depth
icicles-cmd2 icicles-cmd1 frame-cmds frame-fns avoid icicles-mcmd
image-dired doremi icicles-fn icicles-var apropos-fn+var apropos
icicles-opt ffap fuzzy-match cus-theme cus-edit cus-start cus-load
wid-edit bookmark+ bookmark+-key derived dired-x crosshairs
col-highlight vline hl-line+ bookmark+-1 bookmark+-bmu help-mode
bookmark+-lit pp+ bookmark hexrgb thingatpt+ icicles-face slime-repl
slime-parse slime etags arc-mode archive-mode pp hyperspec message-x
bbdb bbdb-site timezone ob-sqlite ob-gnuplot ob-dot ob-perl ob-python
ob-sh ob-R ess-toolbar ess-mouse mouseme ess-menu ess-swv ess-noweb
ess-noweb-font-lock-mode ess-bugs-l essd-els ess-sas-d ess-sas-l
ess-sas-a ess-sta-d ess-sta-l make-regexp ess-sp6-d ess-dde ess-sp3-d
ess-julia julia-mode ess-r-d ess-r-syntax ess-r-completion ess-roxy
essddr hideshow ess-help ess-r-package eldoc ess-s-l ess ess-inf
ess-tracebug tramp tramp-compat tramp-loaddefs trampver shell ess-mode
ess-noweb-mode ess-utils ess-generics ess-custom executable ess-compat
ess-site projectile grep ibuf-ext ibuffer thingatpt auctex-latexmk latex
tex-style tex-buf tex dbus crm multi-term cl term disp-table ehelp
cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine
cc-vars cc-defs org-ref org-ref-helm-bibtex helm-bibtex
bibtex-completion biblio biblio-dissemin biblio-hal biblio-dblp
biblio-crossref biblio-arxiv parse-time biblio-doi biblio-core seq
seq-24 let-alist url-queue ido hl-line helm-plugin helm-utils compile
helm-net browse-url xml helm-help org-ref-helm helm helm-source
helm-multi-match helm-lib dired helm-config helm-easymenu async-bytecomp
async reftex-cite reftex reftex-vars parsebib org-ref-glossary
org-ref-utils org-ref-bibtex pcase org-ref-citeproc cl-macs gv message
rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader
key-chord hydra advice lv doi-utils org-bibtex json bibtex f s
ucs-normalize dash ox-texinfo ox-icalendar ox-html ox-beamer ox-latex
ox-ascii ox-publish ox org-element org org-macro org-footnote
org-pcomplete pcomplete org-list org-faces org-entities org-version
ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys
ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs
org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs
wc-mode edmacro kmacro superword subword paren elec-pair battery time
noutline outline easy-mmode reveal linum tex-site info easymenu
slime-autoloads package epg-config wheatgrass-theme tempo url url-proxy
url-privacy url-expand url-methods url-history url-cookie url-domsuf
url-util url-parse auth-source eieio byte-opt bytecomp byte-compile
cl-extra cl-loaddefs cl-lib cconv eieio-core gnus-util time-date mm-util
help-fns mail-prsvr password-cache url-vars mailcap xml-parse doxymacs
tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel
x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list
newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet lao korean japanese hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp
files text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
dbusbind gfilenotify dynamic-setting font-render-setting x-toolkit x
multi-tty emacs)

Memory information:
((conses 16 813517 87364)
 (symbols 48 66894 7)
 (miscs 40 1832 2461)
 (strings 32 196469 24158)
 (string-bytes 1 5909376)
 (vectors 16 94354)
 (vector-slots 8 1578498 29078)
 (floats 8 1876 396)
 (intervals 56 21904 2668)
 (buffers 960 31)
 (heap 1024 82085 5812))

-- 
--
(B.V. Raghav)
Ph.D. Student,
Design Programme, IIT Kanpur

Ph: +91-9450988137
Email: [email-masked]