all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#2544: 23.0.60; Could etags please try find a local tag first?
@ 2009-03-02 21:36 Matzi Kratzi
  2021-07-19 14:48 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 16+ messages in thread
From: Matzi Kratzi @ 2009-03-02 21:36 UTC (permalink / raw)
  To: emacs-pretest-bug

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 emacs-pretest-bug@gnu.org mailing list.

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

Would it make sense, in general, for etags to first try to find a tag
inside the current buffer? I am working in legacy code that has the
same name for certain help functions in many files. I would like etags
to first try find the tag inside the current buffer.

Please consider the following files:

a.c:
#include <stdio.h>

static void help_func (void)
{
  printf ("ad");
}


void a_func (void)
{
 help_func ();
 printf ("a\n");
}

a.h:
void a_func (void);

b.c:
#include <stdio.h>
#include "a.h"

static void help_func (void);

int main (void)
{
  help_func ();
  a_func ();

 return 0;
}

static void help_func (void)
{
  printf ("kalle\n");
}

c:\src\example>C:\download\emacs-cvs\bin\etags a.c a.h b.c

Then go to the line " help_func ();" in b.c and try find-tag. You will
be taken to the function defined in a.c. I know about "C-u M-.", but
that is not a very big help if there is a big number of files with
different help_funcs.

Best Regards
Mats

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
c:/download/emacs-cvs/etc/DEBUG for instructions.


In GNU Emacs 23.0.60.1 (i386-mingw-nt6.0.6001)
 of 2009-01-15 on LENNART-69DE564
Windowing system distributor `Microsoft Corp.', version 6.0.6001
configured using `configure --with-gcc (3.4) --no-opt --cflags
-Ic:/g/include -fno-crossjumping'

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: SVE
  value of $XMODIFIERS: nil
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t

Major mode: C/l

Minor modes in effect:
  shell-dirtrack-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Recent input:
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<delete> <delete> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
h e l p _ f u n c <delete> <delete> <delete> <delete>
<delete> <delete> <delete> C-SPC <left> <left> <left>
<left> <left> <left> <left> <left> <left> M-w <down>
<down> <down> <down> <left> <left> <left> <left> <left>
<left> <left> <left> <left> <left> <left> <right> C-y
M-d <down> <down> <down> <down> <down> <down> C-a C-SPC
<down> <down> <down> <down> <down> M-; <up> <up> <up>
<up> <right> <right> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> h e
M-/ M-d C-x C-s <up> <up> <up> <up> <up> <up> <up>
<up> <down> <down> <tab> <down> <tab> <up> <tab> <up>
C-x C-s <up> <up> <up> <end> ; C-x C-s <help-echo>
<down-mouse-1> <mouse-movement> <mouse-movement> <drag-mouse-1>
<help-echo> <down-mouse-2> <mouse-2> M-d <down-mouse-2>
<mouse-2> M-/ M-/ <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> h e
M-/ M-d C-x C-s M-x C-g C-g C-x 5 2 <switch-frame>
M-x s h e l l <return> <help-echo> <down-mouse-1> <mouse-movement>
<mouse-1> c d SPC C-y <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <return>
c d SPC <help-echo> <down-mouse-1> <mouse-movement>
<mouse-movement> <drag-mouse-1> <help-echo> <down-mouse-2>
<mouse-2> <kp-enter> <up> <down> <C-up> <C-up> C-a
<delete> <delete> <delete> <end> e t a g s SPC a .
c SPC <backspace> <backspace> * SPC b * <backspace>
. * <return> C-x C-f T A G S <return> C-x k <return>
<C-up> <left> <left> <left> <left> <left> c SPC a .
h SPC <delete> <delete> <right> <right> <delete> c
<return> C-x C-f <up> <return> C-x k <return> <help-echo>
<switch-frame> <help-echo> <help-echo> <down-mouse-1>
<drag-mouse-1> <down-mouse-1> <mouse-1> <help-echo>
<down-mouse-1> <mouse-1> <down-mouse-1> <mouse-1> M-.
<return> <return> M-* M-x r e p o r t SPC e m a SPC
<tab> <return>

Recent messages:
Quit [2 times]
Mark set
c:/download/emacs-cvs/bin
Mark set
c:/download/src/a
History item: 1
History item: 2
History item: 1
Starting a new list of tags tables
Mark set






^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2021-08-06  0:17 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-02 21:36 bug#2544: 23.0.60; Could etags please try find a local tag first? Matzi Kratzi
2021-07-19 14:48 ` Lars Ingebrigtsen
2021-07-19 15:56   ` Eli Zaretskii
2021-07-19 23:00     ` Dmitry Gutov
2021-07-20 11:51       ` Lars Ingebrigtsen
2021-07-20 16:15         ` Dmitry Gutov
2021-07-20 11:54       ` Eli Zaretskii
2021-07-20 16:22         ` Dmitry Gutov
2021-07-20 16:56           ` Eli Zaretskii
2021-07-20 22:36             ` Dmitry Gutov
2021-07-21 10:39               ` Lars Ingebrigtsen
2021-07-26 23:15                 ` Dmitry Gutov
2021-07-28 15:49                   ` Lars Ingebrigtsen
2021-08-02  2:11                     ` Dmitry Gutov
2021-08-02 11:36                       ` Eli Zaretskii
2021-08-06  0:17                         ` Dmitry Gutov

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.