From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1HluUW-00080Q-2P for mharc-grub-devel@gnu.org; Wed, 09 May 2007 18:18:36 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HluUT-0007zT-Rp for grub-devel@gnu.org; Wed, 09 May 2007 18:18:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HluUQ-0007y2-CV for grub-devel@gnu.org; Wed, 09 May 2007 18:18:33 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HluUQ-0007xw-86 for grub-devel@gnu.org; Wed, 09 May 2007 18:18:30 -0400 Received: from [212.85.152.101] (helo=kotoba.storever.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HluN9-00015Y-0n for grub-devel@gnu.org; Wed, 09 May 2007 18:11:00 -0400 Received: from kotoba.oasis.nexedi.com (kotoba.oasis.nexedi.com [212.85.152.101]) by kotoba.storever.com (Postfix) with ESMTP id B5A2E3D0CE66A for ; Thu, 10 May 2007 04:11:29 +0200 (CEST) Received: from [??1] (localhost [127.0.0.1]) by kotoba.storever.com (Postfix) with ESMTP id 546C83D0A59DF for ; Thu, 10 May 2007 04:11:27 +0200 (CEST) From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Thu, 10 May 2007 00:10:16 +0200 User-Agent: KMail/1.9.4 References: <20070505163013.GA13246@aragorn> <200705082209.49098.okuji@enbug.org> <87wszjdq68.fsf@lab.ossystems.com.br> In-Reply-To: <87wszjdq68.fsf@lab.ossystems.com.br> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200705100010.17001.okuji@enbug.org> X-Bogosity: No, tests=bogofilter, spamicity=0.000003, version=0.17.2 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) Subject: Re: pretty colors in gfxterm 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, 09 May 2007 22:18:34 -0000 On Tuesday 08 May 2007 22:19, Otavio Salvador wrote: > "Yoshinori K. Okuji" writes: > > On Tuesday 08 May 2007 15:36, Robert Millan wrote: > >> > I don't have much time, either, but I will refactor the menu code > >> > sooner or later. Once this is done, it wouldn't be too difficult to > >> > implement new intefaces for the menu. > >> > >> Other (perhaps easier) options that would also improve the situation are > >> "hiddenmenu" and splash image support. > > > > I don't want to have ad-hoc features in GRUB 2. I have studied that > > ad-hoc harms. > > Sorry but I didn't get what you mean by 'ad-hoc features' here. Can > you elaborate it, please? Features, which are not fully examined if they are generic, flexible and extensible, are all ad-hoc. As I said in this list some times, I believe that the user must be able to fully control how a menu (or a different kind of user interface) should be displayed and provided, and style sheet support meets this requirement. Of course, Marco's idea about more scripting-based approach is also good, but I feel that this is rather overkill at the moment. Regardless of whichever way we will select, the user must be able to control the appearance as much as possible arbitrarily and easily. Hiding a menu or putting a background image is just a part of this kind of framework, so they must not be implemented independently. Otherwise, we will have a pain of keeping backward compatibilty for such ad-hoc features. Think about HTML and CSS. If HTML were designed only for implementing logical data at the beginning, browsers could have been much simpler and less bloated. HTML is so shabby, because it was not well designed. Browsers have to support CSS as well as legacy attributes, and HTML still contains some formatting information (such as the rendering effect of newline). All of these are causing a lot of problems indeed. Okuji