From: David Kastrup <dak@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: unload-feature and defcustom.
Date: Sat, 30 Apr 2005 10:13:01 +0200 [thread overview]
Message-ID: <851x8s3coi.fsf@lola.goethe.zz> (raw)
In-Reply-To: <87ll71y9le.fsf@xs4all.nl> (Lute Kamstra's message of "Fri, 29 Apr 2005 15:51:41 +0200")
Lute Kamstra <Lute.Kamstra.lists@xs4all.nl> writes:
> unload-feature does not completely reverse the effects of defcustom.
>
> Consider this file:
>
> ,----[ a.el ]
> | (defcustom a-cus-var 'a-value
> | "The documentation of `a-cus-var'.")
> | (provide 'a)
> `----
>
> and do:
>
> (require 'a)
> (unload-feature 'a)
>
> I think this is undesirable. Could this be easily fixed? (Maybe by
> letting customize ignore unbound vars.) Or is better to put this on
> the post-release todo list?
post-release, I'd say. It should be noted that files generated with
update-file-autoloads and its cousins actually only contain defvar,
not defcustom, but maybe those are not the most important ones to
unload in general.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
next prev parent reply other threads:[~2005-04-30 8:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-29 13:51 unload-feature and defcustom Lute Kamstra
2005-04-29 19:02 ` HAVE_SYS_SELECT of sysselect.h Nozomu Ando
2005-05-01 22:43 ` Thien-Thi Nguyen
2005-05-01 23:15 ` Thien-Thi Nguyen
2005-05-02 0:21 ` Nozomu Ando
2005-05-02 1:47 ` Thien-Thi Nguyen
2005-05-02 1:53 ` YAMAMOTO Mitsuharu
2005-05-02 2:44 ` Nozomu Ando
2005-05-04 5:45 ` Harald Maier
2005-04-30 8:13 ` David Kastrup [this message]
2005-05-01 12:06 ` unload-feature and defcustom 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=851x8s3coi.fsf@lola.goethe.zz \
--to=dak@gnu.org \
--cc=emacs-devel@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 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.