From: Marco Wahl <marcowahlsoft@gmail.com>
To: Marco Wahl <marcowahlsoft@gmail.com>
Cc: "Basil L. Contovounesios" <contovob@tcd.ie>,
42578-done@debbugs.gnu.org,
Michael Albinus <michael.albinus@gmx.de>,
Arthur Miller <arthur.miller@live.com>
Subject: bug#42578: 28.0.50; [suggestion] allow dired-do-shell-command on directory line
Date: Fri, 31 Jul 2020 16:24:29 +0200 [thread overview]
Message-ID: <87wo2ju5ia.fsf@gmail.com> (raw)
In-Reply-To: <87mu3he1yq.fsf@gmail.com> (Marco Wahl's message of "Thu, 30 Jul 2020 12:23:09 +0200")
Marco Wahl <marcowahlsoft@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
next prev parent reply other threads:[~2020-07-31 14:24 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-28 10:36 bug#42578: 28.0.50; [suggestion] allow dired-do-shell-command on directory line Marco Wahl
2020-07-28 18:34 ` Basil L. Contovounesios
2020-07-28 19:09 ` Marco Wahl
2020-07-28 20:20 ` Drew Adams
2020-07-28 21:04 ` Marco Wahl
2020-07-29 7:49 ` Michael Albinus
2020-07-29 11:55 ` Marco Wahl
2020-07-29 12:11 ` Michael Albinus
2020-07-29 12:33 ` Marco Wahl
2020-07-29 14:16 ` Michael Albinus
2020-07-30 10:23 ` Marco Wahl
2020-07-31 14:24 ` Marco Wahl [this message]
2020-07-29 0:17 ` arthur miller
2020-07-29 15:31 ` Drew Adams
2020-07-29 15:59 ` Arthur Miller
2020-07-29 16:29 ` Drew Adams
2020-07-29 18:02 ` Arthur Miller
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=87wo2ju5ia.fsf@gmail.com \
--to=marcowahlsoft@gmail.com \
--cc=42578-done@debbugs.gnu.org \
--cc=arthur.miller@live.com \
--cc=contovob@tcd.ie \
--cc=michael.albinus@gmx.de \
/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.