unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Arthur Miller <arthur.miller@live.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: Michael Perry <amperry@provide.net>,
	Stefan Kangas <stefan@marxist.se>,
	"52384@debbugs.gnu.org" <52384@debbugs.gnu.org>
Subject: bug#52384: [External] : bug#52384: 26.3; dired buffer navigation tweak
Date: Fri, 10 Dec 2021 23:26:06 +0100	[thread overview]
Message-ID: <AM9PR09MB49774A143751E3DB7590564F96719@AM9PR09MB4977.eurprd09.prod.outlook.com> (raw)
In-Reply-To: <SJ0PR10MB548825F07727C44141CAF324F3719@SJ0PR10MB5488.namprd10.prod.outlook.com> (Drew Adams's message of "Fri, 10 Dec 2021 17:11:48 +0000")

Drew Adams <drew.adams@oracle.com> writes:

> My 2c:
>
> Leave `<' and `>' alone, letting them move to
> the previous/next directory file line.

If you keep directories sorted before or after files then < and > become almost
redundant, since 'p' and 'n' will have same effect in practice. I say almost,
because there is instance when one is deep below in files and would like to jump
do directories (when sorted before). So pressing '<' would take you to the last
directory before files listing begin, and than one can use either p/n or </> to
move cursor.

I also think dired should use by default --group-directories-first/ls-lisp-dirs-first
to group directories before/after regular files. This seems to be asked quite
few times if you search the web, there are SX/Reddit questions, Emacs Wiki
article, some blogs, etc; so it seems to be asked/desired/expected behaviour.

I understand that this was optional back in time when computers were less
powerful, but nowadays sorting dirs before files is trivial. Pesonally I think
listings with dirs/files mixed look aesthetically more noisy and harder to find
what I looking for. Might be just me getting used to this style though.

> (The Dired+ versions of these commands wrap
> around, if option `diredp-wrap-around-flag'
> has its default value of `t'.)

I would suggest this option to make it's way into Emacs. Can't you suggest a
patch? Windmove has similar option for moving left-right windows to wrap
around. It would be handy if 'p' and 'n' and '<' and '>' would behave similarly.





  reply	other threads:[~2021-12-10 22:26 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-09  0:39 bug#52384: 26.3; dired buffer navigation tweak Michael Perry
2021-12-10  1:36 ` Stefan Kangas
2021-12-10  7:13   ` Arthur Miller
2021-12-10 17:11     ` bug#52384: [External] : " Drew Adams
2021-12-10 22:26       ` Arthur Miller [this message]
2021-12-10 22:52         ` Drew Adams
2021-12-11 14:08           ` Arthur Miller
2021-12-11 16:41             ` Drew Adams
2021-12-11 19:40       ` Juri Linkov
2021-12-11 22:06         ` Drew Adams
2021-12-12  8:41           ` Juri Linkov
2021-12-12 18:35             ` Drew Adams
2021-12-12 18:52               ` Juri Linkov
2021-12-12 19:15                 ` Arthur Miller
2021-12-12 19:28                   ` Juri Linkov
2021-12-12 19:37                   ` Eli Zaretskii
2021-12-13 10:14                     ` Arthur Miller
2021-12-13 12:24                       ` Stefan Kangas
2021-12-13 16:29                         ` Arthur Miller
2021-12-13 13:07                       ` Eli Zaretskii
2021-12-13 16:21                         ` Arthur Miller
2021-12-13 16:59                           ` Eli Zaretskii
2021-12-13 17:11                             ` Arthur Miller
2021-12-12 19:45                 ` Drew Adams
2021-12-12 20:10                   ` Juri Linkov
2021-12-10 12:00 ` 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=AM9PR09MB49774A143751E3DB7590564F96719@AM9PR09MB4977.eurprd09.prod.outlook.com \
    --to=arthur.miller@live.com \
    --cc=52384@debbugs.gnu.org \
    --cc=amperry@provide.net \
    --cc=drew.adams@oracle.com \
    --cc=stefan@marxist.se \
    /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).