From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.auctex.devel,gmane.emacs.devel Subject: Re: Updating the GNU ELPA package of AucTeX Date: Fri, 30 Aug 2013 09:34:18 +0200 Message-ID: <878uzj639h.fsf@thinkpad.tsdh.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1377848072 31136 80.91.229.3 (30 Aug 2013 07:34:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Aug 2013 07:34:32 +0000 (UTC) Cc: auctex-devel@gnu.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: auctex-devel-bounces+gead-auctex-devel=m.gmane.org@gnu.org Fri Aug 30 09:34:35 2013 Return-path: Envelope-to: gead-auctex-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VFJE2-0003rC-Tp for gead-auctex-devel@m.gmane.org; Fri, 30 Aug 2013 09:34:35 +0200 Original-Received: from localhost ([::1]:47789 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFJE1-0000Qu-UP for gead-auctex-devel@m.gmane.org; Fri, 30 Aug 2013 03:34:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55091) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFJDu-0000QY-Is for auctex-devel@gnu.org; Fri, 30 Aug 2013 03:34:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VFJDp-0000aX-9G for auctex-devel@gnu.org; Fri, 30 Aug 2013 03:34:26 -0400 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]:45070) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VFJDp-0000aP-55; Fri, 30 Aug 2013 03:34:21 -0400 Original-Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id B149B20D4D; Fri, 30 Aug 2013 03:34:20 -0400 (EDT) Original-Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Fri, 30 Aug 2013 03:34:20 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:cc:subject:references:date :in-reply-to:message-id:mime-version:content-type; s=smtpout; bh=Lryxk+uNZTuhjRDMkOuZvYMHNcw=; b=SKT4ZwPiWUTWD0GRWYXCKtKb5HPq lX8d6JMtNMKrSX2pnQ7Y3fjLUNQHTlKkI+oUCuSaBBQLoBq0j/YA6tJSFjRTjtt5 22HGY1ZV9J07lqtzAfMQC6u+LXjAOq6no2x7T6am8Wc9NQ9KfK+dMy8UpGwDy8Z3 wSizuY9HFWsobSw= X-Sasl-enc: C9tPzCaA1dxm3p+BIU18StiDHwbk5jeNfP64fFxkBFSL 1377848060 Original-Received: from thinkpad.tsdh.org (unknown [91.67.164.26]) by mail.messagingengine.com (Postfix) with ESMTPA id 09C736800C8; Fri, 30 Aug 2013 03:34:19 -0400 (EDT) Mail-Followup-To: Stefan Monnier , auctex-devel@gnu.org, emacs-devel@gnu.org In-Reply-To: (Stefan Monnier's message of "Thu, 29 Aug 2013 12:19:17 -0400") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 66.111.4.27 X-BeenThere: auctex-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion list for AUCTeX developers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: auctex-devel-bounces+gead-auctex-devel=m.gmane.org@gnu.org Original-Sender: auctex-devel-bounces+gead-auctex-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.auctex.devel:3202 gmane.emacs.devel:163102 Archived-At: Stefan Monnier writes: Hi Stefan, > The GNU ELPA package of AucTeX is ridiculously old. Yep. > As part of updating, I'd like to "streamline" the process, which > mostly involves reducing the difference between the code in the `elpa' > branch and the code in the official auctex repository. I've hoped that with the new Git ELPA, we could just checkout the savannah auctex repository as submodule, and then add some hacks to the makefiles to produce tarballs suitable for ELPA. Won't work, no? I mean, you can run auctex just fine just by $ ./configure $ make and then setting TeX-data-directory to the auctex checkout directory. Doesn't that mean that the ELPA build could just build auctex, package the files meant for distribution preserving the repository directory structure, and setting TeX-data-directory to ~/.emacs.d/elpa/auctex-/? Ah, btw, I think I've hunted down all past contributors that hadn't signed a CA already. So now I think there's no file left that has to be excluded. > So, the real problems are: > > * Preview subdir: > > I see two clean and easy ways to deal with: > - Split it (again) from AucTeX. I'd prefer to keep it in auctex. > - "mv preview/* ./; rmdir preview" I could live with that. But why is a subdirectory a problem in the first place? > * The .texi files: > > The problem is not specific to auctex, so I'll have to come up with > a solution anyway, probably building the .info files during > construction of the ELPA package. If the build process would just run make, they'd be built. > * The .dtx files: > > Here, building the .sty during construction of the ELPA package is > not really an option. No LaTeX installed on the machine, or what's the matter? > So I see the following ways out: > - Include the generated .sty file in the `elpa' branch (with the > usual problems associated with VCS control of auto-generated files). > - Build the .sty when *installing* the package (when package.el > installs a package, it does various things additionally to unpacking > the tarball, and it could be made to run tex as well). > - Build the .sty lazily just before the user needs it. > Does one of those options sound good to you? I don't really have a preference. The options all sound bad compared to just making running "make" with its LaTeX-deps possible. Bye, Tassilo