all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: sperber@informatik.uni-tuebingen.de (Michael Sperber [Mr.  Preprocessor])
Cc: Miles Bader <miles@gnu.org>, Richard Stallman <rms@gnu.org>,
	emacs-devel@gnu.org
Subject: Re: XEmacs package code
Date: Thu, 23 May 2002 11:59:58 +0200	[thread overview]
Message-ID: <y9loff72nhd.fsf@informatik.uni-tuebingen.de> (raw)
In-Reply-To: <200205192351.g4JNpj124870@rum.cs.yale.edu> ("Stefan Monnier"'s message of "Sun, 19 May 2002 19:51:45 -0400")

>>>>> "Stefan" == Stefan Monnier <monnier+gnu/emacs@RUM.cs.yale.edu> writes:

Stefan> You obviously have a lot of experience with such a package system, so
Stefan> I'd love to know more about the details and the reasons for those details.

Stefan> I was imagining a system as follows:

Stefan> Packages distributed as a directory (like url, w3, gnus, x-symbol, ...)
Stefan> get installed into <prefix>/w3-3.0.45.  Packages distributed as a single
Stefan> file get installed into <prefix>/<subdir>/<filename>.el(c)

Stefan> The user then puts in his .emacs (and/or site-lisp/site-start.el) a set
Stefan> of versioning options:

Stefan>    (load "<prefix>/w3-3.0.44/autoloads")
Stefan>    (load "<prefix>/subdir-beta/autoloads")

Stefan> These "autoloads" file add their directory to the load-path and
Stefan> setup the usual autoloads and auto-mode-alist kind of things.

Stefan> So you can install several versions of packages and the user chooses
Stefan> which one she wants.  For single-file-packages, she can only choose
Stefan> on a group-of-packages basis, where the grouping is up to the installer.

Stefan> Now this does not automatically handle the issue of "package X wants
Stefan> version Y of package Z", but it lets the user take care of it.
Stefan> And of course, if we assume that the (load "foobar/autoloads") commands
Stefan> are added by the package-manager, the dependencies could still be
Stefan> obeyed without the user having to do anything, as long as some kind
Stefan> of dependency-description language like the one you propose is available
Stefan> (but that would be a separate layer).

Stefan> Alright, I haven't really asked too many questions, have I ?

Stefan> I'm not sure what question I want to ask apart from
Stefan> - is the above hopelessly flawed ?
Stefan> - if not, does it look anything like what you have in mind ?

It looks almost exactly like what I have in mind, except my has
provisions for doing automatically what you have the user "take care"
of.  I do think, however, that the latter is crucial.  In cases where
this becomes relevant, the symptoms of bad package interaction are way
too bad for the user to figure out.

Stefan> - what are the layer/decomposition you're considering ?
Stefan>   there are obviously several issues:
Stefan>   - package format when installing.

I'm all for .tar.gz.

Stefan>   - package format once installed.

I intend to keep the specification of that as loose as possible.

Stefan>   - representation of dependency.
Stefan>   - who/when do we use the dependency info.
Stefan>   - ...

That stuff is in the draft, I believe.  It's the most elaborately
formulated part of all that's there.

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla

  reply	other threads:[~2002-05-23  9:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-13 15:23 XEmacs package code Michael Sperber [Mr.  Preprocessor]
2002-04-13 23:36 ` Miles Bader
2002-04-22 12:26   ` Michael Sperber [Mr.  Preprocessor]
2002-04-23 13:53     ` Kai Großjohann
2002-04-23 14:15       ` Michael Sperber [Mr.  Preprocessor]
2002-05-19 23:51     ` Stefan Monnier
2002-05-23  9:59       ` Michael Sperber [Mr.  Preprocessor] [this message]
2002-04-14 16:27 ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2002-04-05 19:06 Richard Stallman

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=y9loff72nhd.fsf@informatik.uni-tuebingen.de \
    --to=sperber@informatik.uni-tuebingen.de \
    --cc=emacs-devel@gnu.org \
    --cc=miles@gnu.org \
    --cc=rms@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.