On Mon, Aug 08, 2005 at 08:34:56AM -0700, Baloff wrote:
> both
> C-u M-!  and
> M-1 M-!
> work, now, why is the waste binding, why not save one for something else?

There is only one binding. M-! is bound to the command "shell-command".
M-1 and C-u supply prefix arguments. M-1 supplies the numerical
agument "1" to the command, while "C-u" supplies the "universal
argument". It just happens that all non-nil arguments have the same 
result for this funtion, so for example M-0 would also work. 

,----[ C-h k M-! ]
| M-! runs the command shell-command
|    which is an interactive compiled Lisp function in `simple'.
| It is bound to M-!.
| (shell-command command &optional output-buffer error-buffer)
| 
| Execute string command in inferior shell; display output, if any.
| With prefix argument, insert the command's output at point.
`----

Here is the info node about prefix arguments:

(info "(elisp)Prefix Command Arguments")

> 
> thanks

-- 
Charity in capitalism is like urinating to extinguish a forest fire.
    -- Neon Absentius
absent a.in.cirle sdf period lonestar period org
SDF Public Access UNIX System - http://sdf.lonestar.org


_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to