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

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

Re: external script inserting text at point


From: Steve Revilak
Subject: Re: external script inserting text at point
Date: Sun, 29 Nov 2009 19:33:17 -0500
User-agent: Mutt/1.5.19 (2009-01-05)

LanX> I'm trying to trigger insertion of  text-snippets into the current
LanX> buffer/point from external scripts.

If you don't mind shell typing commands into the mini-buffer, then
shell-command (typically bound to M-!) will do what you want.

To give an example, the text on the line below
Sun Nov 29 19:28:15 EST 2009

Came from
  ESC 1 M-! date RETURN

(The prefix argument inserts command output at point, as opposed to
inserting the command output into a separate buffer.)

Steve

Attachment: pgpkMguORvvnf.pgp
Description: PGP signature


reply via email to

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