From: Lute Kamstra <Lute.Kamstra@cwi.nl>
Subject: Re: inserting output of shell-command (was: Major usability issue)
Date: 02 Sep 2002 22:33:00 +0200 [thread overview]
Message-ID: <sgdit1onncz.fsf@occarina.pna.cwi.nl> (raw)
In-Reply-To: <wkbs7gdupo.fsf@ID-97657.usr.dfncis.de>
lawrence mitchell <wence@gmx.li> writes:
> Bruce Korb wrote:
>
> > For years I have captured the output of a shell command and inserted
> > it into my document. The latest distributions of Linux now carry a
> > version of emacs that makes doing that non-obvious. I'm sure it is
> > doable, but it is really important to just be able to ALT-| then
> > type a command and be able to use a mouse click to capture the text.
> > I haven't read emacs lisp macros yet in order to reverse-engineer
> > what has been done; but I shouldn't have to either. :-(
>
> /----[ C-h k M-! ]
> | M-! runs the command shell-command
> | which is an interactive compiled Lisp function in `simple'.
> | (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.
> | [...]
> \----
>
> So you probably want to be typing something like C-1 M-! at the
> correct point in your buffer.
Oops, typo. Make that: C-u M-!
Lute.
--
(spook) => "genetic Crypto AG White Water"
(insert-file-contents "~/.signature") => (error "`~/.signature' too rude")
next prev parent reply other threads:[~2002-09-02 20:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1030996683.19870.help-gnu-emacs@gnu.org>
2002-09-02 20:04 ` inserting output of shell-command (was: Major usability issue) lawrence mitchell
2002-09-02 20:33 ` Lute Kamstra [this message]
2002-09-03 10:22 ` Major usability issue Kai Großjohann
2002-09-03 20:52 ` Bruce Korb
[not found] ` <mailman.1031086444.5149.help-gnu-emacs@gnu.org>
2002-09-03 21:12 ` Barry Margolin
2002-09-03 22:46 ` Bruce Korb
2002-09-04 1:58 ` Miles Bader
2002-09-03 22:11 ` Kai Großjohann
2002-09-03 13:36 ` Peter Boettcher
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=sgdit1onncz.fsf@occarina.pna.cwi.nl \
--to=lute.kamstra@cwi.nl \
/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.