unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [davidk@lysator.liu.se: display-buffer change]
@ 2007-06-23 18:26 Richard Stallman
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Stallman @ 2007-06-23 18:26 UTC (permalink / raw)
  To: emacs-devel

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: bug-gnu-emacs@gnu.org
From: =?utf-8?Q?David_K=C3=A5gedal?= <davidk@lysator.liu.se>
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
bug-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs
------- End of forwarded message -------

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [davidk@lysator.liu.se: display-buffer change]
@ 2007-07-23 18:06 Richard Stallman
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Stallman @ 2007-07-23 18:06 UTC (permalink / raw)
  To: emacs-devel

[I sent this message a month ago but did not get a response.]

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: bug-gnu-emacs@gnu.org
From: =?utf-8?Q?David_K=C3=A5gedal?= <davidk@lysator.liu.se>
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
bug-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs
------- End of forwarded message -------

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [davidk@lysator.liu.se: display-buffer change]
@ 2007-08-23 20:58 Richard Stallman
  2007-08-23 21:19 ` martin rudalics
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Stallman @ 2007-08-23 20:58 UTC (permalink / raw)
  To: emacs-devel

[I sent this message twice but did not get a response.]

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: bug-gnu-emacs@gnu.org
From: =?utf-8?Q?David_K=C3=A5gedal?= <davidk@lysator.liu.se>
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
bug-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnu-emacs
------- End of forwarded message -------

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [davidk@lysator.liu.se: display-buffer change]
  2007-08-23 20:58 Richard Stallman
@ 2007-08-23 21:19 ` martin rudalics
  0 siblings, 0 replies; 4+ messages in thread
From: martin rudalics @ 2007-08-23 21:19 UTC (permalink / raw)
  To: rms; +Cc: emacs-devel

> Would people please take a look at this issue?

I've tried to contact the author but he didn't respond.

> Was the change made deliberately?

I don't know when and why the change was made but it implements
the behavior documented as for Emacs 21 and 22.  The user can
change the behavior by customizing split-height-threshold.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-08-23 21:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-23 18:26 [davidk@lysator.liu.se: display-buffer change] Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2007-07-23 18:06 Richard Stallman
2007-08-23 20:58 Richard Stallman
2007-08-23 21:19 ` martin rudalics

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).