From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Buffer listing in multiple frames/ttys Date: Mon, 05 Dec 2005 08:03:03 +0200 Organization: JURTA Message-ID: <87fyp8rswe.fsf@jurta.org> References: <87wtinrypp.fsf@jurta.org> <87u0dqm5ta.fsf@jurta.org> <87d5kc34rx.fsf@jurta.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1133763239 8799 80.91.229.2 (5 Dec 2005 06:13:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 5 Dec 2005 06:13:59 +0000 (UTC) Cc: lorentey@elte.hu, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 05 07:13:56 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ej9an-0001lW-5o for ged-emacs-devel@m.gmane.org; Mon, 05 Dec 2005 07:12:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ej9au-00022E-LS for ged-emacs-devel@m.gmane.org; Mon, 05 Dec 2005 01:13:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ej9aC-0001kV-DS for emacs-devel@gnu.org; Mon, 05 Dec 2005 01:12:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ej9aB-0001jj-1f for emacs-devel@gnu.org; Mon, 05 Dec 2005 01:12:15 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ej9aA-0001jJ-L7 for emacs-devel@gnu.org; Mon, 05 Dec 2005 01:12:14 -0500 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ej9ab-00082i-LK; Mon, 05 Dec 2005 01:12:41 -0500 Original-Received: from mail.neti.ee (80-235-40-138-dsl.mus.estpak.ee [80.235.40.138]) by Relayhost1.neti.ee (Postfix) with ESMTP id AC1771712; Mon, 5 Dec 2005 08:12:20 +0200 (EET) Original-To: Eli Zaretskii In-Reply-To: (Eli Zaretskii's message of "Mon, 05 Dec 2005 06:33:57 +0200") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:46989 Archived-At: > But originally, you said that this happens after burying the buffer. > If you want the history to work right for a buffer, why do you bury > it? Burying a buffer tells Emacs you are no longer interested in that > buffer, I'm sure you know this. Burying a buffer doesn't necessarily mean I am not interested in that buffer. I use `next-buffer' and `prev-buffer' to cycle through the buffer list which actually is a ring for these two commands. The command `next-buffer' uses the function `bury-buffer' to move the current buffer to the end of the buffer list. I expect that `prev-buffer' will always restore the buffer from the end of the buffer list in the same frame. The frame parameter `buffer-list' keeps only a list of few visited buffers placed on the top of the whole buffer list, and thus `prev-buffer' can't use it. -- Juri Linkov http://www.jurta.org/emacs/