GNU bug report logs - #42578
28.0.50; [suggestion] allow dired-do-shell-command on directory line

Previous Next

Package: emacs;

Reported by: Marco Wahl <marcowahlsoft <at> gmail.com>

Date: Tue, 28 Jul 2020 10:37:01 UTC

Severity: normal

Tags: notabug

Found in version 28.0.50

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Drew Adams <drew.adams <at> oracle.com>
To: arthur miller <arthur.miller <at> live.com>, Marco Wahl <marcowahlsoft <at> gmail.com>, "Basil L. Contovounesios" <contovob <at> tcd.ie>
Cc: 42578 <at> debbugs.gnu.org
Subject: bug#42578: 28.0.50; [suggestion] allow dired-do-shell-command on directory line
Date: Wed, 29 Jul 2020 08:31:46 -0700 (PDT)
>>> I'm talking about those dired headlines here.
>>
>> Dired headlines are not file or directory lines.
>> They're not acted on by ! or (most) other
>> commands.
>
> Unfortunately some commands, like go to start of
> buffer (or what is the name) put cursor on first
> line (header) in dired which is a bit annoying
> since it is useless.

It's not at all useless.  Dired offers many features,
including many that many or most users never use or
are even unaware of.

There are, for examples keys to navigate among dir
listings, that specifically move to dir headlines.
`C-M-n', `C-M-p', `C-M-d', `C-M-u'.  Not to mention
`i', which inserts the listing for the subdir on the
current line.  (And in Dired+ `i' on a subdir listing
takes you back to the parent dir listing.)

> In dired it makes more sense to move cursor/point
> to start of the first line after the header (first
> file). 

It may make sense for you, but it doesn't necessarily
make more sense for other Dired users or Emacs in
general.  Luckily for you, you can bind keys to any
commands you like:

> I have bound a key to move it so and use that key
> instead of ordinary move to the beginning of a
> buffer (C-<home > by default I think).




This bug report was last modified 4 years and 291 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.