all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Eclipse-style control-click on Elisp function name to visit source
Date: Fri, 6 May 2011 17:20:28 +0000 (UTC)	[thread overview]
Message-ID: <iq1aks$l7c$1@colin2.muc.de> (raw)
In-Reply-To: 87vcxn7tkp.fsf@lifelogs.com

Ted Zlatanov <tzz@lifelogs.com> wrote:
> Right now, if I want to see the definition of a function, I do `C-h f'
> to see the docstring, then RET on the link to the definition.

> I'd like to bind that visit directly to `C-mouse-1' click on any
> function name in any ELisp buffer, similar to how Eclipse does it for
> Java code for instance.  I couldn't find a way to do it in Emacs.  Any
> ideas?  Or should I write it myself?

I think you should write it yourself.  Shouldn't be too difficult.  The
difficult bit is chosing a key binding (or a "mouse binding").

> Thanks
> Ted

-- 
Alan Mackenzie (Nuremberg, Germany).



  reply	other threads:[~2011-05-06 17:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-06 15:11 Eclipse-style control-click on Elisp function name to visit source Ted Zlatanov
2011-05-06 17:20 ` Alan Mackenzie [this message]
2011-05-06 20:41   ` Ted Zlatanov
2011-05-06 17:28 ` Stefan Monnier
2011-05-07 17:56   ` Vagn Johansen

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='iq1aks$l7c$1@colin2.muc.de' \
    --to=acm@muc.de \
    --cc=help-gnu-emacs@gnu.org \
    /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.