[Top][All Lists]

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

find-tag and duplicate tags

From: Richard Kettlewell
Subject: find-tag and duplicate tags
Date: Wed, 22 Jan 2003 12:47:51 +0000

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

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

In GNU Emacs 21.2.1 (i386-debian-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2002-03-22 on raven, modified by Debian
configured using `configure  i386-debian-linux-gnu --prefix=/usr 
--sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib 
--infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --with-x=yes 
--with-x-toolkit=athena --without-gif'
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: 
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

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

I have a bunch of related C files which contain static functions, and
some of the functions in different files have the same name.

This is confusing enough for humans, and I'd rather the original
author of the code hadn't done it, but it's a disaster when I try to
use find-tag: if I ask for find-tag in one file, and there's a static
function of the right name in that file, I still get presented witht
the definition in some other file.

I think the best approach would be for find-tag to always choose the
"nearest" available version of a tag, for some suitable definition of
"near".  For instance, the currently visited file should always be
nearer than any other file; files in the same directory might be
nearer than files in another directory; etc.

Recent input:
s <return> <help-echo> <switch-frame> <down-mouse-1> 
<mouse-movement> <mouse-1> C-s f i n d <end> M-. f 
i n d <return> <switch-frame> <help-echo> <switch-frame> 
<down-mouse-1> <mouse-movement> <mouse-movement> <mouse-movement> 
<mouse-movement> <mouse-movement> <mouse-movement> 
<drag-mouse-1> C-h k M-. <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <menu-bar> 
<help-menu> <report-emacs-bug> f i n d 0 t a <backspace> 
<backspace> <backspace> t <backspace> - a C-g C-x o 
<help-echo> <down-mouse-1> <mouse-1> <down> <down> 
<right> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <up> <up> 
<up> <help-echo> C-x o M-x <up> C-g <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <menu-bar> <help-menu> <re

Recent messages:
Mark set [3 times]
Mark set
Mark saved where search started
Mark set [2 times]
Loading /usr/lib/emacs/21.2/i386-debian-linux-gnu/fns-21.2.1.el (source)...done
Type C-x 1 to remove help window.  C-M-v to scroll the help.
Loading emacsbug...done
byte-code: Quit
call-interactively: Quit

reply via email to

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