* bug#15032: /bin/sh and other binaries vs. M-x compile
@ 2013-08-06 1:07 jidanni
0 siblings, 0 replies; only message in thread
From: jidanni @ 2013-08-06 1:07 UTC (permalink / raw)
To: 15032
Please try the following experiment.
$ echo 'a:; test -gt 3' > Makefile
$ emacs
now set compilation-auto-jump-to-first-error to t
now do M-x compile and hit RET
does something blow up in your face and you get a buffer fill of binary
junk as emacs tries to edit an ELF file etc. etc.?
No I don't know how emacs should guard against it.
You will see
/bin/sh: line 0: test: -gt: unary operator expected
make: *** [a] Error 2
Compilation exited abnormally with code 2 at Tue Aug 6 09:00:49
and in the other window there low and behold emacs has opened /bin/sh
for one's viewing pleasure.
Even without compilation-auto-jump-to-first-error t, one little hit of
C-x ` will get the same result.
Package: emacs-snapshot
Version: 2:20130724-1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2013-08-06 1:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-06 1:07 bug#15032: /bin/sh and other binaries vs. M-x compile jidanni
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).