help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: inserting a file


From: Neon Absentius
Subject: Re: inserting a file
Date: Mon, 8 Aug 2005 02:08:04 +0000
User-agent: Mutt/1.4.2.1i

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]