From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#21505: 24.4; Buffer order Date: Thu, 17 Sep 2015 17:55:17 +0300 Message-ID: <83twqtqene.fsf@gnu.org> References: <8337yd7hgn.fsf@gnu.org> <877fnppmk0.fsf@gnu.org> <83y4g55yat.fsf@gnu.org> <87zj0lo52a.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1442501783 32348 80.91.229.3 (17 Sep 2015 14:56:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Sep 2015 14:56:23 +0000 (UTC) Cc: 21505@debbugs.gnu.org, travis.hoppe@gmail.com, tsdh@gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 17 16:56:12 2015 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 1Zcabb-0002hp-Gv for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Sep 2015 16:56:11 +0200 Original-Received: from localhost ([::1]:59178 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zcaba-00032O-Kx for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Sep 2015 10:56:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcabW-00031P-VD for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2015 10:56:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZcabS-0001ph-UX for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2015 10:56:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44028) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcabS-0001p4-RP for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2015 10:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZcabS-0007ir-Db for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2015 10:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Sep 2015 14:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21505 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21505-submit@debbugs.gnu.org id=B21505.144250172129628 (code B ref 21505); Thu, 17 Sep 2015 14:56:02 +0000 Original-Received: (at 21505) by debbugs.gnu.org; 17 Sep 2015 14:55:21 +0000 Original-Received: from localhost ([127.0.0.1]:36238 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zcaam-0007ho-8S for submit@debbugs.gnu.org; Thu, 17 Sep 2015 10:55:20 -0400 Original-Received: from mtaout24.012.net.il ([80.179.55.180]:59553) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zcaaj-0007hc-9r for 21505@debbugs.gnu.org; Thu, 17 Sep 2015 10:55:18 -0400 Original-Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0NUT00A00SYZ0U00@mtaout24.012.net.il> for 21505@debbugs.gnu.org; Thu, 17 Sep 2015 17:47:50 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NUT007UUT3P1Q30@mtaout24.012.net.il>; Thu, 17 Sep 2015 17:47:50 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.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:106688 Archived-At: > From: Stefan Monnier > Cc: Eli Zaretskii , 21505@debbugs.gnu.org, travis.hoppe@gmail.com > Date: Thu, 17 Sep 2015 08:50:33 -0400 > > > No, it should always be as given to emacs/emacsclient, i.e., when I > > invoke > > > > $ emacsclient x a b > > > > I want to have the buffer x selected and using `next-buffer' I'd switch > > to a and then b, and then to the other buffers which have existed > > before. Right now, x will be selected, but a and b are far away. > > That's right. And same for "emacs x a b". > > The precise behavior is a bit more complex since those commands, rather > than just showing the first file may/will also show the buffer-list, > but if exactly one of the files is shown it should be the first in the > list and next-buffer should go in the order in which the file names > were given (until reaching the end of this list at which point it'll > hit things like *Messages* and friends and that's fine). The questions I asked the OP still stand. The required feature is not defined in sufficient detail. If only the initial order is required, it's probably relatively easy, but then that order is very fragile and could easily break as soon as the user issues the first command.