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: Sun, 04 Dec 2005 23:56:34 +0200 Organization: JURTA Message-ID: <87d5kc34rx.fsf@jurta.org> References: <87wtinrypp.fsf@jurta.org> <87u0dqm5ta.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 1133734255 10445 80.91.229.2 (4 Dec 2005 22:10:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 4 Dec 2005 22:10:55 +0000 (UTC) Cc: lorentey@elte.hu, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 04 23:10:50 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ej22e-0000mM-CH for ged-emacs-devel@m.gmane.org; Sun, 04 Dec 2005 23:09:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ej22k-0000Ji-7z for ged-emacs-devel@m.gmane.org; Sun, 04 Dec 2005 17:09:14 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ej22M-0000HF-Sv for emacs-devel@gnu.org; Sun, 04 Dec 2005 17:08:50 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ej22L-0000GI-8i for emacs-devel@gnu.org; Sun, 04 Dec 2005 17:08:50 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ej22L-0000GF-60 for emacs-devel@gnu.org; Sun, 04 Dec 2005 17:08:49 -0500 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ej22i-0000pV-Es; Sun, 04 Dec 2005 17:09:12 -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 F393316B4; Mon, 5 Dec 2005 00:08:55 +0200 (EET) Original-To: rms@gnu.org In-Reply-To: (Richard M. Stallman's message of "Sun, 04 Dec 2005 16:18:13 -0500") 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:46968 Archived-At: > So a buried buffer is > no longer available from (frame-parameter nil 'buffer-list) for > `prev-buffer' called in the same frame after changing the order of > buried buffers in another frame. > > Why is that a problem? I often use `next-buffer' to switch to the next buffer in the buffer list, and I expect that `prev-buffer' restores exactly the same buffers as left with `next-buffer'. However, after switching to another frame, and using `next-buffer' in another frame and switching back to the original frame, `prev-buffer' no more restores the same buffer as left with `next-buffer' in the same frame. (Actually I use only one Emacs frame and I switch window configurations inside one frame. Before switching a window configuration I set the frame parameter `buffer-list' to the value saved in a special list. Maybe `current-window-configuration' should store the frame's buffer list in the window configuration, and `set-window-configuration' should restore it automatically. But anyway this is irrelevant to the problem that the frame's buffer list doesn't maintain a list of frame-local buffers buried with `prev-buffer'. The same problem exists on multiple frames too). -- Juri Linkov http://www.jurta.org/emacs/