[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Gnu emacs under Windows: .emacs and _emacs and savehist
From: |
David Kastrup |
Subject: |
Re: Gnu emacs under Windows: .emacs and _emacs and savehist |
Date: |
Fri, 13 Jul 2007 00:03:19 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
"Drew Adams" <drew.adams@oracle.com> writes:
>> (custom-set-variables
>> ;; custom-set-variables was added by Custom.
>> ;; If you edit it by hand, you could mess it up, so be careful.
>> ;; Your init file should contain only one such instance.
>> ;; If there is more than one, they won't work right.
>> '(savehist-mode t nil (savehist)))
>
> Did you try it? It's hard for us to know if you're still having a
> problem or not.
>
> I'm no expert on this,
Yes.
> but I think that the custom-set-variables should still be
> OK. However, it's not clear to me that you won't still need to call
> (savehist-mode 1). That custom-set-variables sets the mode variable,
No. It uses the customize setter function for setting this variable.
Unless the defcustom is completely broken (and I see no reason to
assume so), this will do whatever is required to activate the mode.
> and sometimes that is sufficient to turn on a mode, but sometimes it
> is not.
If the invocation saved by customize is not sufficient for setting a
mode, this is a bug.
> Things might also depend on which version of savehist.el and which
>version of Emacs you use. As I said, I just require the library and
>call the mode - I didn't customize anything.
In that case, of course, you are yourself responsible for doing
everything necessary for setting the mode.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Re: Gnu emacs under Windows: .emacs and _emacs and savehist, Murray Eisenberg, 2007/07/12
Re: Gnu emacs under Windows: .emacs and _emacs and savehist,
David Kastrup <=