all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: auctex-devel@gnu.org
Cc: emacs-devel@gnu.org
Subject: Updating the GNU ELPA package of AucTeX
Date: Thu, 29 Aug 2013 12:19:17 -0400	[thread overview]
Message-ID: <jwv4na8zefq.fsf-monnier+emacs@gnu.org> (raw)

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

             reply	other threads:[~2013-08-29 16:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-29 16:19 Stefan Monnier [this message]
2013-08-30  7:34 ` Updating the GNU ELPA package of AucTeX 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv4na8zefq.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=auctex-devel@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.