From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: create large menu on the fly Date: Fri, 07 Jun 2013 18:54:19 +0200 Message-ID: <877gi5j1z8.fsf@web.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1370624085 4434 80.91.229.3 (7 Jun 2013 16:54:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Jun 2013 16:54:45 +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 18:54:45 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 1Ukzw0-0003g3-5J for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Jun 2013 18:54:40 +0200 Original-Received: from localhost ([::1]:60430 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ukzvz-0007EN-Rf for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Jun 2013 12:54:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58306) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ukzvm-0007E6-EA for help-gnu-emacs@gnu.org; Fri, 07 Jun 2013 12:54:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ukzvl-0005Je-GA for help-gnu-emacs@gnu.org; Fri, 07 Jun 2013 12:54:26 -0400 Original-Received: from mout.web.de ([212.227.17.12]:57617) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ukzvl-0005JM-7V for help-gnu-emacs@gnu.org; Fri, 07 Jun 2013 12:54:25 -0400 Original-Received: from drachen.dragon ([89.204.135.84]) by smtp.web.de (mrweb103) with ESMTPSA (Nemesis) id 0LfztP-1U0h0R3cc7-00onUG; Fri, 07 Jun 2013 18:54:21 +0200 Mail-Followup-To: daniel , help-gnu-emacs@gnu.org In-Reply-To: (daniel's message of "Thu, 6 Jun 2013 22:36:24 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Provags-ID: V02:K0:F7QXY06bRZLnKozakBdShcymF8aRxnSFu6SEM36AjlF 3penO9x81Fr+2NCuS0V3BTlNfiRR1OxXB3fiFVuSkcvE7ZfffC rnyrQDRS6dNNAzaSvu7JdBR10yN0p+MJ9g67eUjw7d0w0UCqq7 IbLSvqa+4dSX3ys9z83GEx1yF/OuNpV5h4ObDNk8iKuZ7Tao0B 4z/sHf1U18+zy9s0LpT/9qixfAgVXJMGfFdY/IjTTQ= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.17.12 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:91380 Archived-At: Hi Daniel, as Stefan already said, it's not possible using the ordinary menu bar. As a makeshift, you could use popup menus that contain e.g. only 3 directory levels, and selecting a directory at the third level pops up a new popup menu with the next three levels under it etc. Michael. > I want to create a menu that maps a directory in the filesystem > recursively. The files would placed as menu itens and the directories as > submenus. > > But it is a big overhead to create the complete menu in one time. > > So the solution would be to populate each menu only when it is activated. > Any idea how to do this?