unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: help-gnu-emacs@gnu.org
Subject: Re: ELPA and EmacsWiki Updates
Date: Mon, 03 Sep 2007 13:57:36 -0600	[thread overview]
Message-ID: <m3odgjjzdb.fsf@fleche.redhat.com> (raw)
In-Reply-To: 86myw4paaa.fsf@rakim.cfhp.org

>>>>> "Ted" == Edward O'Connor <hober0@gmail.com> writes:

>> Smaller (single file) packages tend to require some comment fixes
>> first[...]

Ted> What sort of fixes? Could ELPA be enhanced to require fewer changes, or
Ted> no changes at all, for the common case?

Usually it is just header comments.  In particular package.el needs 2
things:

* The header and trailer comments have to be correct according to the
  Emacs commenting guidelines.  The header comment holds the package's
  name and also a comment describing the package; also the header and
  trailer are used by package-upload-file to find the boundaries of
  the file.

* package.el needs a "Version:" header comment whose value is a
  "dotted numeric" version number.  package.el uses this to handle
  upgrading packages, only activating a single version, etc.
  (There are other header comments that package.el can use, but this
  is the only required one.)

I suppose we could dispense with these somehow, at the cost of reduced
functionality.  It does make it simpler for uploading if a file has
these -- I don't have to enter anything by hand.  And versioning, I
think, is good for users.

I also like to make sure that a file has proper ;;;###autoload
comments.  I think it is important that packages come ready for action
-- a big part of the goal of ELPA is to make it simple for users to
install and use Emacs packages.

Tom

      reply	other threads:[~2007-09-03 19:57 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-02 20:38 ELPA and EmacsWiki Updates Nordlöw
2007-09-02 21:05 ` Tom Tromey
2007-09-03  1:53   ` Drew Adams
2007-09-03 20:59     ` Tom Tromey
2007-09-03 23:28       ` Drew Adams
2007-09-06  0:14         ` Tom Tromey
2007-09-06 17:00           ` Drew Adams
2007-09-09 17:06             ` Tom Tromey
2007-09-09 18:46               ` Drew Adams
2007-09-09 20:37                 ` Tom Tromey
2007-09-09 21:41                   ` Drew Adams
2007-09-03  5:50   ` Edward O'Connor
2007-09-03 19:57     ` Tom Tromey [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=m3odgjjzdb.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=help-gnu-emacs@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.
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).