From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: external script inserting text at point Date: Thu, 26 Nov 2009 18:42:49 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1259259454 7139 80.91.229.12 (26 Nov 2009 18:17:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 26 Nov 2009 18:17:34 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: LanX Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 26 19:17:27 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NDiuB-0001fj-LM for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Nov 2009 19:17:23 +0100 Original-Received: from localhost ([127.0.0.1]:52698 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDiuB-0002V2-3q for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Nov 2009 13:17:23 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NDiNA-0001Cd-Sr for help-gnu-emacs@gnu.org; Thu, 26 Nov 2009 12:43:16 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NDiN4-00012x-Jz for help-gnu-emacs@gnu.org; Thu, 26 Nov 2009 12:43:14 -0500 Original-Received: from [199.232.76.173] (port=36519 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDiN4-00012c-7G for help-gnu-emacs@gnu.org; Thu, 26 Nov 2009 12:43:10 -0500 Original-Received: from mail-yx0-f175.google.com ([209.85.210.175]:47592) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NDiN3-0007KH-TO for help-gnu-emacs@gnu.org; Thu, 26 Nov 2009 12:43:10 -0500 Original-Received: by yxe5 with SMTP id 5so894714yxe.24 for ; Thu, 26 Nov 2009 09:43:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=V2ByKpcvzeFqraKYJWaWpvgvpVG2a3DdyZiYJVq0Rb4=; b=ftBkr8fdgRqZfyfK3APIpeOD3nOuMwXNRN8/j7n3LD61+Jo++nK2THp3yCndZtNLC9 dMIVWjXGMPf0QnKibX5r8Dy6tL97FR5kQUBXwcgtYRPD0YbO+zxek/nJRtiFKvaFbyKZ ALWaqDTLUImhtOrc5MOKrpwWL4f6q4ILJidbU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=vI2sR0ckkh6qGw/NCKg69QVYby7+q/qd+k93zvPZN+asV3FSOAt1vMetFjbQe15NNb 4JBAmGoJyhVybCFT6yRwckSYGBkcJhTU7xaFwauLhFhj1X0kQYKuCwcMtl+bR2BnOpLo hgSudbnj7pN+8zM1Sp2fwrfJ9s2wS2jy+z7fY= Original-Received: by 10.101.143.10 with SMTP id v10mr6330402ann.170.1259257389082; Thu, 26 Nov 2009 09:43:09 -0800 (PST) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:70149 Archived-At: On Thu, Nov 26, 2009 at 5:10 PM, LanX wrote: > hi > > I'm trying to trigger insertion of =C2=A0text-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 > =C2=A0Rolf > >