unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 21505@debbugs.gnu.org, travis.hoppe@gmail.com, tsdh@gnu.org
Subject: bug#21505: 24.4; Buffer order
Date: Thu, 17 Sep 2015 17:55:17 +0300	[thread overview]
Message-ID: <83twqtqene.fsf@gnu.org> (raw)
In-Reply-To: <jwvbnd1w6tc.fsf-monnier+emacsbugs@gnu.org>

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: Eli Zaretskii <eliz@gnu.org>,  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.





  reply	other threads:[~2015-09-17 14:55 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-17  2:57 bug#21505: 24.4; Buffer order hoppe
2015-09-17  5:17 ` Eli Zaretskii
2015-09-17  6:49   ` Tassilo Horn
2015-09-17  6:56     ` Eli Zaretskii
2015-09-17  7:53       ` Tassilo Horn
2015-09-17 12:50         ` Stefan Monnier
2015-09-17 14:55           ` Eli Zaretskii [this message]
2015-09-17 14:59             ` hoppe
2015-09-17 15:19               ` Eli Zaretskii
2015-09-17 15:23                 ` hoppe
2015-09-17 15:44                   ` Eli Zaretskii
2015-09-17 15:48                     ` hoppe
2015-09-17 16:20                       ` Eli Zaretskii
2022-02-20 12:57           ` Lars Ingebrigtsen
2022-02-20 13:20             ` Eli Zaretskii
2022-02-21 13:38               ` Lars Ingebrigtsen
2022-02-21 13:55                 ` Eli Zaretskii
2022-02-21 14:43                   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83twqtqene.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=21505@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=travis.hoppe@gmail.com \
    --cc=tsdh@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).