unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Kettlewell <rjk@ncipher.com>
Subject: find-tag and duplicate tags
Date: Wed, 22 Jan 2003 12:47:51 +0000	[thread overview]
Message-ID: <E18bKIJ-0000MZ-00@rollercoaster.ncipher.com> (raw)

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 bug-gnu-emacs@gnu.org 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
port-emacs-bug>

Recent messages:
Auto-saving...done
Mark set [3 times]
Auto-saving...done
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	other threads:[~2003-01-22 12:47 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E18bKIJ-0000MZ-00@rollercoaster.ncipher.com \
    --to=rjk@ncipher.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).