From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.help Subject: Re: Eclipse-style control-click on Elisp function name to visit source Date: Fri, 6 May 2011 17:20:28 +0000 (UTC) Organization: muc.de e.V. Message-ID: References: <87vcxn7tkp.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1306268891 19959 80.91.229.12 (24 May 2011 20:28:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 May 2011 20:28:11 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 24 22:28:07 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QOyCw-0001cc-4X for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2011 22:28:02 +0200 Original-Received: from localhost ([::1]:50362 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOyCv-0003kT-Gv for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2011 16:28:01 -0400 Original-Path: usenet.stanford.edu!newsserver.news.garr.it!kanaga.switch.ch!news-zh.switch.ch!switch.ch!news.belwue.de!news.tu-darmstadt.de!news.muc.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: marvin.muc.de Original-X-Trace: colin2.muc.de 1304702428 21740 2001:608:1000::2 (6 May 2011 17:20:28 GMT) Original-X-Complaints-To: news-admin@muc.de Original-NNTP-Posting-Date: Fri, 6 May 2011 17:20:28 +0000 (UTC) User-Agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (FreeBSD/4.11-RELEASE (i386)) Original-Xref: usenet.stanford.edu gnu.emacs.help:186800 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81161 Archived-At: Ted Zlatanov 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).