Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JHbOT-00033C-OR for mharc-grub-devel@gnu.org; Wed, 23 Jan 2008 03:55:37 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JHbOQ-000323-ON for grub-devel@gnu.org; Wed, 23 Jan 2008 03:55:34 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JHbOO-00031M-9v for grub-devel@gnu.org; Wed, 23 Jan 2008 03:55:33 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JHbON-00031E-7l for grub-devel@gnu.org; Wed, 23 Jan 2008 03:55:31 -0500 Received: from smtp-vbr3.xs4all.nl ([194.109.24.23]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JHbOM-0001wF-La for grub-devel@gnu.org; Wed, 23 Jan 2008 03:55:30 -0500 Received: from localhost.localdomain (249-174.surfsnel.dsl.internl.net [145.99.174.249]) by smtp-vbr3.xs4all.nl (8.13.8/8.13.8) with ESMTP id m0N8tSLh062313 for ; Wed, 23 Jan 2008 09:55:28 +0100 (CET) (envelope-from mgerards@xs4all.nl) From: Marco Gerards To: The development of GRUB 2 References: <20080101124728.GA30417@thorin> <200801030042.01855.okuji@enbug.org> <20080103010414.GC6843@thorin> <20080103153533.GA24992@thorin> <477D07AB.5000904@nic.fi> <20080103163857.GA27449@thorin> Mail-Copies-To: mgerards@xs4all.nl Date: Wed, 23 Jan 2008 09:56:41 +0100 In-Reply-To: <20080103163857.GA27449@thorin> (Robert Millan's message of "Thu, 3 Jan 2008 17:38:57 +0100") Message-ID: <87y7agsywm.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=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by XS4ALL Virus Scanner X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 Subject: Re: [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: Wed, 23 Jan 2008 08:55:35 -0000 Robert Millan writes: > On Thu, Jan 03, 2008 at 06:04:59PM +0200, Vesa J=E4=E4skel=E4inen wrote: >>=20 >> About error handling: >>=20 >> Why not call grub_error() with error message and just return from >> callback, and let prompt handle error processing (grub_print_error()). >> This would keep error reporting centralized. > > One thing I don't like about grub_error() is that I never know what value= to > pick for the first parameter. I find this confusing :-/ You can add errors to the enum. -- Marco