GNU bug report logs -
#76404
31.0.50; ERC 5.6.1-git: new erc query buffer becomes sole window on RET
Previous Next
Reported by: Trevor Arjeski <tmarjeski <at> gmail.com>
Date: Tue, 18 Feb 2025 20:29:02 UTC
Severity: normal
Found in version 31.0.50
Done: "J.P." <jp <at> neverwas.me>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
"J.P." <jp <at> neverwas.me> writes:
> Trevor Arjeski <tmarjeski <at> gmail.com> writes:
>
>> Using a few new emacs 31 window configurations, upon creating a new erc
>> query buffer with `/query yournick`, hitting RET or sending a message
>> makes the window the sole window in the frame as if C-x 1 was entered.
>>
>> Minimal reproduction:
>>
>> (use-package window
>> :custom
>> (kill-buffer-quit-windows t)
>> (quit-restore-window-no-switch 'skip-first))
>>
>> 1. Start erc
>> 2. Open a query from the server buffer with `/query trev`
>> 3. Hit enter
>> 4. Notice that the query buffer that was created as a split becomes the
>> only window in the frame.
>>
>> This seems to trigger in `erc--split-line` in erc-backend.el, where a
>> temp buffer is created and then subsequently killed.
>
> Thanks for investigating. Does the attached patch improve the situation?
Thanks, this works!
Trevor
This bug report was last modified 131 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.