all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: Lennart Borgman <lennart.borgman@gmail.com>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: Defcustoms, how do users find them?
Date: Tue, 17 Nov 2009 12:03:11 +0200	[thread overview]
Message-ID: <87ocn1fnko.fsf@mail.jurta.org> (raw)
In-Reply-To: <e01d8a50911161311p76b0ec43k686968bf35e07b5a@mail.gmail.com> (Lennart Borgman's message of "Mon, 16 Nov 2009 22:11:34 +0100")

> This defcustom is not autoloaded. How are users supposed to find it?
> Should all defcustoms be autoloaded?

Autoloading of defcustom causes problems with default values.
For autoloaded defcustoms the default is computed at the startup time
before loading .emacs and calling custom-set-variables where other variables
get their values that may be used for computing the default value of
the autoloaded defcustom.

Please see the related bug#4387 for more information:
http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4387

There is the following etc/TODO task:

  ** Remove unnecessary autoload cookies from defcustoms.
  This needs a bit of care, since often people have become used to
  expecting such variables to always be defined, eg when they modify
  things in their .emacs.

I'm not sure what does mean "This needs a bit of care"?
So I hesitate to remove the autoload cookie from `find-name-arg'
to fix the bug#4387.

PS: Removing the autoload cookie from `find-name-arg' also means
adding (require 'find-dired) to rgrep where it is used, but it seems
this is not a problem.

-- 
Juri Linkov
http://www.jurta.org/emacs/




  parent reply	other threads:[~2009-11-17 10:03 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-16 21:11 Defcustoms, how do users find them? Lennart Borgman
2009-11-16 23:05 ` Stefan Monnier
2009-11-16 23:49   ` Lennart Borgman
2009-11-17  2:52     ` Stefan Monnier
2009-11-17  3:17       ` Lennart Borgman
2009-11-17  3:38         ` Stefan Monnier
2009-11-17  3:41           ` Lennart Borgman
2009-11-17 14:22             ` Lennart Borgman
2009-11-17 14:45               ` Lennart Borgman
2009-11-17 23:13                 ` Lennart Borgman
2009-11-18  3:26                   ` Stefan Monnier
2009-11-18  3:31                     ` Lennart Borgman
2009-11-18 14:34                       ` Stefan Monnier
2009-11-26 12:51                         ` Lennart Borgman
2009-11-26 16:42                           ` Lennart Borgman
2009-11-26 17:30                             ` Stefan Monnier
2009-11-26 17:36                               ` Lennart Borgman
2009-11-27  2:09                                 ` Stefan Monnier
2009-11-27  2:22                                   ` Lennart Borgman
2009-11-26 16:45                           ` Stefan Monnier
2009-11-17 10:03 ` Juri Linkov [this message]
2009-11-17 17:24   ` Glenn Morris
2009-11-18  9:57     ` Juri Linkov
2009-11-18 14:37       ` Stefan Monnier
2009-11-17 17:49   ` Drew Adams
2009-11-17 17:56     ` Lennart Borgman

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=87ocn1fnko.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=emacs-devel@gnu.org \
    --cc=lennart.borgman@gmail.com \
    /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.