From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JB7YQ-00016a-VI for mharc-grub-devel@gnu.org; Sat, 05 Jan 2008 06:51:06 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JB7YQ-00016R-1c for grub-devel@gnu.org; Sat, 05 Jan 2008 06:51:06 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JB7YO-00015v-Dn for grub-devel@gnu.org; Sat, 05 Jan 2008 06:51:05 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JB7YO-00015r-5K for grub-devel@gnu.org; Sat, 05 Jan 2008 06:51:04 -0500 Received: from aybabtu.com ([69.60.117.155]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JB7YN-0006lp-Rh for grub-devel@gnu.org; Sat, 05 Jan 2008 06:51:04 -0500 Received: from [192.168.10.6] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1JB7YH-0002s6-B7 for grub-devel@gnu.org; Sat, 05 Jan 2008 12:50:57 +0100 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1JB7Wy-0005BN-NV for grub-devel@gnu.org; Sat, 05 Jan 2008 12:49:36 +0100 Date: Sat, 5 Jan 2008 12:49:36 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080105114936.GD19370@thorin> References: <20080101124728.GA30417@thorin> <477D07AB.5000904@nic.fi> <20080104080213.GA3020@thorin> <200801050234.38903.okuji@enbug.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200801050234.38903.okuji@enbug.org> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: opening new context (was: [PATCH] allow user-configurable menucolor) 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, 05 Jan 2008 11:51:06 -0000 On Sat, Jan 05, 2008 at 02:34:38AM +0100, Yoshinori K. Okuji wrote: > On Friday 04 January 2008 09:02, Robert Millan wrote: > > On Thu, Jan 03, 2008 at 06:04:59PM +0200, Vesa Jääskeläinen wrote: > > > About new context: > > > > > > Shouldn't new context have clone of it's parent contexts settings? > > > > I wouldn't want to change that without having some input from whoever > > designed (or understands) grub_env_export(). There's probably a reason for > > it, although I can't see it. > > It is analogous to bash. If you invoke another bash from bash, that won't > inherit variables, unless they are exported. It's not exactly analogous. bash doesn't commonly use variable hooks (if they even exist). Anyway, I wouldn't want to spend much time discussing this. I assume my proposed change (propagating read/write hooks for global/exported variables) sounds fine? -- Robert Millan I know my rights; I want my phone call! What use is a phone call, if you are unable to speak? (as seen on /.)