From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1CuqLF-0004FT-ST for mharc-grub-devel@gnu.org; Sat, 29 Jan 2005 06:00:39 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CuqIy-0003NZ-EF for grub-devel@gnu.org; Sat, 29 Jan 2005 05:58:17 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CuqHt-0002mM-3K for grub-devel@gnu.org; Sat, 29 Jan 2005 05:57:31 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CuqHo-0002lt-T1 for grub-devel@gnu.org; Sat, 29 Jan 2005 05:57:08 -0500 Received: from [194.67.23.122] (helo=mx2.mail.ru) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cuq5J-00013Y-6s for grub-devel@gnu.org; Sat, 29 Jan 2005 05:44:09 -0500 Received: from [83.76.233.184] (port=1616 helo=[192.168.1.100]) by mx2.mail.ru with esmtp id 1Cuq5H-000Jq3-00 for grub-devel@gnu.org; Sat, 29 Jan 2005 13:44:07 +0300 Message-ID: <41FB6913.3070503@list.ru> Date: Sat, 29 Jan 2005 11:44:35 +0100 From: Serbinenko Vladimir User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: The development of GRUB 2 References: <200501231528.59397.okuji@enbug.org> <87ekgc5gci.fsf@marco.marco-g.com> <200501231709.05842.okuji@enbug.org> <41F3D0B6.8080604@yahoo.fr> <41F3D88F.7000304@list.ru> In-Reply-To: <41F3D88F.7000304@list.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam: Not detected Subject: menu variable 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: Sat, 29 Jan 2005 10:59:12 -0000 I have already written function and menu entries parsing an found out that passing menu as a parameter was a bad idea. Some examples: if I call other script from config file with source command it can't add menu entries anymore as command_script as any grub command doesn't receive menu as a parameter. Yes I can make separate handling of source command but I think it's ugly. Can I declare menu variable as global one?