GNU bug report logs -
#13412
24.2; find-tag-regexp fails to find any next matches when multiple files are indexed
Previous Next
Reported by: Sarah Weissman <seweissman <at> gmail.com>
Date: Fri, 11 Jan 2013 05:46:01 UTC
Severity: normal
Found in version 24.2
Fixed in version 24.2.93
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
find-tag-regexp finds the first match, but not subsequent ones. Here's
a simple formula to produce this bug:
In a new directory create files empty.el and test.el where empty.el is
empty and test.el contains the following 5 defuns:
(defun my-find ())
(defun my-find1 ())
(defun my-find2 ())
(defun my-find3 ())
(defun my-find4 ())
Create a tags table for test.el and empty.el:
M-x compile RET etags *.el RET
Visit tags table:
M-x visit-tags-table RET RET
Call find-tag-regexp:
C-M-. my-find RET
Repeat find-tag-regexp:
C-u C-M-.
The first find-tag-regexp finds the first defun, but subsequent calls
report "No more tags matching my-find" even though there should be
more matches.
Note:
*Bug occurs whether empty.el is empty or not.
*If you remove empty.el and recompile tags on only one file the bug goes away.
*Evaluating (list-tags "") makes the bug go away.
For reference, the TAGS file that is produced looks like this:
^L
test.el,109
(defun my-find ^?2,1
(defun my-find1 ^?4,21
(defun my-find2 ^?6,42
(defun my-find3 ^?8,63
(defun my-find4 ^?10,84
^L
empty.el,0
In GNU Emacs 24.2.1 (x86_64-apple-darwin, NS apple-appkit-1038.36)
of 2012-08-27 on bob.porkrind.org
Windowing system distributor `Apple', version 10.3.1187
Configured using:
`configure '--host=x86_64-apple-darwin' '--build=i686-apple-darwin'
'--with-ns' 'build_alias=i686-apple-darwin'
'host_alias=x86_64-apple-darwin' 'CC=gcc -mmacosx-version-min=10.5''
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
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Major mode: Emacs-Lisp
Minor modes in effect:
shell-dirtrack-mode: t
tooltip-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-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
line-number-mode: t
transient-mark-mode: t
Recent input:
M-x c o m p i l e <return> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> e t a g s SPC * . e l <return> M-x v i
i <backspace> s i TAB t - t a g TAB <return> T A G
S <return> C-M-. m y - f i n d <return> C-u C-M-. C-u
C-M-. C-g C-M-. C-g <escape> x f i n d - t a g - r
e g TAB C-a C-k <help-echo> <help-echo> C-g <escape>
x s h e l l <return> l s <return> C-x C-f t e s t .
e l <return> C-p C-n C-p C-SPC C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n M-w M-x r e p o r t - e m a c s
- b u g <return>
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
(No files need saving)
Compilation finished
Making completion list...
Starting a new list of tags tables
Mark set
byte-code: No more tags matching my-find [2 times]
Quit [3 times]
Mark activated
Load-path shadows:
None found.
Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils etags help-mode easymenu view shell pcomplete
compile comint regexp-opt ansi-color ring kfl-project kfl-mode time-date
tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd
fontset image fringe lisp-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 loaddefs button faces cus-face files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process ns
multi-tty emacs)
This bug report was last modified 12 years and 212 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.