From: Richard Stallman <rms@gnu.org>
To: Gregory Heytings <gregory@heytings.org>
Cc: arstoffel@gmail.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org
Subject: Re: [RFC] MIME attachments for comint
Date: Mon, 04 Oct 2021 18:25:08 -0400 [thread overview]
Message-ID: <E1mXWOS-0000Bu-SY@fencepost.gnu.org> (raw)
In-Reply-To: <25d8d720224a671aefb1@heytings.org> (message from Gregory Heytings on Thu, 30 Sep 2021 08:49:22 +0000)
[[[ To any NSA and FBI agents reading my email: please consider ]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]
Thanks. I did not know about the write18 feature.
> which means that shell commands are allowed "partially", that is, that the
> only allowed commands are those that are listed in shell_escape_commands:
> shell_escape_commands = bibtex,bibtex8,extractbb,gregorio,kpsewhich,makeindex,repstopdf,r-mpost,texosquery-jre8
> echo ls > bibtex
> chmod +x bibtex
> export PATH=.:$PATH
> echo '\write18{bibtex}\bye' > test.tex
> pdftex test.tex
> In practice, this is not really a problem, because it requires to either
> change one of the programs listed in shell_escape_commands, or to change
> the PATH environment variable. But it's fragile nonetheless.
I agree.
If someone is working on a feature in Emacs that will run TeX on files
you have not studied, I think we should make very sure there is no way for
that feature to use other than those default settings, unless the user
very directly insists.
--
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)
next prev parent reply other threads:[~2021-10-04 22:25 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-27 19:00 [RFC] MIME attachments for comint Augusto Stoffel
2021-09-27 20:37 ` Stefan Monnier
2021-09-28 16:05 ` Augusto Stoffel
2021-09-28 19:26 ` Stefan Monnier
2021-09-30 6:02 ` Richard Stallman
2021-09-30 7:09 ` Augusto Stoffel
2021-10-02 23:17 ` Richard Stallman
2021-10-03 7:48 ` Augusto Stoffel
2021-10-04 22:23 ` Richard Stallman
2021-09-30 8:49 ` Gregory Heytings
2021-10-04 22:25 ` Richard Stallman [this message]
2021-09-30 7:34 ` Colin Baxter
2021-09-28 5:36 ` Lars Ingebrigtsen
2021-09-28 16:09 ` Augusto Stoffel
2021-09-28 16:29 ` Robin Tarsiger
2021-09-28 18:22 ` Augusto Stoffel
2021-09-29 5:35 ` Lars Ingebrigtsen
2021-10-17 16:20 ` Stefan Monnier
2021-10-17 16:32 ` Stefan Monnier
2021-10-18 8:22 ` Augusto Stoffel
2021-10-18 16:44 ` comint-mime and loccur update (was: [RFC] MIME attachments for comint) Stefan Monnier
2021-10-20 12:17 ` Alexey Veretennikov
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=E1mXWOS-0000Bu-SY@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=arstoffel@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=gregory@heytings.org \
--cc=monnier@iro.umontreal.ca \
/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.