From: Stephen Berman <stephen.berman@gmx.net>
To: martin rudalics <rudalics@gmx.at>
Cc: Jens Lechtenboerger <lechten@wi.uni-muenster.de>, 25946@debbugs.gnu.org
Subject: bug#25946: 26.0.50; display-buffer ignores ignores reusable-frames in display-buffer-alist
Date: Sun, 05 Mar 2017 12:27:53 +0100 [thread overview]
Message-ID: <87pohwhsjq.fsf@rosalinde> (raw)
In-Reply-To: <58BBE9B9.80202@gmx.at> (martin rudalics's message of "Sun, 05 Mar 2017 11:34:33 +0100")
On Sun, 05 Mar 2017 11:34:33 +0100 martin rudalics <rudalics@gmx.at> wrote:
> Can some kind soul please apply the attached patch to master? The
> commit message is
>
>
> In `window--display-buffer' fix behavior reported in Bug#25946
>
> * lisp/window.el (window--display-buffer): Set the dedicated
> status of the window used and clear its history of previous
> buffers also for the case that the window already shows the
> buffer to be displayed. (Bug#25946)
>
>
> Many thanks in advance, martin
>
> diff --git a/lisp/window.el b/lisp/window.el
> index 358d7bc..5050243 100644
> --- a/lisp/window.el
> +++ b/lisp/window.el
> @@ -6643,11 +6643,11 @@ window--display-buffer
> (display-buffer-record-window type window buffer)
> (unless (eq buffer (window-buffer window))
> (set-window-dedicated-p window nil)
> - (set-window-buffer window buffer)
> - (when dedicated
> - (set-window-dedicated-p window dedicated))
> - (when (memq type '(window frame))
> - (set-window-prev-buffers window nil)))
> + (set-window-buffer window buffer))
> + (when dedicated
> + (set-window-dedicated-p window dedicated))
> + (when (memq type '(window frame))
> + (set-window-prev-buffers window nil))
> (let ((quit-restore (window-parameter window 'quit-restore))
> (height (cdr (assq 'window-height alist)))
> (width (cdr (assq 'window-width alist)))
I pushed it in your name as commit 702aeca.
Steve Berman
next prev parent reply other threads:[~2017-03-05 11:27 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-03 10:01 bug#25946: 26.0.50; display-buffer ignores ignores reusable-frames in display-buffer-alist Jens Lechtenboerger
2017-03-03 10:38 ` martin rudalics
2017-03-03 10:58 ` Jens Lechtenboerger
2017-03-03 14:24 ` martin rudalics
2017-03-03 14:49 ` Jens Lechtenboerger
2017-03-03 18:23 ` martin rudalics
2017-03-03 18:55 ` Drew Adams
[not found] ` <13CD49F822DC4A42AF94C24270D9E5CF9A5D4E36@WIWI-MAIL-1.WIWI.UNI-MUENSTER.DE>
2017-03-04 17:08 ` Jens Lechtenboerger
2017-03-04 17:40 ` martin rudalics
2017-03-05 10:34 ` martin rudalics
2017-03-05 11:27 ` Stephen Berman [this message]
2017-03-05 13:28 ` martin rudalics
2017-03-05 22:20 ` Michael Heerdegen
2017-03-06 8:11 ` martin rudalics
2017-03-06 8:57 ` Stephen Berman
2017-03-06 9:25 ` Jens Lechtenboerger
2017-03-06 11:07 ` Stephen Berman
2017-03-06 17:46 ` martin rudalics
2017-03-06 20:59 ` Stephen Berman
2017-03-07 9:45 ` martin rudalics
2017-03-07 16:51 ` Stephen Berman
2017-03-07 19:00 ` martin rudalics
2017-03-07 19:36 ` Stephen Berman
2017-03-10 15:01 ` Jens Lechtenboerger
2017-03-11 10:20 ` martin rudalics
2017-03-06 17:46 ` 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=87pohwhsjq.fsf@rosalinde \
--to=stephen.berman@gmx.net \
--cc=25946@debbugs.gnu.org \
--cc=lechten@wi.uni-muenster.de \
--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).