From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: improving function "mode-line-unbury-buffer" in bindings.el Date: 16 Jul 2002 17:08:58 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <5xr8i3emlx.fsf@kfs2.cua.dk> References: <20020712.103500.40922275.tune@bg.wakwak.com> <200207141522.g6EFMRW20484@aztec.santafe.edu> <20020715.021323.100571771.tune@bg.wakwak.com> <200207161329.g6GDTOb22043@aztec.santafe.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1026828761 29829 127.0.0.1 (16 Jul 2002 14:12:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 16 Jul 2002 14:12:41 +0000 (UTC) Cc: tune@bg.wakwak.com, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17UT4C-0007l0-00 for ; Tue, 16 Jul 2002 16:12:40 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17UTF9-0007vX-00 for ; Tue, 16 Jul 2002 16:23:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17UT13-0005pp-00; Tue, 16 Jul 2002 10:09:25 -0400 Original-Received: from mail.filanet.dk ([195.215.206.179]) by fencepost.gnu.org with smtp (Exim 3.35 #1 (Debian)) id 17UT05-0005ny-00; Tue, 16 Jul 2002 10:08:25 -0400 Original-Received: from kfs2.cua.dk.cua.dk (kfs2.local.filanet.dk [192.168.1.182]) by mail.filanet.dk (Postfix) with SMTP id AC3987C016; Tue, 16 Jul 2002 14:08:23 +0000 (GMT) Original-To: rms@gnu.org In-Reply-To: <200207161329.g6GDTOb22043@aztec.santafe.edu> Original-Lines: 40 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:5790 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5790 Richard Stallman writes: > Somehow, "bury-buffer " doesn't display a buffer which is not > displayed still once, when there are several buffers which is displayed > before. > > I think you have probably found a real bug, i'm having a lot of > trouble parsing your explanation. Do you think you could explain the > problem to handa@etl.go.jp in Japanese? Then he can tell us what's > wrong. As I read the bug report, it's quite simple: Here is what is CLAIMED to happen with bury-buffer: When you use bury-buffer to bury the buffer in the selected window, the NEXT buffer to be shown in the selected window is chosen with a preference to show a buffer which has previously been shown in a window. So if you have buffers xyz (in the selected window), *scratch* (shown before), and *Messages* (not shown before), then: - doing bury-buffer once will bury xyz and show *scratch*, and - doing bury-buffer again will bury *scratch* and show xyz. I.e. *Messages* is not shown as a result of bury-buffer since it has not been shown before. The CLAIM is then that (mode-line-)unbury-buffer should not choose to show *Messages* either, but it may do that. However, using CVS emacs, I cannot even get bury-buffer to work as reported, so I'm still not sure what the exact problem is. -- Kim F. Storm http://www.cua.dk