unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#19632: 24.4; display-buffer-at-bottom
@ 2015-01-19 23:40 Leo Liu
  2015-01-20  8:02 ` martin rudalics
  0 siblings, 1 reply; 3+ messages in thread
From: Leo Liu @ 2015-01-19 23:40 UTC (permalink / raw)
  To: 19632


Eval the following twice:

   (display-buffer (get-buffer-create "abc") '(display-buffer-at-bottom))

Should see two windows showing buffer "abc". Is this a bug or feature?

My expectation is display-buffer should do nothing if the buffer is
displayed already.

Leo





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

* bug#19632: 24.4; display-buffer-at-bottom
  2015-01-19 23:40 bug#19632: 24.4; display-buffer-at-bottom Leo Liu
@ 2015-01-20  8:02 ` martin rudalics
  2015-02-13 18:30   ` martin rudalics
  0 siblings, 1 reply; 3+ messages in thread
From: martin rudalics @ 2015-01-20  8:02 UTC (permalink / raw)
  To: Leo Liu, 19632

 > Eval the following twice:
 >
 >     (display-buffer (get-buffer-create "abc") '(display-buffer-at-bottom))
 >
 > Should see two windows showing buffer "abc". Is this a bug or feature?
 >
 > My expectation is display-buffer should do nothing if the buffer is
 > displayed already.

It behaves that way in Emacs 25.1.  The Emacs 24.5 behavior relies on
the caller to explicitly ask for reusing an existing window.

martin





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

* bug#19632: 24.4; display-buffer-at-bottom
  2015-01-20  8:02 ` martin rudalics
@ 2015-02-13 18:30   ` martin rudalics
  0 siblings, 0 replies; 3+ messages in thread
From: martin rudalics @ 2015-02-13 18:30 UTC (permalink / raw)
  To: Leo Liu, 19632-done

> It behaves that way in Emacs 25.1.  The Emacs 24.5 behavior relies on
> the caller to explicitly ask for reusing an existing window.

Bug closed.

Thanks, martin







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

end of thread, other threads:[~2015-02-13 18:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-19 23:40 bug#19632: 24.4; display-buffer-at-bottom Leo Liu
2015-01-20  8:02 ` martin rudalics
2015-02-13 18:30   ` 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).