all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#67882: 29.1.90; Registers' preview can delete existing window when finishing
@ 2023-12-18 18:18 Dmitry Gutov
  2024-01-08 14:36 ` Thierry Volpiatto
  0 siblings, 1 reply; 6+ messages in thread
From: Dmitry Gutov @ 2023-12-18 18:18 UTC (permalink / raw)
  To: 67882

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.





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-01-10 16:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-18 18:18 bug#67882: 29.1.90; Registers' preview can delete existing window when finishing Dmitry Gutov
2024-01-08 14:36 ` Thierry Volpiatto
2024-01-10  1:46   ` Dmitry Gutov
2024-01-10 10:08     ` Thierry Volpiatto
2024-01-10 13:26       ` Eli Zaretskii
2024-01-10 16:05         ` Thierry Volpiatto

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.