Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1GuTeM-0007Uw-AG for mharc-grub-devel@gnu.org; Wed, 13 Dec 2006 07:55:54 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GuTeK-0007T2-Nk for grub-devel@gnu.org; Wed, 13 Dec 2006 07:55:52 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GuTeH-0007PO-Hp for grub-devel@gnu.org; Wed, 13 Dec 2006 07:55:50 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GuTeG-0007Oq-VT for grub-devel@gnu.org; Wed, 13 Dec 2006 07:55:49 -0500 Received: from [194.109.24.35] (helo=smtp-vbr15.xs4all.nl) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GuTeG-0000G9-RL for grub-devel@gnu.org; Wed, 13 Dec 2006 07:55:49 -0500 Received: from localhost.localdomain (249-174.surfsnel.dsl.internl.net [145.99.174.249]) by smtp-vbr15.xs4all.nl (8.13.8/8.13.8) with ESMTP id kBDCtlZ9068044 for ; Wed, 13 Dec 2006 13:55:47 +0100 (CET) (envelope-from mgerards@xs4all.nl) From: Marco Gerards To: The development of GRUB 2 References: <457CEB69.1040903@raulete.net> Mail-Copies-To: mgerards@xs4all.nl Date: Wed, 13 Dec 2006 14:06:59 +0100 In-Reply-To: <457CEB69.1040903@raulete.net> (adrian15@raulete.net's message of "Mon, 11 Dec 2006 06:23:53 +0100") Message-ID: <87r6v4ymfg.fsf@xs4all.nl> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by XS4ALL Virus Scanner Subject: Re: for statements allowed outside menuentries? X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Dec 2006 12:55:53 -0000 adrian15 writes: > This is a question for Marco Gerards I suppose. > > I was asking myself if in grub2 code I was allowed to do: > > for (part in partitions) { > > menuentry($part) { > whatever($part.grub_string); > } > > } This is something I proposed a while ago. I want to make this possible so it will become easy to generate meny entries. -- Marco