[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Saving minibuffer history
From: |
David Kastrup |
Subject: |
Re: Saving minibuffer history |
Date: |
Sun, 16 Oct 2005 09:28:27 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
"Drew Adams" <address@hidden> writes:
> An improved version is now available at
> <http://fly.srk.fer.hr/~hniksic/emacs/savehist.el>.
>
> FYI - I had some problems trying to use this library with Emacs 20, but if a
> few minor changes are made, it works well.
>
> Here are the problems I ran into:
>
> 1. (defcustom savehist-modes #o600
> The reader choked on this. I changed it to this:
> (defcustom savehist-modes 384 ; Octal: #o600
>
> 2. (defvar savehist-coding-system (if (string-match "XEmacs" emacs-version)
> 'iso-2022-8
> 'utf-8)
>
> I had problems with the utf-8 coding system. I got this error
> message when I tried to save any file, after loading the library:
> "Removing old name: no such file or directory, <path>/#tmp#0. I
> could not even exit Emacs, getting the same message. When I tried to
> exit without saving anything, I got this error message: Invalid
> coding system: utf-8.
>
> I changed the code to this: (defvar savehist-coding-system nil
>
> With these simple changes, the library seems to work fine in Emacs
> 20. Thanks for it.
Uh, Emacs 20? Why would one need to be compatible with that?
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- Saving minibuffer history, Hrvoje Niksic, 2005/10/14
- Re: Saving minibuffer history, Hrvoje Niksic, 2005/10/14
- Re: Saving minibuffer history, Richard M. Stallman, 2005/10/15
- Re: Saving minibuffer history, Hrvoje Niksic, 2005/10/15
- RE: Saving minibuffer history, Drew Adams, 2005/10/15
- Re: Saving minibuffer history,
David Kastrup <=
- RE: Saving minibuffer history, Drew Adams, 2005/10/16
- Re: Saving minibuffer history, Stefan Monnier, 2005/10/16
- RE: Saving minibuffer history, Drew Adams, 2005/10/16
- Re: Saving minibuffer history, David Kastrup, 2005/10/16
- Re: Saving minibuffer history, Stefan Monnier, 2005/10/16
- Re: Saving minibuffer history, Hrvoje Niksic, 2005/10/17
- Re: Saving minibuffer history, Hrvoje Niksic, 2005/10/16
- Re: Saving minibuffer history, Stefan Monnier, 2005/10/16
- Re: Saving minibuffer history, Hrvoje Niksic, 2005/10/18
- RE: Saving minibuffer history, Drew Adams, 2005/10/24