GNU bug report logs -
#24576
25.1; desktop.el does not fully preserve registers with macros
Previous Next
Reported by: Dmitri Paduchikh <dpaduchikh <at> gmail.com>
Date: Sat, 1 Oct 2016 04:50:01 UTC
Severity: normal
Tags: fixed
Found in version 25.1
Fixed in version 27.1
Done: npostavs <at> gmail.com
Bug is archived. No further changes may be made.
Full log
Message #11 received at 24576 <at> debbugs.gnu.org (full text, mbox):
Matthew Newton <matt <at> knosis.org> writes:
> Apologies for reviving a stale bug but it appears to not be resolved yet.
No apologies needed, on the contrary, thank you for looking at it.
> So there seem to be two bugs:
>
> 1. `desktop-save-mode` doesn’t serialize/deserialize keyboard macros
> properly (is it difficult to serialize a function object?)
> 2. Either :print-func and :insert-func should never be set to
> “Unprintable entity” or `register-val-describe` should handle the case
> where they are set to that value instead of a function.
The "unprintable entity" comes from desktop--v2s, looks like it doesn't
handle compiled function values, so that's why :print-func and
:insert-func get messed up like that.
> I’ve also seen “Unprintable entity” show up when a buffer position
> register points to a nonexistent buffer. Not sure how to reproduce
> that one.
I guess if you save a position in a buffer, then kill the buffer.
This bug report was last modified 6 years and 60 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.