bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#2008: etags - file-of-tag-function setting has no effect


From: Trey Jackson
Subject: bug#2008: etags - file-of-tag-function setting has no effect
Date: Fri, 23 Jan 2009 13:42:07 -0800
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.1 (gnu/linux)

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:


I tried setting file-of-tag-function, but it appears not to have any effect
(it's never called) because the 'etags-recognize-tags-table function makes
the variable buffer local to the TAGS file/buffer, and then sets it to
'etags-file-of-tag.  So my setting has no effect (unless I specifically set
it in TAGS buffers *after* the tags file is loaded).

Is this intentional?

The workaround I used is to set the variable after the TAGS file is recognized:

(defadvice tags-table-mode (after tags-table-mode-after-commands activate)
  "do some stuff after tags-table-mode has been run"
  (setq file-of-tag-function 'tj-etags-file-of-tag))




If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/local/share/emacs/22.1/etc/DEBUG for instructions.


In GNU Emacs 22.1.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2007-06-13 on quartzville
Windowing system distributor `AT&T Laboratories Cambridge', version 11.0.3332
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Mail

Minor modes in effect:
  jabber-activity-mode: t
  server-mode: t
  global-pabbrev-mode: t
  pabbrev-mode: t
  shell-dirtrack-mode: t
  display-time-mode: t
  global-auto-revert-mode: t
  flyspell-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  abbrev-mode: t

Recent input:
a m e SPC u p <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> u s e d SPC i s 
: <return> <return> C-y C-p C-p C-p C-p C-b SPC t o 
SPC s e t SPC t h e SPC v a r i a b l e SPC a f t e 
r SPC t h e SPC T A G S S-SPC f i l e SPC i s SPC r 
e c o g n i z e d C-n C-a C-n C-n C-n C-n C-n C-p <return> 
<return> <return> C-p C-p C-p C-n C-n C-n t h a n k 
s , <return> <return> T J M-< C-n C-n C-e C-p M-b M-b 
M-b M-b M-b r e g a r d i n g M-d C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-p C-n C-n M-b M-b M-b M-b C-e M-b M-b M-b M-b 
s p e c i f i c a l l y SPC C-e <M-backspace> <backspace> 
T A G S M-q C-n C-n C-e <down-mouse-1> <mouse-movement> 
<mouse-movement> <drag-mouse-1> M-x e m a c SPC v e 
r <tab> <return> C-x C-f ~ / d o w n l o a d s / e 
m <tab> <tab> C-g M-x M-p <return> C-x o C-p C-p C-p 
C-p C-p C-p C-a C-p C-p M-f M-f <backspace> 2 <help-echo> 
C-x o C-p C-n C-x o C-x 1 C-a C-n C-n C-SPC C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p 
C-w M-x e m a c s SPC b u <tab> <backspace> <backspace> 
b u <tab> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> r e 
p o <tab> r <tab> b <tab> <return>

Recent messages:
Mark set [2 times]
Auto-saving...done
Mark set
GNU Emacs 22.1.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) of 
2007-06-13 on quartzville
Making completion list...
Quit
GNU Emacs 22.1.1 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars) of 
2007-06-13 on quartzville
Mark set
Making completion list...
Loading emacsbug...done


-- 
Trey Jackson
bigfaceworm@gmail.com

Mean people suck.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]