GNU bug report logs -
#67993
Selecting buffer automatically
Previous Next
Reported by: Juri Linkov <juri <at> linkov.net>
Date: Sat, 23 Dec 2023 17:56:01 UTC
Severity: wishlist
Tags: patch
Fixed in version 30.0.50
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
>> This is what I see with the current patch:
>>
>> 1.
>> (let ((display-buffer-alist '(("1" nil (select-window . nil)))))
>> (delete-other-windows) (split-window) (split-window) (balance-windows)
>> (pop-to-buffer (get-buffer-create "1"))
>> (pop-to-buffer (get-buffer-create "2")))
>>
>> then the original window remains selected.
>
> But this means that the customization for "1" affects popping to "2".
> If this is the intended effect, it should be documented.
But actually the customization for "1" doesn't affect popping to "2"
because pop-to-buffer still selects windows and creates such layout:
*scratch*
Buffer "1"
Buffer "2"
Only post-command-hook selects the original window afterwards
instead of leaving the buffer "2" selected.
This bug report was last modified 1 year and 125 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.