From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KTFCI-0007wx-JV for mharc-grub-devel@gnu.org; Wed, 13 Aug 2008 08:11:26 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KTFCG-0007wp-Mh for grub-devel@gnu.org; Wed, 13 Aug 2008 08:11:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KTFCF-0007wb-PQ for grub-devel@gnu.org; Wed, 13 Aug 2008 08:11:24 -0400 Received: from [199.232.76.173] (port=59877 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTFCF-0007wY-M2 for grub-devel@gnu.org; Wed, 13 Aug 2008 08:11:23 -0400 Received: from nf-out-0910.google.com ([64.233.182.187]:7207) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KTFCF-0000h2-Jn for grub-devel@gnu.org; Wed, 13 Aug 2008 08:11:23 -0400 Received: by nf-out-0910.google.com with SMTP id c7so1151692nfi.26 for ; Wed, 13 Aug 2008 05:11:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer; bh=P5mWfx8/903qd7jInN/jxbbajkeP3qWjD8rqF9lr5UI=; b=OS8nr6ygvTvzFoIOPon6Qq0KZE+ldcTM67axIxOVV+3yvurnvfQts+OFq3wTzcka9h uhq55j2355BpRWJ8Ahbjkg7V39Jsobac/G81rJ/x9ErO/Q5FPuzz8VdwWg3c2VcTI/Pm NDe9UJICR3VOLcXqxbIzYomE7nHil57ZC/nyY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer; b=yDzXTt6pg8nARMGmbUbtuu7mhN2IPnzYfsxYux/1/PwLCmrTTeZDih39k6R42E+DfO mJvAjEsNCkHWyvnqRH1sxT51IH3NE+fMkvERQjt+puLk/QDgASyHBrXo+onyTxI0wngS koabavvEOXyVNN/nvsZzOI2qmg9XQhSAv8yoA= Received: by 10.210.39.2 with SMTP id m2mr11799583ebm.97.1218629482279; Wed, 13 Aug 2008 05:11:22 -0700 (PDT) Received: from ?192.168.1.100? ( [213.37.137.93]) by mx.google.com with ESMTPS id b36sm219340ika.5.2008.08.13.05.11.16 (version=SSLv3 cipher=RC4-MD5); Wed, 13 Aug 2008 05:11:21 -0700 (PDT) From: Javier =?ISO-8859-1?Q?Mart=EDn?= To: The development of GRUB 2 In-Reply-To: <20080813114851.GB25113@thorin> References: <87od3x8ava.fsf@xs4all.nl> <1218627404.8757.13.camel@localhost> <20080813114851.GB25113@thorin> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-hRmwrXH5yECdgE12J3xu" Date: Wed, 13 Aug 2008 14:11:54 +0200 Message-Id: <1218629514.8757.27.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: Idea: use menu hook to implement the savedefault command 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, 13 Aug 2008 12:11:24 -0000 --=-hRmwrXH5yECdgE12J3xu Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable El mi=C3=A9, 13-08-2008 a las 13:48 +0200, Robert Millan escribi=C3=B3: > On Wed, Aug 13, 2008 at 01:36:44PM +0200, Javier Mart=C3=ADn wrote: > > It might be unnecessarily complex, yes. What about a C#-delegate-like > > approach? e.g.: > >=20 > > function myhook() { > > save_env > > } >=20 > While in the process of designing interfaces, finding inspiration in pate= nt > encumbered technologies is one of the last things I would recommend. While parts of the .NET class library most certainly contain patented code, the C# language itself is part of an ECMA specification, and thus the delegate _syntax_ (not the actual implementation) would be safe to use... Or so I think - patents make my mind spin T_T >=20 > Sometimes the GNU project has gone to great lengths to avoid being covere= d > by patents, like in the development of gzip, or in its endorsement of the > Xiph Foundation. I don't personally think we need to be so radical for G= RUB, > but we could at least be careful. >=20 --=-hRmwrXH5yECdgE12J3xu Content-Type: application/pgp-signature; name=signature.asc Content-Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQIVAwUASKLPiqSl+Fbdeo72AQJiYQ/+PwFsOLY3rHw2h9/MLjQn5pq2faBy5RAm KE8XUdZdEuNrCjdn+gnH1eTtcayY4ceawcuuvch0pwbFdF39SEfWQT8GVnd9nx8/ 1rVo2cZ4T0d232Q2F5nSq944fSFiDtoBlYyaG7hLOBg8mD5tT+18CeZMEDsga7Aw nmkq/uXnMqRc8P6cMuyQCPeSpuPMM+PeMOlxnZW02qBb5L8XEigTcZeiWIXJIK1g eDi58SCP/AygYMHCMJaLRYVoYgIaf/y3FwpM43Vb1P0g5Jye//LVjzK0rT2k0KnM +vO2dI3F8lFqqZ3JYCV5XZAjTrECizwmc+S5AN58a1sLd+BDDZVia5RwwMnO4hD/ /CGBM2e7mPD28dleOttjjf8OW14XKiBG7AI3KBZT7cbKKMka8dOPDmMYKvSiA7Um Lg5xLWYoh9sCHQSWHHhz+ReHxKiePxRVHqqyJm43pTlgiSrXpmdrzRlLMYuBmSaN IdNgJx+bk0MsgqUX+57/X8I3Wj8sD1U3SUu6NEbfqMvfD9SvcgbtXDoyZimffu3g SYoDnEDZHC4nvMA5Pbr7n18xc55AJP/EQA8KhTj1xyvH3FNKW6p/b8+EcpHQBc9u kYzhiLm4YbxImP9kmOog4r04ogT4JTt6pNgmhpz3YqL3XXR92SjjKweCmglRtMvr IxFmg9MHRxA= =tFHt -----END PGP SIGNATURE----- --=-hRmwrXH5yECdgE12J3xu--