From: Lars Ingebrigtsen <larsi@gnus.org>
To: martin rudalics <rudalics@gmx.at>
Cc: Gabriel <gabriel376@hotmail.com>, 50716@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 [thread overview]
Message-ID: <875yut27i6.fsf@gnus.org> (raw)
In-Reply-To: <0ee5083b-ca58-e8ed-cb7a-5a758590521b@gmx.at> (martin rudalics's message of "Tue, 21 Sep 2021 10:35:06 +0200")
martin rudalics <rudalics@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
next prev parent reply other threads:[~2021-09-21 16:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-21 5:07 bug#50716: 28.0.50; whitespace-report does not use existing windows Gabriel
2021-09-21 5:30 ` Lars Ingebrigtsen
2021-09-21 8:35 ` martin rudalics
2021-09-21 16:55 ` Lars Ingebrigtsen [this message]
2021-09-22 7:49 ` martin rudalics
2021-09-22 20:02 ` Lars Ingebrigtsen
2021-09-23 8:16 ` martin rudalics
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875yut27i6.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=50716@debbugs.gnu.org \
--cc=gabriel376@hotmail.com \
--cc=rudalics@gmx.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).