From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.auctex.devel,gmane.emacs.devel Subject: Updating the GNU ELPA package of AucTeX Date: Thu, 29 Aug 2013 12:19:17 -0400 Message-ID: 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 1377793195 22733 80.91.229.3 (29 Aug 2013 16:19:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 Aug 2013 16:19:55 +0000 (UTC) Cc: emacs-devel@gnu.org To: auctex-devel@gnu.org Original-X-From: auctex-devel-bounces+gead-auctex-devel=m.gmane.org@gnu.org Thu Aug 29 18:19:59 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 1VF4wv-0004Mc-68 for gead-auctex-devel@m.gmane.org; Thu, 29 Aug 2013 18:19:57 +0200 Original-Received: from localhost ([::1]:44825 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VF4wu-0005ag-Mu for gead-auctex-devel@m.gmane.org; Thu, 29 Aug 2013 12:19:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38205) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VF4wl-0005ZO-53 for auctex-devel@gnu.org; Thu, 29 Aug 2013 12:19:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VF4wd-0005aG-R0 for auctex-devel@gnu.org; Thu, 29 Aug 2013 12:19:47 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:28722) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VF4wd-0005aC-Mv; Thu, 29 Aug 2013 12:19:39 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsoGABK/CFHO+KK6/2dsb2JhbABEtyKHbBdzgnsjTyYYDVKHdsEtjWGDKQOSWwOSHIFegxM X-IPAS-Result: AsoGABK/CFHO+KK6/2dsb2JhbABEtyKHbBdzgnsjTyYYDVKHdsEtjWGDKQOSWwOSHIFegxM X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="25924758" Original-Received: from 206-248-162-186.dsl.teksavvy.com (HELO pastel.home) ([206.248.162.186]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 29 Aug 2013 12:16:31 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 7CEC962EEB; Thu, 29 Aug 2013 12:19:17 -0400 (EDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 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:3201 gmane.emacs.devel:163087 Archived-At: The GNU ELPA package of AucTeX is ridiculously old. 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. The differences I can see are the following: - the `preview' sub directory (in `elpa' there's no such directory, all the files within it are either removed or moved up one level). - the .dtx vs .sty files. - the .texi vs .info files. - the Makefile.in, configure.ac, and friends. Ideally, I'd like the GNU ELPA package to be built directly from the source code (currently it seems it's made from the tarball instead, IIUC). But contrary to the XEmacs case, the construction of the GNU ELPA package is made by a very simplistic process (which does very little more than create an auctex-autoloads.el file, and tar-up the result). I can make this process more sophisticated, but since it's run fully automatically, I'd very much prefer not having to run code from the package itself. IOW, it's easy to arrange the construction so as not to include some files (e.g. Makefile.in). It's also possible (but I'm not very eager to do it) to rename files during construction. But I really would not want to extract the sty from the dtx during construction. So, the real problems are: * Preview subdir: I see two clean and easy ways to deal with: - Split it (again) from AucTeX. - "mv preview/* ./; rmdir preview" Is one of those two options agreeable to you? * 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. * The .dtx files: Here, building the .sty during construction of the ELPA package is not really an option. 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? -- Stefan