GNU bug report logs - #50716
28.0.50; whitespace-report does not use existing windows

Previous Next

Package: emacs;

Reported by: Gabriel <gabriel376 <at> hotmail.com>

Date: Tue, 21 Sep 2021 05:08:01 UTC

Severity: normal

Found in version 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: Gabriel <gabriel376 <at> hotmail.com>, 50716 <at> debbugs.gnu.org
Subject: bug#50716: 28.0.50; whitespace-report does not use existing windows
Date: Tue, 21 Sep 2021 18:55:29 +0200
martin rudalics <rudalics <at> gmx.at> writes:

> I think this needs a new doc-string and the last two lines should
> probably become something like
>
> (let ((window (display-buffer
> 	       buffer
> 	       `((display-buffer-reuse-window
> 		  display-buffer-below-selected)))))
>   (shrink-window-if-larger-than-buffer window))
>
> since the original code did not select the window and tried to show it
> below the selected one.

Thanks; pushed now to Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 295 days ago.

Previous Next


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