GNU bug report logs - #67882
29.1.90; Registers' preview can delete existing window when finishing

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dmitry <at> gutov.dev>

Date: Mon, 18 Dec 2023 18:20:02 UTC

Severity: normal

Found in version 29.1.90

Full log


View this message in rfc822 format

From: Thierry Volpiatto <thievol <at> posteo.net>
To: Dmitry Gutov <dmitry <at> gutov.dev>
Cc: 67882 <at> debbugs.gnu.org
Subject: bug#67882: 29.1.90; Registers' preview can delete existing window when finishing
Date: Mon, 08 Jan 2024 14:36:37 +0000
[Message part 1 (text/plain, inline)]
Hello Dmitry,

is the attached patch fix this issue for you?

Thanks.

Dmitry Gutov <dmitry <at> gutov.dev> writes:

> Set up:
>
> (defun split-window-prefer-side-by-side (&optional window)
>   (let ((split-height-threshold (and (< (window-width window)
>                                         split-width-threshold)
>                                      split-height-threshold)))
>     (split-window-sensibly window)))
>
> (setq split-window-preferred-function 'split-window-prefer-side-by-side)
>
> Split the frame, e.g. 'C-x 3'.
>
> Then create some register (e.g. using 'C-x r C-@') and then invoke
> another command reading it. E.g. 'C-x r j'.
>
> Wait the necessary 1 second for the preview to appear - it will use one
> of the existing windows to show the list of registers.
>
> Then, whether you choose the register, or C-g out of the choice, the
> window used to display the list will be deleted.
>
> Previously mentioned in bug#66394.
>
> Not a regression on master, just reproduced it in 29.
>
>
>
>

-- 
Thierry
[0001-Fix-window-setting-in-register-preview-bug-67882.patch (text/x-diff, attachment)]

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

Previous Next


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