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

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

bug#68235: 29.1.90; Switching tabs stops following process output in sel


From: Juri Linkov
Subject: bug#68235: 29.1.90; Switching tabs stops following process output in selected window
Date: Sun, 18 Feb 2024 09:35:58 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)

>> One problem is that whether to run the hook is defined by the fourth 
>> argument.
>> This means that it a user needs to use the hook, there is no way to change
>> the fourth argument of the existing function calls in core commands.
>>
>> Maybe better to keep windows when the hook is not empty?
>> I.e. something like this for 'window--state-put-2':
>>
>>    (when window-state-put-keep-window-functions
>>      ...
>>      (push (list window old-buffer-or-name start-pos point-pos)
>>            window-state-put-kept-windows))
>
> You mean to do away with the KEEP-WINDOWS argument and keep windows iff
> `window-state-put-keep-window-functions' is non-nil?

Yes, I meant removing the KEEP-WINDOWS argument.

> This would be up to you to decide.  Only some practice can tell what's
> better here.

Otherwise users won't be able to use this hook for existing commands
that don't set the KEEP-WINDOWS argument.





reply via email to

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