Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Mdm3c-0007sE-Rf for mharc-grub-devel@gnu.org; Wed, 19 Aug 2009 10:22:32 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mdm3a-0007rg-Jz for grub-devel@gnu.org; Wed, 19 Aug 2009 10:22:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mdm3U-0007qD-2B for grub-devel@gnu.org; Wed, 19 Aug 2009 10:22:30 -0400 Received: from [199.232.76.173] (port=43472 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mdm3T-0007qA-Sv for grub-devel@gnu.org; Wed, 19 Aug 2009 10:22:23 -0400 Received: from rv-out-0708.google.com ([209.85.198.242]:58032) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mdm3T-0000ft-IR for grub-devel@gnu.org; Wed, 19 Aug 2009 10:22:23 -0400 Received: by rv-out-0708.google.com with SMTP id f25so1774828rvb.6 for ; Wed, 19 Aug 2009 07:22:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=ruXqINFS3OVhGFWwH6gTr9HG//iwx50E2eft4wUk7xE=; b=j031abQhBK9gx1W9jLoASN3hi2ed0xzAz3yncaHyDBoNCMpX0N/+OD3eq2IZr4Agkb GQ5rP7GDwo3ydjh7mRyCbSQ0g3uJT8Oy+XL2IiQmdjqsayeAXWtqOL/+QZLR+qirEKGx rHT05zkk1pkgQ9c5v+DF2dDy3AowVc1cUHNCE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=o+RLa7zO+2RfhYt2W27D+UB6bupGlXdJNtITH8gbwToGpm/dcoMaAvs2IQqaH8HtDd xjvFMTDf97GJmr/HumT5f0LMzfcxbPFPQcyPU3YlNBjbdn2PDXu07F3/SvrIDWMulsKf 84cSNm8SxKrUrwD0aqOSzbBY+eiVtfYAyMJpQ= MIME-Version: 1.0 Received: by 10.141.18.9 with SMTP id v9mr2089225rvi.89.1250691742597; Wed, 19 Aug 2009 07:22:22 -0700 (PDT) In-Reply-To: References: Date: Wed, 19 Aug 2009 22:22:22 +0800 Message-ID: From: Bean To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [RFC] Redesign of the menu system 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, 19 Aug 2009 14:22:30 -0000 Hi, Some clarification about the XML/CSS format: First of all, the internal representation of component is tree-like structure, which is quite natural to XML, we can create the tree while parsing. Besides, we don't need to implement the full specification of XML/CSS, just a subset that works for us. And as stated previously, XML/CSS is not the only interface. It's primarily used for normal user. As XML/CSS is wildly used, user can open the configuration file and get a general idea of what's it about. But for advanced users, he may decide to configure the menu in grub.cfg, in this case, XML is definitely not suitable as it conflicts with existing syntax, and the {} syntax would be fine. -- Bean gitgrub home: http://github.com/grub/grub/ my fork page: http://github.com/bean123/grub/