[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master 24a8cc5: Define revert-buffer-function for *Memory Report*
From: |
Stefan Monnier |
Subject: |
Re: master 24a8cc5: Define revert-buffer-function for *Memory Report* |
Date: |
Sat, 17 Jul 2021 13:58:29 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Lars Ingebrigtsen [2021-07-17 15:46:14] wrote:
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>>> + (setq-local revert-buffer-function (lambda (_ignore-auto _noconfirm)
>>> + (memory-report)))
>>
>> I hope someone will find it in them to tackle the problem of common
>> "reference" format which can be shared between `revert-buffer-function`,
>> `bookmark`, `help-xref`, ...
>
> What problem is that?
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.
Stefan