From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: way to quickly jump to functions using menu created bymouseclicks Date: Thu, 21 Dec 2006 08:52:19 -0800 Message-ID: References: <1166717622.794637.130480@42g2000cwt.googlegroups.com> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1166720159 17541 80.91.229.10 (21 Dec 2006 16:55:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 21 Dec 2006 16:55:59 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 21 17:55:57 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1GxRCu-0003nX-2p for geh-help-gnu-emacs@m.gmane.org; Thu, 21 Dec 2006 17:55:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GxRCt-0004ub-Lc for geh-help-gnu-emacs@m.gmane.org; Thu, 21 Dec 2006 11:55:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GxR9k-0003Dq-Fv for help-gnu-emacs@gnu.org; Thu, 21 Dec 2006 11:52:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GxR9i-0003DK-Mb for help-gnu-emacs@gnu.org; Thu, 21 Dec 2006 11:52:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GxR9i-0003DH-ID for help-gnu-emacs@gnu.org; Thu, 21 Dec 2006 11:52:30 -0500 Original-Received: from [141.146.126.228] (helo=agminet01.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GxR9i-0005Rd-2A for help-gnu-emacs@gnu.org; Thu, 21 Dec 2006 11:52:30 -0500 Original-Received: from rgmgw3.us.oracle.com (rgmgw3.us.oracle.com [138.1.186.112]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id kBLGqQkk024020; Thu, 21 Dec 2006 10:52:26 -0600 Original-Received: from rcsmt251.oracle.com (rcsmt251.oracle.com [148.87.90.196]) by rgmgw3.us.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id kBLG7fDV028672; Thu, 21 Dec 2006 09:52:25 -0700 Original-Received: from dhcp-4op11-4op12-west-130-35-178-179.us.oracle.com by rcsmt251.oracle.com with ESMTP id 2308416731166719944; Thu, 21 Dec 2006 09:52:24 -0700 Original-To: "Badari Kakumani" , X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <1166717622.794637.130480@42g2000cwt.googlegroups.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-Whitelist: TRUE X-Whitelist: TRUE X-Brightmail-Tracker: AAAAAQAAAAI= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:39813 Archived-At: > > > > > i am looking for easily configurable way using mouse-clicks to > > > > > preferably > > > > > open-up a menu of function-names in the current-buffer and > > > jump to that > > > > > function on selecting the menu item. > > > > > > > > * A menu-bar menu "Defs" for Imenu - use only the mouse. > > > > http://www.emacswiki.org/cgi-bin/wiki/imenu%2b.el > > > > > > basically i wanted to see a menu of functions using my mouse. > > > i couldn't figure out how to get imenu or imenu+ to do that. > > > may be i am missing something on how to use the imenu or imenu+ > > > packages. any pointers on the documentation are highly appreciated. > > > thanks,-badari > > > > I'm not sure what you mean. Imenu+ gives you a menu-bar menu, Defs, of > > function (and variable etc.) definitions, which you can access using the > > mouse. However, it does this only for Lisp. Perhaps you are looking for > > something that does the same thing for a different language? If so, you > > might be able to figure out how to do that (using Emacs Lisp), > > based on how Imenu+ does it for Lisp. > > > > To be sure we're communicating, does Imenu+ do what you want > > for Emacs-Lisp files (*.el) at least? If not, try explaining again > > what it is that you are looking for. > > there is something i am really missing ;) > i am using emacs version 21.2.95.2 on sun machines. That's fine. > the menu items at the top i see are as follows: > File Edit Options Buffers Tools Emacs-Lisp Help > None of the above menus seem to lead me to imenu stuff. Did you load imenu+.el? Not just imenu.el, but imenu+.el (it will, in turn, load imenu.el). Did you visit an Emacs-Lisp file - for example, imenu+.el? In an Emacs-Lisp buffer, you should see a separate menu-bar menu, Defs, with menu items for definitions in the visited file. In a different buffer, that is not in Emacs-Lisp mode, you will not see menu Defs. > is it possible that some other package that i am using is clobbering > the menu item put-forward by imenu? Possible, but I doubt that is your problem. > not sure about the exact elisp code/functions that control the emacs > menus. once i know the code/functions that control > this feature, i could grep the packages i have and see if they do any > funny things with my menus. any pointers are appreciated. Before you try to debug things, please make sure that you have actually tried what I suggest above: load imenu+.el and then visit an Emacs-Lisp file.