emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

address@hidden: display-buffer change]


From: Richard Stallman
Subject: address@hidden: display-buffer change]
Date: Sat, 23 Jun 2007 14:26:54 -0400

Would people please take a look at this issue?
Was the change made deliberately?

------- Start of forwarded message -------
X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY 
        autolearn=failed version=3.1.0
To: address@hidden
From: =?utf-8?Q?David_K=C3=A5gedal?= <address@hidden>
Date: Thu, 21 Jun 2007 12:11:26 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Subject: display-buffer change

I have seen a change in Emacs 22.1 from Emacs 21 that broke my use of
dedicated windows.

The problem is that (display-buffer buf) will change the contents of
the current window, if the other window in the frame has a dedicated
buffer.  In Emacs 21, a new window would be opened instead.

To see the difference, do the following:

Split an emacs frame in two windows showing buffers A and B:

   +-------------+
   |             |
   |      A      |
   |             |
   +-------------+
   |             |
   |      B      |
   |             |
   +-------------+

While in the lower window, run

    (set-window-dedicated-p (selected-window) t)

Now, in the upper window, run

    (display-buffer "C")

In Emacs 21, this will be the result:

   +-------------+
   |      A      |
   +-------------+
   |      C      |
   +-------------+
   |             |
   |      B      |
   |             |
   +-------------+

In Emacs 22, this will be the result:

   +-------------+
   |             |
   |      C      |
   |             |
   +-------------+
   |             |
   |      B      |
   |             |
   +-------------+

I use a dedicated small window at the bottom of my frame that always
contains the *compilation* buffer, and the new behaviour in Emacs 22
seriously lower the usability of a lots of command, such as viewing
diffs or showing source from gdb etc.

I didn't find anything in NEWS that indicated that this was somehow
intentional.

- -- 
David K├ągedal


_______________________________________________
bug-gnu-emacs mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs
------- End of forwarded message -------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]