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

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

bug#33871: 27.0.50; Revert Dired window saved in window configuration


From: martin rudalics
Subject: bug#33871: 27.0.50; Revert Dired window saved in window configuration
Date: Mon, 25 Mar 2024 10:41:08 +0100
User-agent: Mozilla Thunderbird

> This was meant to denote a context inside a window.
> Then maybe a better prefix would be 'window-point-context'?

Do we want to restrict this to 'point'? What about start or end
positions?

>> IIUC the context is stored but not the function to restore the position
>> from the context.
>
> Indeed, there was an idea to store a function that restores point, but
> this might be problematic when saving such a function to the desktop file.

How comes?

> Therefore, the patch has two separate functions to save and restore context
> as mere strings and numbers.

>>> And when the buffer is killed, there is no need
>>> to restore a context in the killed buffer.
>>
>> If you don't intend to restore the context from the file the buffer was
>> visiting.  Are you sure you don't want to do that?
>
> After the buffer was killed?  This doesn't seems necessary.

Then why did we provide a facility to restore the point and start of a
window via 'window-restore-killed-buffer-windows'?

martin





reply via email to

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