emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Saving minibuffer history


From: Hrvoje Niksic
Subject: Re: Saving minibuffer history
Date: Tue, 25 Oct 2005 21:07:43 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> I also don't understand why you removed the "*" markers from the
>> beginning of docstrings.  Those variables *are* intended to be "set
>> and modified by users".
>
> All defcustom vars can be set via M-x set-variable: the * has no
> effect on them.

That is because in Emacs user-variable-p also returns t on custom
variables.  That is not the case in XEmacs, which still expects *.

> It's a risk, but the same risk exists with savehist-load.  So the
> same "solution" should work as well: warn that it should only be
> used in your .emacs.

I believe you're on to something with the minor mode thing.  It
definitely looks better than the savehist-install/savehist-uninstall
pair (which I just introduced anyway, so it's not like we must support
them for compatibility).

>> savehist is IMO not a good candidate for a minor mode because
>> turning it on and off during an Emacs session does not make much
>> sense.
>
> Yet you provided savehist-uninstall.

Only now, and only to complement savehist-install, which I introduced
to clean up savehist-load.

I think I'll give the mode idea a shot.  I'll try to make it
compatible with XEmacs.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]