From: Lennart Borgman <lennart.borgman@gmail.com>
To: LanX <lanx.perl@googlemail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: external script inserting text at point
Date: Thu, 26 Nov 2009 18:42:49 +0100 [thread overview]
Message-ID: <e01d8a50911260942x306f4dbam904aecbb70e757da@mail.gmail.com> (raw)
In-Reply-To: <f5522606-14ef-4232-be06-85fc0eceedcb@g26g2000yqe.googlegroups.com>
On Thu, Nov 26, 2009 at 5:10 PM, LanX <lanx.perl@googlemail.com> wrote:
> 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?
You have to select buffer.
> (I already checked that client and server communication works)
>
> Any help appreciated
>
> Cheers
> Rolf
>
>
next prev parent reply other threads:[~2009-11-26 17:42 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-26 16:10 external script inserting text at point LanX
2009-11-26 17:42 ` Lennart Borgman [this message]
[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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e01d8a50911260942x306f4dbam904aecbb70e757da@mail.gmail.com \
--to=lennart.borgman@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=lanx.perl@googlemail.com \
/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.