Subject: bug#6857: shell-command should say where it is talking about

From: Lars Magne Ingebrigtsen <[email-masked]>
Date: Sat, 02 Jul 2011 16:00:09 +0200

[email-masked] writes:

>        M-! (translated from <escape> !) runs the command shell-command, which
>        is an interactive compiled Lisp function in `simple.el'.
>
> OK, but in its error message,
>
>     (Shell command failed with code 99 and some error output)
>
> you had better tell the user just what buffer to look for that error
> output in, lest he have to figure it out himself. Not impossible but not
> friendly. emacs-version "24.0.50.1".

In what cases do you get an error message saying

   (Shell command failed with code 99 and some error output)

?

I get error messages like:

/bin/bash: lala: command not found

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/