unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#9381: 24.0.50; display-buffer broken again
@ 2011-08-26 16:23 Helmut Eller
  2011-08-27  8:41 ` martin rudalics
  0 siblings, 1 reply; 2+ messages in thread
From: Helmut Eller @ 2011-08-26 16:23 UTC (permalink / raw)
  To: 9381

Display buffer doesn't display the buffer in the other window if the
second argument is t.  Execute the following test case with 
emacs -Q -l <file>.el:

(progn
  (defun display-buffer-checked (buffer)
    (let ((selected (selected-window))
          (window (display-buffer buffer t)))
      (when (eq selected window)
        (error "display-buffer returned selected window"))
      window))
  
  (let ((foo (get-buffer-create "foo"))
        (bar (get-buffer-create "bar")))
    (select-window (get-buffer-window "*scratch*"))
    (save-selected-window 
      (select-window (display-buffer-checked foo)))
    (save-selected-window 
      (select-window (display-buffer-checked bar)))))


This is the same test case as for bug#1415.  Dammit!  Would you people
please stop breaking the same things over and over again?  Is it too
much to ask that you create and use a test suite based on the bug
reports?



In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2011-08-25 on ix
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
configured using `configure  '--with-gif=no' '--with-gnutls=no''





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

* bug#9381: 24.0.50; display-buffer broken again
  2011-08-26 16:23 bug#9381: 24.0.50; display-buffer broken again Helmut Eller
@ 2011-08-27  8:41 ` martin rudalics
  0 siblings, 0 replies; 2+ messages in thread
From: martin rudalics @ 2011-08-27  8:41 UTC (permalink / raw)
  To: 9381-done; +Cc: Helmut Eller

> Display buffer doesn't display the buffer in the other window if the
> second argument is t.

Fixed in revision 105589.

Thanks, martin






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

end of thread, other threads:[~2011-08-27  8:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-26 16:23 bug#9381: 24.0.50; display-buffer broken again Helmut Eller
2011-08-27  8:41 ` 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).