all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* ETAGS & find-tag
@ 2007-02-28 23:51 A Soare
  2007-03-01  7:22 ` Francesco Potorti`
  0 siblings, 1 reply; 2+ messages in thread
From: A Soare @ 2007-02-28 23:51 UTC (permalink / raw)
  To: Emacs   Dev  [emacs-devel]

Do you consider normal that M-. <find-tag>

jumps in order to the following definitions (of function or variable) using C-u as prefix :

find-tag-hook
find-tag-default-function

but not to... find-tag?

I opened TAGS file, and <find-tag> was not there.

Still I had created the TAGS by

find -name *.[ch] -o -name *.el | xargs etags -

1. The first problem is in etags.
2. The second "problem": Why M-. <name> does not jump first of all to all defun or defvar which are called EXACTLY <name>, and after there are no more such ones, to jump to the non-exact regexp matching.


Alin Soare.

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

* Re: ETAGS & find-tag
  2007-02-28 23:51 ETAGS & find-tag A Soare
@ 2007-03-01  7:22 ` Francesco Potorti`
  0 siblings, 0 replies; 2+ messages in thread
From: Francesco Potorti` @ 2007-03-01  7:22 UTC (permalink / raw)
  To: alinsoar; +Cc: Emacs   Dev  [emacs-devel]

>Do you consider normal that M-. <find-tag>
>
>jumps in order to the following definitions (of function or variable) using C-u as prefix :
>
>find-tag-hook
>find-tag-default-function
>
>but not to... find-tag?

No.  It should jump to find-tag first, then to the other ones.  In fact,
I cannot reproduce the behaviour you describe.

>I opened TAGS file, and <find-tag> was not there.

Which etags did you use?  I can see the tag whith either new or old
etags.

>Still I had created the TAGS by
>find -name *.[ch] -o -name *.el | xargs etags -

In this particular case this works, but don't do that in general,
because xargs may make two calls to etags as the consequence of too many
arguments, and in this case you would get a second TAGS overwriting the
first one without any warnings.  For Emacs, just do `make tags'.

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

end of thread, other threads:[~2007-03-01  7:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-28 23:51 ETAGS & find-tag A Soare
2007-03-01  7:22 ` Francesco Potorti`

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.