From: LanX <lanx.perl@googlemail.com>
To: help-gnu-emacs@gnu.org
Subject: external script inserting text at point
Date: Thu, 26 Nov 2009 08:10:41 -0800 (PST) [thread overview]
Message-ID: <f5522606-14ef-4232-be06-85fc0eceedcb@g26g2000yqe.googlegroups.com> (raw)
hi
I'm trying to trigger insertion of text-snippets into the current
buffer/point from external scripts.
E.g I tried from bash to call
emacsclient -e '(insert "huhu")'
and
emacsclient -ne '(insert-file "~/tmp/tst.pl")'
but without success... what am I missing? Do I have to select the
current point?
(I already checked that client and server communication works)
Any help appreciated
Cheers
Rolf
next reply other threads:[~2009-11-26 16:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-26 16:10 LanX [this message]
2009-11-26 17:42 ` external script inserting text at point Lennart Borgman
[not found] ` <mailman.11571.1259257397.2239.help-gnu-emacs@gnu.org>
2009-11-26 19:49 ` LanX
2009-11-26 20:45 ` Lennart Borgman
2009-11-29 18:34 ` LanX
2009-11-29 18:36 ` Lennart Borgman
2009-11-29 18:42 ` LanX
2009-11-29 21:54 ` Lennart Borgman
2009-11-29 23:52 ` LanX
2009-11-30 0:10 ` Lennart Borgman
2009-11-30 0:33 ` Steve Revilak
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f5522606-14ef-4232-be06-85fc0eceedcb@g26g2000yqe.googlegroups.com \
--to=lanx.perl@googlemail.com \
--cc=help-gnu-emacs@gnu.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).