From: Tom Tromey <tromey@redhat.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: document package.el
Date: Sat, 21 Aug 2010 19:40:17 -0600 [thread overview]
Message-ID: <m3tymntofy.fsf@fleche.redhat.com> (raw)
In-Reply-To: <83r5hrol3f.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 21 Aug 2010 21:51:32 +0300")
>>>>> "Eli" == Eli Zaretskii <eliz@gnu.org> writes:
Eli> Most environments that have Emacs also have the external programs
Eli> needed for the other formats.
... but some don't.
Eli> "Only packagers"? What about a package I downloaded from elsewhere?
Eli> I don't expect many packages nowadays to come in a .tar format.
I don't know what packages you could possibly mean.
Packages for use with package.el must be packaged according to the rules
imposed by package.el. Of these rules, use of .tar is a trivial one,
the other impose a lot more burden.
Users of package.el generally install packages from the package archive,
via the package menu mode. They don't generally just download random
.tar files. And, if they did -- so what? The .tar is just the
distribution format.
Tom> + If the package has an info manual, you should distribute the needed
Tom> +info files, plus a @file{dir} file made with @command{install-info}.
Eli> Not clear why the `dir' file is needed. Are you trying to support
Eli> users that don't have install-info on their systems?
Tom> Yes.
Eli> Why?
My goal in writing package.el was a seamless user experience. I tried
hard to minimize the number of error modes that a user could see.
Hence:
* Use of .tar and not anything else, even .tar.gz -- because .tar can be
unpacked entirely in elisp.
* Use of package dependencies, to make it so you can't install a package
and have it not work.
* Before I upload a package I also generally make a point of looking at
how it is activated, looking at least for autoload cookies.
The general theme is to make packagers do a bit more work so that users
get a better experience.
Tom
next prev parent reply other threads:[~2010-08-22 1:40 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-06 22:42 document package.el Tom Tromey
2010-08-06 23:48 ` Phil Hagelberg
2010-08-09 16:22 ` Tom Tromey
2010-08-07 1:43 ` Christoph
2010-08-07 8:57 ` Geralt
2010-08-09 16:23 ` Tom Tromey
2010-08-26 23:27 ` Juri Linkov
2010-08-26 23:50 ` Stefan Monnier
2010-08-27 3:14 ` Christoph
2010-08-27 5:51 ` Uday S Reddy
2010-08-27 3:12 ` Christoph
2010-08-27 7:07 ` Uday S Reddy
2010-08-27 21:40 ` Phil Hagelberg
2010-08-28 17:34 ` Tom Tromey
2010-08-27 6:43 ` Uday S Reddy
2010-08-27 15:51 ` Tom Tromey
2010-08-27 16:17 ` Chong Yidong
2010-08-27 21:43 ` Richard Stallman
2010-08-27 22:58 ` Christoph
2010-08-28 7:25 ` Uday S Reddy
2010-08-07 7:47 ` Eli Zaretskii
2010-08-08 22:39 ` Chong Yidong
2010-08-09 16:24 ` Tom Tromey
2010-08-21 18:22 ` Tom Tromey
2010-08-21 18:51 ` Eli Zaretskii
2010-08-22 1:40 ` Tom Tromey [this message]
2010-08-08 23:06 ` Chong Yidong
2010-08-09 21:13 ` Tom Tromey
2010-08-21 18:37 ` Tom Tromey
2010-08-25 17:24 ` Chong Yidong
2010-08-25 17:34 ` Tom Tromey
2010-08-25 17:35 ` Chong Yidong
2010-08-17 14:37 ` Uday S Reddy
2010-08-17 15:57 ` Tom Tromey
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=m3tymntofy.fsf@fleche.redhat.com \
--to=tromey@redhat.com \
--cc=eliz@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.