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: Lennart Borgman
Subject: Re: external script inserting text at point
Date: Thu, 26 Nov 2009 18:42:49 +0100

On Thu, Nov 26, 2009 at 5:10 PM, LanX <address@hidden> 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
>
>




reply via email to

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