GNU bug report logs - #68235
29.1.90; Switching tabs stops following process output in selected window

Previous Next

Package: emacs;

Reported by: Dan McCarthy <daniel.c.mccarthy <at> gmail.com>

Date: Wed, 3 Jan 2024 20:49:02 UTC

Severity: normal

Found in version 29.1.90

Fixed in version 30.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


Message #67 received at 68235 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: martin rudalics <rudalics <at> gmx.at>
Cc: daniel.c.mccarthy <at> gmail.com, Eli Zaretskii <eliz <at> gnu.org>,
 68235 <at> debbugs.gnu.org
Subject: Re: bug#68235: 29.1.90; Switching tabs stops following process
 output in selected window
Date: Sat, 13 Jan 2024 20:20:38 +0200
>> So we'd need a persistent window parameter
>>
>> (1) whose value is set to dired's file name at point in
>> 'current-window-configuration'
>>
>> (2) and allows to restore the window's point appropriately in
>> 'set-window-configuration'.
>
> I now think that we need two or three hooks:
>
> - 'pre-current-window-configuration-functions', an abnormal hook that
>   receives one argument - the frame whose configuration shall be
>   recorded.  'dired' has to set a persistent window parameter, for each
>   window on that frame it uses, whose value is whatever is needed to
>   restore the present state of the buffer in that window.

Actually one hook 'pre-current-window-configuration-functions' should be
sufficient.  Like there is only 'isearch-push-state-function' that can
be used to save a lambda that can restore the current window-start, then
on going back this lambda is called and restores the previous window-start.




This bug report was last modified 1 year and 30 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.