From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: Nordlöw <per.nordlow@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Go to Emacs-Lisp Definition
Date: Tue, 22 Sep 2009 13:59:00 +0200 [thread overview]
Message-ID: <4AB8BC04.1000405@easy-emacs.de> (raw)
In-Reply-To: <324be851-a60d-4762-8a61-e070e4ee59ac@d34g2000vbm.googlegroups.com>
Nordlöw wrote:
> Has anyone implemented a go to (lookup) definition of an Emacs-Lisp
> symbol: function, variable, face, etc kind of like find-tag but using
> Emacs own symbol database (hash-table)?
>
> I know that I can achieve this in Vanilla Emacs with C-h f,v, but
> direct jump (M-.) would be more user efficient!
>
> Thanks,
> Per Nordlöw
>
>
with output following C-h v or C-h f
I use `jump-to-form' - bound here to f12:
(defun jump-to-form ()
(interactive)
(if (featurep 'xemacs)
(progn
(forward-char 1)
(let ((name (symbol-atpt))
(file (progn (search-forward "\"" nil t 1)(thing-at-point
'filename))))
(forward-char 1)
(help-find-source-or-scroll-up (point))
(switch-to-buffer (current-buffer))
(kill-new name)
(search-forward name)))
(other-window 1)
(forward-button 1)
;; (find-file (filename-atpt))
(push-button)))
;;;;;;;;;
next prev parent reply other threads:[~2009-09-22 11:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-22 9:13 Go to Emacs-Lisp Definition Nordlöw
2009-09-22 9:21 ` Helmut Eller
2009-09-22 14:25 ` Andreas Röhler
2009-09-22 9:39 ` Stefan Kamphausen
2009-09-22 11:59 ` Andreas Röhler [this message]
2009-09-22 12:45 ` Andreas Politz
2009-09-22 22:40 ` Bernardo
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=4AB8BC04.1000405@easy-emacs.de \
--to=andreas.roehler@easy-emacs.de \
--cc=help-gnu-emacs@gnu.org \
--cc=per.nordlow@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.
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).