unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Updating the GNU ELPA package of AucTeX
@ 2013-08-29 16:19 Stefan Monnier
  2013-08-30  7:34 ` Tassilo Horn
  0 siblings, 1 reply; 13+ messages in thread
From: Stefan Monnier @ 2013-08-29 16:19 UTC (permalink / raw)
  To: auctex-devel; +Cc: emacs-devel

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-09-14  3:37 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-29 16:19 Updating the GNU ELPA package of AucTeX Stefan Monnier
2013-08-30  7:34 ` Tassilo Horn
2013-08-30 12:31   ` Stefan Monnier
2013-09-03  7:32     ` Tassilo Horn
2013-09-03  7:42       ` David Kastrup
2013-09-03  9:00         ` Tassilo Horn
2013-09-03 13:48           ` Stefan Monnier
2013-09-03 14:19             ` David Kastrup
2013-09-03 19:15               ` [AUCTeX-devel] " Stefan Monnier
2013-09-03 19:29                 ` David Kastrup
2013-09-05 17:31                   ` [AUCTeX-devel] " Stefan Monnier
2013-09-06 10:31                     ` Tassilo Horn
2013-09-14  3:37                       ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).