From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: daniel Newsgroups: gmane.emacs.help Subject: create large menu on the fly Date: Thu, 6 Jun 2013 22:36:24 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1370554748 16453 80.91.229.3 (6 Jun 2013 21:39:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Jun 2013 21:39:08 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 06 23:39:09 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 1Ukhtk-0002r3-KR for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Jun 2013 23:39:08 +0200 Original-Received: from localhost ([::1]:35014 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ukhtk-0008MP-9J for geh-help-gnu-emacs@m.gmane.org; Thu, 06 Jun 2013 17:39:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58556) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkhrU-0007aV-SQ for help-gnu-emacs@gnu.org; Thu, 06 Jun 2013 17:36:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UkhrS-00051u-DT for help-gnu-emacs@gnu.org; Thu, 06 Jun 2013 17:36:48 -0400 Original-Received: from mail-pb0-x231.google.com ([2607:f8b0:400e:c01::231]:64982) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UkhrS-00051M-49 for help-gnu-emacs@gnu.org; Thu, 06 Jun 2013 17:36:46 -0400 Original-Received: by mail-pb0-f49.google.com with SMTP id jt11so3786531pbb.22 for ; Thu, 06 Jun 2013 14:36:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=hOdt4t/s35de3DNYYlclaUr1nkRSAgEg5Ok+OIhf7rk=; b=zOkNK1bI6DyRUH4A5lxrzXXO+SMpnBDAD6S2mnyBXM7wVlR6o76tuCM/9LDzm0YNhp UagesIfx2dMK5CkC86GNf07c4ipWbKTrseHpIhUTsWh8SYF4bzlhYvp281sCsF764Ax5 BCKCOpG4S9SOApLVonMu+gKcawFwiWJMal6rXECDVbQgbHQMw1wbseSteCvS0CL9N1KO Ik1fe/eR6JOpBFBbfMfVwrvHY9JTEvC8qeHsEF9uJ+NdZKmHVIiXpqcCN2z+WhQ1DByH VkPUbyA9U/iSAuj+aKWJwsH+p7uqPnwKmkYMhtJ9EkgsL28MvKhRBLW5WuNC5Sf4aZQB /Y5g== X-Received: by 10.68.196.231 with SMTP id ip7mr39681847pbc.61.1370554604927; Thu, 06 Jun 2013 14:36:44 -0700 (PDT) Original-Received: by 10.70.89.129 with HTTP; Thu, 6 Jun 2013 14:36:24 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c01::231 X-Mailman-Approved-At: Thu, 06 Jun 2013 17:38:57 -0400 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:91361 Archived-At: hi 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?