all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: 1121@emacsbugs.donarmstrong.com
Subject: bug#1121: 23.0.60; `buffer-list' returns buffers in wrong order
Date: Fri, 10 Oct 2008 17:08:43 +0200	[thread overview]
Message-ID: <48EF6FFB.8010806@gmx.at> (raw)
In-Reply-To: <f7ccd24b0810091123k33a64808o2301a8c37434b5fa@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 309 bytes --]

 > 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

[-- Attachment #2: 1121.diff --]
[-- Type: text/plain, Size: 1096 bytes --]

*** 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	other threads:[~2008-10-10 15:08 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <49214515.6090300@gmx.at>
2008-10-08 19:00 ` bug#1121: 23.0.60; `buffer-list' returns buffers in wrong order Drew Adams
2008-10-09  7:55   ` Juanma Barranquero
2008-10-09 16:10     ` Drew Adams
2008-10-09 18:23       ` Juanma Barranquero
2008-10-10 15:08         ` martin rudalics [this message]
2008-10-10 15:36           ` Drew Adams
2008-10-10 15:42             ` martin rudalics
2008-10-10 16:03               ` Drew Adams
2008-10-10 18:22                 ` martin rudalics
2008-11-04  7:49                   ` martin rudalics
2008-11-04  9:16                     ` Juanma Barranquero
2008-11-04  9:56                       ` martin rudalics
2008-11-04 14:32                         ` Drew Adams
2008-11-17 10:30   ` bug#1121: marked as done (23.0.60; `buffer-list' returns buffers in wrong order) Emacs bug Tracking System

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=48EF6FFB.8010806@gmx.at \
    --to=rudalics@gmx.at \
    --cc=1121@emacsbugs.donarmstrong.com \
    --cc=lekktu@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.