[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Loading an output from prin1 (savehist bug).
From: |
Michaël Cadilhac |
Subject: |
Loading an output from prin1 (savehist bug). |
Date: |
Wed, 03 May 2006 18:00:50 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
I don't know how this bug can be worked around.
emacs -Q
(defun foo (marker)
(interactive (list (make-marker))))
(defun bar (marker-list)
(interactive (list (list (make-marker)))))
(defun baz (marker-vector)
(interactive (list (make-vector 1 (make-marker)))))
(setq command-history nil)
Then M-x foo M-x bar M-x baz
Then C-h v command-history
> [...]
> Its value is
> ((describe-variable 'command-history)
> (baz
> '[#<marker in no buffer>])
> (bar
> '(#<marker in no buffer>))
> (foo '#<marker in no buffer>))
> [...]
If some code output command-history with prin1 then try to load it
back, the # things will cause parse errors.
This bug occurs to me when I:
- Use bbdb-create, and add a new buddy,
- Quit Emacs and launch it again, with savehist-mode enabled.
Regards.
--
| Michaël `Micha' Cadilhac | Would someone please DTRT with this |
| Epita/LRDE Promo 2007 | then ACK? |
| http://www.lrde.org/~cadilh_m | -- Richard Stallman |
`-- - JID: address@hidden --' - --'
pgpwvlQHTNZNN.pgp
Description: PGP signature
- Loading an output from prin1 (savehist bug).,
Michaël Cadilhac <=
- Re: Loading an output from prin1 (savehist bug)., Michaël Cadilhac, 2006/05/23
- Re: Loading an output from prin1 (savehist bug)., Richard Stallman, 2006/05/24
- Re: Loading an output from prin1 (savehist bug)., Michaël Cadilhac, 2006/05/25
- Re: Loading an output from prin1 (savehist bug)., Stefan Monnier, 2006/05/25
- Re: Loading an output from prin1 (savehist bug)., Richard Stallman, 2006/05/25
- Re: Loading an output from prin1 (savehist bug)., Johan Bockgård, 2006/05/26
- Re: Loading an output from prin1 (savehist bug)., Richard Stallman, 2006/05/26
- Re: Loading an output from prin1 (savehist bug)., Richard Stallman, 2006/05/25