From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Leo Liu <sdl.web@gmail.com>
Cc: 15641@debbugs.gnu.org
Subject: bug#15641: 24.3; [PATCH] Add find-definition for M-.
Date: Fri, 18 Oct 2013 08:58:31 -0400 [thread overview]
Message-ID: <jwva9i6hh80.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <m1wqlbyqwa.fsf@gmail.com> (Leo Liu's message of "Fri, 18 Oct 2013 15:33:41 +0800")
> I think we should just make M-. work on elisp-related places such as
> lisp-interaction-mode, emacs-lisp-mode, eval-expression and even
> help-mode.
Right: M-. should not be bound to an command specific to etags but to
a command which delegates the work to a find-tag-function (whose
default can then be to use etags).
Of course, find-tag-function should do "as little as possible": find the
corresponding place and return it. The generic part of the code will
take care of displaying the buffer, selecting it, remembering the
previous position, etc... so we don't need a pop-tag-mark-function.
Stefan
next prev parent reply other threads:[~2013-10-18 12:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-18 7:33 bug#15641: 24.3; [PATCH] Add find-definition for M- Leo Liu
2013-10-18 12:58 ` Stefan Monnier [this message]
2013-10-18 19:01 ` Josh
2013-10-18 20:02 ` Dmitry Gutov
2013-10-19 1:21 ` Stefan Monnier
2013-10-18 22:49 ` Barry OReilly
2017-11-07 0:53 ` Noam Postavsky
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwva9i6hh80.fsf-monnier+emacsbugs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=15641@debbugs.gnu.org \
--cc=sdl.web@gmail.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 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.