From: LanX <lanx.perl@googlemail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: external script inserting text at point
Date: Thu, 26 Nov 2009 11:49:26 -0800 (PST) [thread overview]
Message-ID: <741ffdf0-0d28-46dc-9353-ca8bdd2c0dc3@r5g2000yqb.googlegroups.com> (raw)
In-Reply-To: mailman.11571.1259257397.2239.help-gnu-emacs@gnu.org
Hi
On 26 Nov., 18:42, Lennart Borgman <lennart.borg...@gmail.com> wrote:
> You have to select buffer.
well the question was more how to find the last selected buffer...
anyway after some fiddling I found a working approach: 8)
emacsclient -e '(progn (switch-to-buffer (car (buffer-list)))(insert
"huhu"))'
Cheers
Rolf
next prev parent reply other threads:[~2009-11-26 19:49 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
[not found] ` <mailman.11571.1259257397.2239.help-gnu-emacs@gnu.org>
2009-11-26 19:49 ` LanX [this message]
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=741ffdf0-0d28-46dc-9353-ca8bdd2c0dc3@r5g2000yqb.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).