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


Message #57 received at 42578-done <at> debbugs.gnu.org (full text, mbox):

From: Marco Wahl <marcowahlsoft <at> gmail.com>
To: Marco Wahl <marcowahlsoft <at> gmail.com>
Cc: "Basil L. Contovounesios" <contovob <at> tcd.ie>, 42578-done <at> debbugs.gnu.org,
 Michael Albinus <michael.albinus <at> gmx.de>, Drew Adams <drew.adams <at> oracle.com>,
 Arthur Miller <arthur.miller <at> live.com>
Subject: Re: bug#42578: 28.0.50; [suggestion] allow dired-do-shell-command
 on directory line
Date: Fri, 31 Jul 2020 16:24:29 +0200
Marco Wahl <marcowahlsoft <at> gmail.com> writes:

>>> I'm fine with closing this issue now.
>
>> Done.
>
> Thanks!
>
> The command dired-smart-shell-command AKA M-! can be bound to "!" in
> dired like so
>
> #v+
> (add-hook
>  'dired-mode-hook
>  (lambda ()
>    (define-key dired-mode-map "!" #'dired-smart-shell-command)))
> #v-
>
> For all the folks out there who want to save that extra "M-".
>
> Just for the record.

The above is not so clever because then the usual binding for ! in dired
for files gets overwritten.

Sorry for posting the above, that was too quick.


Best regards,
-- 
Marco





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

Previous Next


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