unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Liu Hui <liuhui1610@gmail.com>
To: 25169@debbugs.gnu.org
Subject: bug#25169: 26.0.50; display-buffer doesn't set window width correctly
Date: Sun, 11 Dec 2016 20:18:33 +0800	[thread overview]
Message-ID: <620bfbe6-9805-e1ea-a426-0ec0058fe5e8@gmail.com> (raw)

Recipe 1:

1. Emacs -Q
2. evaluate the following code in *scratch*:

    (display-buffer (get-buffer-create "aaa")
                   '(display-buffer-pop-up-window
                     (window-width . 20)))
    ;; => correct window width for buffer "aaa"

    (display-buffer (get-buffer-create "bbb")
                   '(display-buffer-pop-up-window
                     (window-width . 20)))
    ;; => changed and larger window width for buffer "bbb"


Recipe 2:

1. Emacs -Q
2. evaluate the following code in *scratch*:

    (display-buffer (get-buffer-create "aaa")
		  '(display-buffer-in-side-window
		    (window-width . 20)
		    (side . right)))
    ;; => correct window width for buffer "aaa"

    (display-buffer (get-buffer-create "bbb")
		  '(display-buffer-in-side-window
		    (window-width . 20)
		    (side . left)))
    ;; => correct width for buffer "bbb", but the window width of
    ;; buffer "aaa" is changed and becomes larger


In GNU Emacs 26.0.50.2 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9)
  of 2016-12-10 built on lgw01-57
Windowing system distributor 'The X.Org Foundation', version 11.0.11804000
System Description:	Ubuntu 16.04.1 LTS





             reply	other threads:[~2016-12-11 12:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-11 12:18 Liu Hui [this message]
2016-12-11 16:19 ` bug#25169: 26.0.50; display-buffer doesn't set window width correctly martin rudalics
2016-12-12  4:53   ` Liu Hui
2016-12-12 10:00     ` 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=620bfbe6-9805-e1ea-a426-0ec0058fe5e8@gmail.com \
    --to=liuhui1610@gmail.com \
    --cc=25169@debbugs.gnu.org \
    /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).