[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Saving minibuffer history
From: |
Stefan Monnier |
Subject: |
Re: Saving minibuffer history |
Date: |
Tue, 25 Oct 2005 10:51:21 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> Since turning on a savehist mode calls `savehist-load', it has the nasty
> side effect of ruining existing minibuffer histories.
BTW, one solution is to make sure savehist-load doesn't ruin
existing history. For that ~/.emacs-history should be changed from
(setq foo1 bar1)
(setq foo2 bar2)
...
to
(savehist-set-history
foo1 bar1
foo2 bar2
...)
and then define savehist-set-history to *merge* bar1/bar2/... with the
already existing value of foo1/foo2/...
"Merge" here is probably something along the lines of `append' or
(delete-duplicate (append ...)).
Stefan
- Re: Saving minibuffer history, (continued)
- Re: Saving minibuffer history, Hrvoje Niksic, 2005/10/24
- Re: Saving minibuffer history, Stefan Monnier, 2005/10/24
- Re: Saving minibuffer history, Hrvoje Niksic, 2005/10/25
- Re: Saving minibuffer history, Richard M. Stallman, 2005/10/26
- Re: Saving minibuffer history, Stefan Monnier, 2005/10/24
- Re: Saving minibuffer history, Stefan Monnier, 2005/10/25
- Re: Saving minibuffer history, Hrvoje Niksic, 2005/10/25
- Re: Saving minibuffer history,
Stefan Monnier <=
- Re: Saving minibuffer history, Hrvoje Niksic, 2005/10/25
- Re: Saving minibuffer history, Hrvoje Niksic, 2005/10/25
- Re: Saving minibuffer history, Miles Bader, 2005/10/25
- Re: Saving minibuffer history, Hrvoje Niksic, 2005/10/25
- Re: Saving minibuffer history, Miles Bader, 2005/10/25
- Re: Saving minibuffer history, Stefan Monnier, 2005/10/25
- Re: Saving minibuffer history, Hrvoje Niksic, 2005/10/25
- Re: Saving minibuffer history, Richard M. Stallman, 2005/10/25
- Re: Saving minibuffer history, Richard M. Stallman, 2005/10/16
- Re: Saving minibuffer history, Hrvoje Niksic, 2005/10/16