From: Arthur Miller <arthur.miller@live.com>
To: Filipp Gunbin <fgunbin@fastmail.fm>
Cc: 48883@debbugs.gnu.org, Boruch Baum <boruch_baum@gmx.com>
Subject: bug#48883: dired marking bugs
Date: Tue, 08 Jun 2021 06:15:34 +0200 [thread overview]
Message-ID: <AM9PR09MB4977E631168B7AACF355718996379@AM9PR09MB4977.eurprd09.prod.outlook.com> (raw)
In-Reply-To: <m2sg1tnql4.fsf@fastmail.fm> (Filipp Gunbin's message of "Tue, 08 Jun 2021 03:32:39 +0300")
Filipp Gunbin <fgunbin@fastmail.fm> writes:
> On 07/06/2021 20:53 +0200, Arthur Miller wrote:
>
>> Boruch Baum <boruch_baum@gmx.com> writes:
>>
>>> In testing my diredc package, I'm coming across the following bugs
>>> reproducable in \emacs -Q -nw:
>>>
>>> 1) Improper marking of directory heading line
>>>
>>> 1.1) The correct and expected behavior of dired is that when one
>>> navigates to a directory heading line (eg. the first line of a
>>> simple dired buffer) and presses 'm', all "real" files of that
>>> directory are marked, [IMPORTANT] the lines for the "not-real"
>>> files '.' and '..' are not marked, and [IMPORTANT] the directory
>>> line itself is not marked.
>> I have no idea if that is "correct and expected behaviour", I don't see
>> it said in manual, or I missed it, but anyway, the headline in Dired is
>> a waste of space since you can see dir name in modeline or frame title,
>> [...]
>
> The headlines are very much needed if you have -R in ls switches…
Aha, so it would insert a headline for each recursive listing. Ok, that
make sense.
Thanks for pointing it out. I have never used -R in listing
switches. Is it useful in real-world? I can just imagine how long time
would take for emacs to list entire /home/user dir. I tried it now just
for the test, but I had to press C-g after few seconds.
Actually when thinking of it, I don't use 'i' to insert a
directory either but I am aware of it, and I guess it also needs a
headline as a visual delimiter. Anyway I never really find it pretty or
useful to insert a subdir below entire content. Instead I use a
package dired-hacks which has a utility dired-subtree which lets me
toggle subdir similar to a conventional file manager. It works similar
to headlines in outline/org mode which I think is a bit more natural to use.
next prev parent reply other threads:[~2021-06-08 4:15 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-06 20:33 bug#48883: dired marking bugs Boruch Baum
2021-06-06 22:12 ` bug#48883: [External] : " Drew Adams
2021-06-06 22:44 ` Boruch Baum
2021-06-07 15:24 ` Drew Adams
2021-06-07 0:08 ` Boruch Baum
2021-06-07 15:21 ` Drew Adams
2021-06-07 16:16 ` Drew Adams
2021-06-07 0:50 ` Boruch Baum
2021-06-07 18:53 ` Arthur Miller
2021-06-08 0:32 ` Filipp Gunbin
2021-06-08 4:15 ` Arthur Miller [this message]
2021-06-08 12:41 ` Filipp Gunbin
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AM9PR09MB4977E631168B7AACF355718996379@AM9PR09MB4977.eurprd09.prod.outlook.com \
--to=arthur.miller@live.com \
--cc=48883@debbugs.gnu.org \
--cc=boruch_baum@gmx.com \
--cc=fgunbin@fastmail.fm \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.