[Top][All Lists]

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

bug#9381: 24.0.50; display-buffer broken again

From: Helmut Eller
Subject: bug#9381: 24.0.50; display-buffer broken again
Date: Fri, 26 Aug 2011 18:23:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

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:

  (defun display-buffer-checked (buffer)
    (let ((selected (selected-window))
          (window (display-buffer buffer t)))
      (when (eq selected window)
        (error "display-buffer returned selected window"))
  (let ((foo (get-buffer-create "foo"))
        (bar (get-buffer-create "bar")))
    (select-window (get-buffer-window "*scratch*"))
      (select-window (display-buffer-checked foo)))
      (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

In GNU Emacs (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''

reply via email to

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