unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 21505@debbugs.gnu.org, travis.hoppe@gmail.com,
	monnier@iro.umontreal.ca, tsdh@gnu.org
Subject: bug#21505: 24.4; Buffer order
Date: Mon, 21 Feb 2022 14:38:19 +0100	[thread overview]
Message-ID: <87v8x8l4qc.fsf@gnus.org> (raw)
In-Reply-To: <83y225wu78.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 20 Feb 2022 15:20:27 +0200")

[-- Attachment #1: Type: text/plain, Size: 1069 bytes --]

Eli Zaretskii <eliz@gnu.org> writes:

> It doesn't.  It only shows *Buffer List* when you as it to visit 3 or
> more files.  This is explicitly coded in command-line-1:

Ah, right.

>> I'd have thought the obvious thing to do in this situation is to
>> open as many windows as there are files (if possible)?
>
> I guess the rationale is that with too many files visited we cannot be
> sure which of them the user would like to see first, and we don't want
> to show them all, lest the windows become too small.

Yes, I guess it does make sense to display the *Buffer list* when
there's a lot of files.

>> Or open a single window displaying the first file specified
>> (and then have the rest be in the next-buffer order you describe).
>
> That'd be less useful than what we do now with 2 files, IMO.

Yeah.

So I guess the only this to fix here is the buffer ordering, as the
original bug reporter was talking about -- i.e., ensure that *scratch*
and *Messages* are at the bottom of the list.  Currently, this is the
buffer order if given "a b c d e f" as the files:


[-- Attachment #2: Type: image/png, Size: 71645 bytes --]

[-- Attachment #3: Type: text/plain, Size: 336 bytes --]


Which seems pretty chaotic.  I guess what we want to see here is

f
e
d
c
b
a
*scratch*
*Messages*

?  I mean, sorting the other way around (and selecting a) would also be
a possibility, but would be a greater behavioural change. 

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

  reply	other threads:[~2022-02-21 13:38 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
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 [this message]
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=87v8x8l4qc.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=21505@debbugs.gnu.org \
    --cc=eliz@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).