all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Neon Absentius <absent@sdf.lonestar.org>
Subject: Re: inserting a file
Date: Mon, 8 Aug 2005 02:08:04 +0000	[thread overview]
Message-ID: <20050808020804.GA13384@SDF.LONESTAR.ORG> (raw)
In-Reply-To: <42f689e0_1@news.iprimus.com.au>

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	other threads:[~2005-08-08  2:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-07 19:20 inserting a file Baloff
2005-08-07 19:10 ` Jesper Harder
2005-08-07 19:41 ` Christian Plate
2005-08-07 19:57 ` Jens Kubieziel
2005-08-08 15:34   ` Baloff
2005-08-08  2:08     ` Neon Absentius [this message]
2005-08-08 19:38 ` Kevin Rodgers

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=20050808020804.GA13384@SDF.LONESTAR.ORG \
    --to=absent@sdf.lonestar.org \
    /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.