unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: [drew.adams@oracle.com: No doc for cl stuff even after loading cl?]
Date: Wed, 24 May 2006 13:35:37 -0400	[thread overview]
Message-ID: <jwvac97miwq.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <8764jve5z9.fsf@stupidchicken.com> (Chong Yidong's message of "Wed, 24 May 2006 12:35:06 -0400")

>> I agree that this is a bug.  Can someone work on it, then ack?
> Having looked into this, I think the only way around the current
> behavior would be to have cl.el load all the cl-* libraries instead of
> autoloading individual functions (which is Bad), or pasting all the
> documentation strings in the cl-* files into cl.el for autoloading
> (which is Silly).  I don't think this is worth fixing.

We could add ;;;###autoload cookies in cl-macs.el and friends and then
arrange for autoloads.el to put the autoload statements in cl.el (rather
than loaddefs.el) by adding file-local settings of generated-autoload-file.

Such a trick could also be used for a few other cases (I'm thinking of the
autoloads for makenifo.el and texnfo-upd.el which are currently
hand-written in texinfo.el, but I'm sure there are others).

This would be made easier if autoload.el were made to read the file local
variables.  Incidentally, reading file local variables is also needed to
properly implement the no-update-autoloads flag.


        Stefan

  reply	other threads:[~2006-05-24 17:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-14  2:39 [drew.adams@oracle.com: No doc for cl stuff even after loading cl?] Richard Stallman
2006-05-24 16:35 ` Chong Yidong
2006-05-24 17:35   ` Stefan Monnier [this message]
2006-05-25  0:37     ` Richard Stallman
2006-05-29  9:09       ` Stefan Monnier
2007-06-27 19:19       ` Stefan Monnier
2007-06-27 19:52         ` Juanma Barranquero
2007-06-28 15:12           ` Stefan Monnier
2007-06-28 15:45             ` Juanma Barranquero
2007-06-27 23:42         ` 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

  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=jwvac97miwq.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@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 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).