From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#13167: 24.3.50; C-x right C-x left interferes with buffer order Date: Sun, 16 Dec 2012 11:17:54 +0200 Organization: JURTA Message-ID: <87txrmmzk5.fsf@mail.jurta.org> References: <878v92n7sg.fsf@mail.jurta.org> <50C9AE21.40904@gmx.at> <8738z9ea1w.fsf@mail.jurta.org> <50CAFE8F.2060903@gmx.at> <87bodv1t0j.fsf@mail.jurta.org> <50CCBC3D.3010504@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1355650505 7232 80.91.229.3 (16 Dec 2012 09:35:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Dec 2012 09:35:05 +0000 (UTC) Cc: 13167@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 16 10:35:18 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TkAcq-0008LD-PF for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Dec 2012 10:35:12 +0100 Original-Received: from localhost ([::1]:34809 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TkAcd-0000bl-HW for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Dec 2012 04:34:59 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:38978) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TkAcZ-0000bY-PZ for bug-gnu-emacs@gnu.org; Sun, 16 Dec 2012 04:34:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TkAcY-0000ME-RI for bug-gnu-emacs@gnu.org; Sun, 16 Dec 2012 04:34:55 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34400) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TkAcY-0000MA-Mc for bug-gnu-emacs@gnu.org; Sun, 16 Dec 2012 04:34:54 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TkAde-00080Z-Ig for bug-gnu-emacs@gnu.org; Sun, 16 Dec 2012 04:36:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Dec 2012 09:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13167 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13167-submit@debbugs.gnu.org id=B13167.135565050230714 (code B ref 13167); Sun, 16 Dec 2012 09:36:02 +0000 Original-Received: (at 13167) by debbugs.gnu.org; 16 Dec 2012 09:35:02 +0000 Original-Received: from localhost ([127.0.0.1]:44651 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TkAcg-0007zH-Ad for submit@debbugs.gnu.org; Sun, 16 Dec 2012 04:35:02 -0500 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:39449 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TkAce-0007yn-Pq for 13167@debbugs.gnu.org; Sun, 16 Dec 2012 04:35:01 -0500 Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 7AB68451E1CA; Sun, 16 Dec 2012 01:33:51 -0800 (PST) In-Reply-To: <50CCBC3D.3010504@gmx.at> (martin rudalics's message of "Sat, 15 Dec 2012 19:06:53 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:68595 Archived-At: >> To not maintain the same markers twice, `C-x left' could add the >> current buffer with markers only once to the list of next buffers, >> but not to the list of previous buffers. Do I miss something >> why this won't work? > > If we did that, we'd probably get rid of the behavior you started this > thread with. But the current semantics is "when we have to replace a > buffer in a window with another one, try taking the buffer that has been > shown in that window before the present one". I'm not quite sure how to > describe what you want to do instead. I think that C-x right and C-x left should behave like the "Next" and "Prev" buttons in a browser where clicking the "Next" button adds the current page to the list of previous pages, removes the first page from the list of next pages and displays it. Clicking the "Prev" button adds the current page to the list of next pages, removes the first page from the list of previous pages and displays it. It's disturbing that such unobtrusive action can mislead quit-window to restore a buffer that was only temporarily shown in that window with C-x right C-x left. I believe C-x right and C-x left should be special to not affect the logic of "try taking the buffer that has been shown in that window before the present one".