From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JB7kg-0004sQ-KD for mharc-grub-devel@gnu.org; Sat, 05 Jan 2008 07:03:46 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JB7kf-0004py-0U for grub-devel@gnu.org; Sat, 05 Jan 2008 07:03:45 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JB7ke-0004ob-7T for grub-devel@gnu.org; Sat, 05 Jan 2008 07:03:44 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JB7kd-0004oI-U5 for grub-devel@gnu.org; Sat, 05 Jan 2008 07:03:44 -0500 Received: from ns39764.ovh.net ([91.121.25.85] helo=nexedi.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JB7kd-0008UN-Ik for grub-devel@gnu.org; Sat, 05 Jan 2008 07:03:43 -0500 Received: from [10.8.0.46] (unknown [10.8.0.46]) by nexedi.com (Postfix) with ESMTP id 2F74F3EB24 for ; Sat, 5 Jan 2008 13:08:34 +0100 (CET) From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Sat, 5 Jan 2008 13:03:41 +0100 User-Agent: KMail/1.9.4 References: <20080101124728.GA30417@thorin> <200801050234.38903.okuji@enbug.org> <20080105114936.GD19370@thorin> In-Reply-To: <20080105114936.GD19370@thorin> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200801051303.41887.okuji@enbug.org> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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 12:03:45 -0000 On Saturday 05 January 2008 12:49, Robert Millan wrote: > 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=C3=A4=C3=A4skel=C3= =A4inen 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 reas= on > > > 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). It has internally. > 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? Yes. Okuji