[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 23.0.50; savehist save invalid syntax
From: |
Stefan Monnier |
Subject: |
Re: 23.0.50; savehist save invalid syntax |
Date: |
Tue, 04 Sep 2007 23:20:10 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) |
>> I think the best approach is to discard any element of command-history
>> that contains anything unreadable. If the arguments of a command
>> include a mouse event, repeating it in another session won't make much
>> sense anyway.
> With this much complexity, my temptation would be to provide a
> print-readable function (or an optional argument to an existing printer)
> that signalled if it were asked to print something that has no read
> syntax. Of course, this could be done in Lisp by recursively checking the
> type of every element of every sequence, but that would traverse the tree
> twice and would fail on circular structures unless `print-circle' were
> duplicated within it.
Agreed, except that rather than failing, the function should call a callback
which could choose to print those failed elements in some way (or to signal
an error).
Stefan
- 23.0.50; savehist save invalid syntax, Leo, 2007/09/02
- RE: 23.0.50; savehist save invalid syntax, Drew Adams, 2007/09/02
- Re: 23.0.50; savehist save invalid syntax, Richard Stallman, 2007/09/02
- Re: 23.0.50; savehist save invalid syntax, Davis Herring, 2007/09/04
- Re: 23.0.50; savehist save invalid syntax,
Stefan Monnier <=
- Re: 23.0.50; savehist save invalid syntax, Richard Stallman, 2007/09/05
- Re: 23.0.50; savehist save invalid syntax, Davis Herring, 2007/09/05
- Re: 23.0.50; savehist save invalid syntax, Richard Stallman, 2007/09/06
- RE: 23.0.50; savehist save invalid syntax, Drew Adams, 2007/09/09
- Re: 23.0.50; savehist save invalid syntax, Andreas Schwab, 2007/09/09
- RE: 23.0.50; savehist save invalid syntax, Drew Adams, 2007/09/09
- RE: 23.0.50; savehist save invalid syntax, Drew Adams, 2007/09/09
- RE: 23.0.50; savehist save invalid syntax, Davis Herring, 2007/09/10
- RE: 23.0.50; savehist save invalid syntax, Drew Adams, 2007/09/10
- Re: 23.0.50; savehist save invalid syntax, Richard Stallman, 2007/09/10