unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Semantics of autoload cookies on defcustoms
Date: Wed, 05 Jul 2006 00:01:49 -0400	[thread overview]
Message-ID: <jwvodw4d7s6.fsf-monnier+emacs@gnu.org> (raw)


What is the intended effect of adding an autoload cookie on a defcustom?

I ask this question because I recently noticed that setting variables such
as diary-file via custom causes calendar.el to be loaded at startup, even
tho I can't see any reason why such a setting would justify eagerly loading
calendar.el.

So should such variable not have an autoload cookie, or should autoload.el
be adjusted so that it doesn't add calls to `custom-autoload' for them?


        Stefan "who thinks both should be used, since changing autoload.el
                is the only sane way to fix it once and for all, but who
                also thinks that there should be a very good reason
                (explained in a comment) to justify an autoload cookie on
                a variable."

             reply	other threads:[~2006-07-05  4:01 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-05  4:01 Stefan Monnier [this message]
2006-07-07  4:15 ` Semantics of autoload cookies on defcustoms Richard Stallman
2006-07-07 13:33   ` T. V. Raman
2006-07-07 14:10     ` Stefan Monnier
2006-07-08  1:13     ` Richard Stallman
2006-07-07 14:08   ` Stefan Monnier
2006-07-08  1:13     ` Richard Stallman
2006-07-08  3:53       ` Stefan Monnier
2006-07-08 20:57         ` Richard Stallman
2006-07-09  5:32           ` Stefan Monnier
2006-07-09 19:04             ` Richard Stallman
2006-07-10 16:12               ` Stefan Monnier
2006-07-11  5:51                 ` Richard Stallman
2006-07-13 21:13             ` Stefan Monnier
2006-07-16  6:26               ` Richard Stallman
2006-07-23  3:43                 ` 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=jwvodw4d7s6.fsf-monnier+emacs@gnu.org \
    --to=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).