From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: create large menu on the fly Date: Fri, 07 Jun 2013 13:59:08 +0200 Message-ID: <51B1CB0C.8030604@easy-emacs.de> References: <51B1748B.9000803@easy-emacs.de> <51B1B22C.80903@easy-emacs.de> <51B1BCAD.8070409@easy-emacs.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1370606188 26530 80.91.229.3 (7 Jun 2013 11:56:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Jun 2013 11:56:28 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 07 13:56:29 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UkvHR-0001EK-5W for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Jun 2013 13:56:29 +0200 Original-Received: from localhost ([::1]:33922 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkvHQ-00082R-La for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Jun 2013 07:56:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56602) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkvHA-00082L-50 for help-gnu-emacs@gnu.org; Fri, 07 Jun 2013 07:56:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UkvH6-0003DJ-DG for help-gnu-emacs@gnu.org; Fri, 07 Jun 2013 07:56:12 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.187]:55234) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkvH6-0003DD-2W for help-gnu-emacs@gnu.org; Fri, 07 Jun 2013 07:56:08 -0400 Original-Received: from [192.168.178.21] (brln-4dbc41ba.pool.mediaWays.net [77.188.65.186]) by mrelayeu.kundenserver.de (node=mreu3) with ESMTP (Nemesis) id 0Lj8yB-1UF9pJ3JxH-00dU0F; Fri, 07 Jun 2013 13:56:06 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 In-Reply-To: X-Provags-ID: V02:K0:W7ffNFaIUlGGanbCFpbFrUD+p+UP8Dpne1UOPTMnc5r cY0ZPP9lN+dCmVEfhxPKrYpGJBjuYehk7SydE9VKMKiaE/VTDe +jWWJ55lvxIWyN3JvG5gneYPhd3KwTD0vMBdfKE79mMISARvjk GT66IzEUkmJtiZJvKZILp0Bhmqkn3oib8cTJkML0r0ZikJchPG fSNSf+BLcJNM8kP8bIO55GKYMl2K2KvXAgJrL1u3SXpC/30E4S s+1wa12fJopRVeifkkE0WJgoY3v5YB1nM8Lcr9lCC5dSqMZTO4 /XmmYUg7rrQYX32YDNf+YrV99jlVxPo922RfoKq6u16Molm6PT oFwnk8CcFbx7A6/cjBT0HiXCGRY5c1IdRnSJZN9Bp X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.126.187 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:91376 Archived-At: Am 07.06.2013 13:26, schrieb daniel: > 2013/6/7 Andreas Röhler > >> >>> That would also be useful when you don't know in advance what will be >>> displayed in the menu... like a context menu! Suppose you want a submenu >>> in >>> python-mode called "navigate to method" which shows menu itens for all the >>> methods in the current file. >>> >> >> This is provided by both python-modes already with index, PyIndex in >> python-mode.el > > > My python-mode doesn't show that index... The menu is always the same. > (python-mode.el or python.el). Seems menu at python.el is broken currently. Can't find much information about pyindex on > the web! > From previous bugfixing get quickly for example https://bugs.launchpad.net/python-mode/+bug/1052180 ;;;;;;;;;;; Please load the current version https://launchpad.net/python-mode If bazaar is installed, do bzr branch lp:python-mode Make sure, python-mode.el gets loaded before any Python-file. See INSTALL > > >> >> >>> As Stefan told, that is not possible as is in Emacs. >>> >>> >> Once an instance exist on your computer, there is a way for Emacs to >> access it. >> Once Emacs accesses, a menu might be created from - and (re)loaded in >> session. > > > instance of what? session? Are you aware of Emacs info files? > Please explain better! > Maybe give a showcase what you are going to perform. Why the menu, not dired for example.