From: Luca Ferrari <fluca1978@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: formatting buffer with external tool
Date: Tue, 12 Apr 2022 13:45:03 +0200 [thread overview]
Message-ID: <CAKoxK+6abZdRidMGbz+_0n66fgnHDtdv8Cv+SxVPGez8GL0hQQ@mail.gmail.com> (raw)
Hi all,
how can I define a command so that instead of calling indent-region I
pass the region content to an external program and get back the result
into the region?
Thanks,
Luca
next reply other threads:[~2022-04-12 11:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-12 11:45 Luca Ferrari [this message]
2022-04-12 11:53 ` formatting buffer with external tool Eli Zaretskii
2022-04-12 12:01 ` Stephen Berman
2022-04-12 17:37 ` Marcin Borkowski
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=CAKoxK+6abZdRidMGbz+_0n66fgnHDtdv8Cv+SxVPGez8GL0hQQ@mail.gmail.com \
--to=fluca1978@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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.
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).