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 12:57:49 +0200 Message-ID: <51B1BCAD.8070409@easy-emacs.de> References: <51B1748B.9000803@easy-emacs.de> <51B1B22C.80903@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 1370602511 18922 80.91.229.3 (7 Jun 2013 10:55:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Jun 2013 10:55:11 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: daniel Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 07 12:55:10 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 1UkuK5-0006wI-I3 for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Jun 2013 12:55:09 +0200 Original-Received: from localhost ([::1]:42050 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkuK5-00022v-8A for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Jun 2013 06:55:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkuJq-00022f-Je for help-gnu-emacs@gnu.org; Fri, 07 Jun 2013 06:54:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UkuJm-0000HH-Mo for help-gnu-emacs@gnu.org; Fri, 07 Jun 2013 06:54:54 -0400 Original-Received: from moutng.kundenserver.de ([212.227.17.10]:53840) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkuJm-0000HB-Cc for help-gnu-emacs@gnu.org; Fri, 07 Jun 2013 06:54:50 -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 0LiJtA-1UErox4B24-00ceY1; Fri, 07 Jun 2013 12:54:48 +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:T73KNJW0DlqXAMWwCppYTuZ8CgFJNDEN/N/XyxhzRNq SAu2vHtkn0zUwRmcd44uZ8IVt3Th1eVyl1loDDQnKQAJKiUc9j oO+pl+s+kr4knnpD2Au+NELbl6BfiPFw8kJl1XtaOKTc7xOdRt qInHZhIQV2QV2IRdT9gvpWYSxDyF5zluEW/XpmH22l6FFkC0NH nZIV1yVaPt/TCWjiKZC3a3jRkQmupCX4aUntQTXK18IUoWfaX/ deUJnvPPw+S956jXUeEZyr31M7/lFzPNh+j835gChPzzfA+9uD 5I6wXL8i38T8V1hRVm/7z9CybsMa3YW/30/yzxg1vDz2IX3Tix /RUaAiwhFCYGxhTevmYNckyHLzXKUzJWF/vyRKE9N X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.17.10 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:91374 Archived-At: Am 07.06.2013 12:26, schrieb daniel: > 2013/6/7 Andreas Röhler > >> BTW not quite sure what you need. >> IIUC you are looking for a listing of directories in menu, right? >> >> > That was just an example. What I wish is to populate the menu when it is > activated. > > 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 > > 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. Andreas