bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#1121: 23.0.60; `buffer-list' returns buffers in wrong order


From: martin rudalics
Subject: bug#1121: 23.0.60; `buffer-list' returns buffers in wrong order
Date: Fri, 10 Oct 2008 17:08:43 +0200
User-agent: Thunderbird 2.0.0.16 (Windows/20080708)

> Yes, I get the same result as you do:
>
> (#<buffer  *Minibuf-1*> #<buffer  *Minibuf-2*> #<buffer buf002.txt>
> #<buffer buf001.txt> #<buffer *scratch*> #<buffer  *Minibuf-0*> ...)

I checked in a fix.  Could you please try whether it changes anything?

Drew.  Could you try the attached patch?

martin
*** window.el.~1.155.~  2008-10-09 09:02:00.531250000 +0200
--- window.el   2008-10-10 16:56:50.343750000 +0200
***************
*** 1063,1072 ****
        (old-frame (selected-frame))
        new-window new-frame)
      (set-buffer buffer)
!     (setq new-window (display-buffer buffer other-window) norecord)
      (unless (eq new-window old-window)
        ;; `display-buffer' has chosen another window, select it.
!       (select-window new-window)
        (setq new-frame (window-frame new-window))
        (unless (eq new-frame old-frame)
        ;; `display-buffer' has chosen another frame, make sure it gets
--- 1063,1072 ----
        (old-frame (selected-frame))
        new-window new-frame)
      (set-buffer buffer)
!     (setq new-window (display-buffer buffer other-window))
      (unless (eq new-window old-window)
        ;; `display-buffer' has chosen another window, select it.
!       (select-window new-window norecord)
        (setq new-frame (window-frame new-window))
        (unless (eq new-frame old-frame)
        ;; `display-buffer' has chosen another frame, make sure it gets

reply via email to

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