emacs-devel
[Top][All Lists]
Advanced

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

Re: master 24a8cc5: Define revert-buffer-function for *Memory Report*


From: Juri Linkov
Subject: Re: master 24a8cc5: Define revert-buffer-function for *Memory Report*
Date: Sun, 18 Jul 2021 00:41:58 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>> The problem that those should all rely on a single piece of information
>> provided by the mode and it should work for help-xref, for bookmark, for
>> revert-buffer instead of having to set those separately, each one using
>> a slightly different representation and calling convention.
>
> Ah, yeah, that's true -- the use cases do overlap somewhat.  And it'd be
> nice to go able to bookmark more special-mode buffers.

Using revert-buffer-function for bookmarking then is similar to
saving revert-buffer-function to the desktop file
to be able to revisit it after restarting Emacs.
This will remove the need of implementing both hooks:
bookmark-make-record-function and desktop-buffer-mode-handlers.



reply via email to

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