bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#24576: 25.1; desktop.el does not fully preserve registers with macro


From: Noam Postavsky
Subject: bug#24576: 25.1; desktop.el does not fully preserve registers with macros
Date: Sat, 11 May 2019 08:15:50 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

Matthew Newton <matt@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.







reply via email to

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