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


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

From: Dmitry Gutov <dmitry <at> gutov.dev>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.1.90; Registers' preview can delete existing window when finishing
Date: Mon, 18 Dec 2023 20:18:55 +0200
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.




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.