unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: 17137@debbugs.gnu.org
Subject: bug#17137: autoload-generate-file-autoloads should respect finder--builtins-alist
Date: Mon, 31 Mar 2014 13:58:02 -0400	[thread overview]
Message-ID: <ikwqfatfmd.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <jwvfvm0x0eq.fsf-monnier+emacsbugs@gnu.org> (Stefan Monnier's message of "Sat, 29 Mar 2014 15:40:17 -0400")

Stefan Monnier wrote:

> I also remember now that maybe autoload-generate-file-autoloads should
> simply use autoload-file-load-name instead of file-name-nondirectory.

Can package names contain "/" characters?

Anyway, the easy solution is to remove Version: as you suggested. I
don't think just setting Package: would work, without also setting
Version: to match whatever the actual package version is (because you
would get a random Version: associated with Package: depending on what
order the files were scanned in).

IMO the problem is that "Version" is a very generic header that people
were using before package.el was invented, and now package.el seems to
want complete ownership of it.

But since this autoloads issue only affects things that ship with Emacs,
we can simply fix up the headers as needed.

Perhaps finder-compile-keywords should somehow issue a warning if it
finds a Version: header in the "wrong" file.





  reply	other threads:[~2014-03-31 17:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-29  1:36 bug#17137: autoload-generate-file-autoloads should respect finder--builtins-alist Glenn Morris
2014-03-29  2:26 ` Stefan Monnier
2014-03-29  2:43   ` Glenn Morris
2014-03-29 19:40     ` Stefan Monnier
2014-03-31 17:58       ` Glenn Morris [this message]
2014-03-31 18:43         ` Stefan Monnier
2014-03-31 18:51           ` Glenn Morris
2014-04-01  0:54             ` 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

  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=ikwqfatfmd.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=17137@debbugs.gnu.org \
    --cc=monnier@IRO.UMontreal.CA \
    /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 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).