From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-dev+bounces-26176-garchives=archives.gentoo.org@gentoo.org>)
	id 1IU1xv-0007f5-K0
	for garchives@archives.gentoo.org; Sat, 08 Sep 2007 15:11:20 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l88F3gAf010990;
	Sat, 8 Sep 2007 15:03:42 GMT
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l88F1oQ0008751
	for <gentoo-dev@lists.gentoo.org>; Sat, 8 Sep 2007 15:01:51 GMT
Received: from [192.168.1.2] (graaff.xs4all.nl [80.100.185.49])
	(using TLSv1 with cipher RC4-MD5 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTP id BD48064CF7
	for <gentoo-dev@lists.gentoo.org>; Sat,  8 Sep 2007 15:01:49 +0000 (UTC)
Subject: Re: [gentoo-dev] New eclasses for XEmacs lisp
From: Hans de Graaff <graaff@gentoo.org>
To: gentoo-dev@lists.gentoo.org
In-Reply-To: <46E2B2B6.1040905@gentoo.org>
References: <1189237711.23753.8.camel@ip6-localhost>
	 <46E2B2B6.1040905@gentoo.org>
Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-uYgDAfmvWHE3m65Cx0Dz"
Organization: Gentoo
Date: Sat, 08 Sep 2007 17:01:27 +0200
Message-Id: <1189263687.12857.4.camel@ip6-localhost>
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
Mime-Version: 1.0
X-Mailer: Evolution 2.10.3 
X-Archives-Salt: 806ecec1-871d-4d3b-8ff3-5717cebb06eb
X-Archives-Hash: 5d1c987d71ae14cdfa7db264645ad286


--=-uYgDAfmvWHE3m65Cx0Dz
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Sat, 2007-09-08 at 17:33 +0300, Petteri R=C3=A4ty wrote:

> Would it be possible to have one set of eclasses that handles both
> XEmacs and Emacs?

Possible, yes, but I don't think it is practical. Even though the
general steps to compile and install elisp are the same for GNU Emacs
and XEmacs, there are also a lot of finicky little implementation
details that are different. There would not be a lot of joined code, I
think.=20

> xemacs-elisp-install () { insinto etc should be wrapper in a subshell so
> that it can't change the env of the caller.

While looking for some examples I found that not many eclasses currently
do this, so perhaps this is good advice for others as well? Petteri's
own java-utils-2.eclass does support this, obviously, and so will the
xemacs eclass.

Kind regards,

Hans

--=-uYgDAfmvWHE3m65Cx0Dz
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQBG4rk90BM77Tkv120RAnROAKCfd1ngjzialwlzfAYsE4HqMA/FiQCeJaSH
We29VwDnRbSNk8ajQD9yHVQ=
=PvU4
-----END PGP SIGNATURE-----

--=-uYgDAfmvWHE3m65Cx0Dz--

-- 
gentoo-dev@gentoo.org mailing list