emacs-devel
[Top][All Lists]
Advanced

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

Re: savehist-mode: invalid-read-syntax "#"


From: Juri Linkov
Subject: Re: savehist-mode: invalid-read-syntax "#"
Date: Thu, 05 Jan 2006 08:41:45 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

>> Perhaps Emacs should provide a general purpose function (like
>> `desktop-value-to-string') to print Lisp-readable expressions.
>
> You can't make buffers, windows, overlays, yes even markers
> "Lisp-readable".  They are just not restorable by the Lisp reader and
> so one should find out what causes them to be in the history in the
> first place.

Please look at the functions `desktop-value-to-string' and
`desktop-internal-v2s'.  Surely, they can't keep and restore the
values of buffers, windows, overlays and markers, but at least
they don't create unreadable strings.

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

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