From: "Buchs, Kevin J." <buchs.kevin@mayo.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: Sending a region to another X application
Date: Thu, 21 Aug 2014 11:33:56 -0500 [thread overview]
Message-ID: <27747b$93k815@ironport10.mayo.edu> (raw)
In-Reply-To: <mailman.185.1408636859.24723.help-gnu-emacs@gnu.org>
Dieter,
This is more of a general programming question than an emacs one, so you
might want to target me off list if you have follow-up questions. Having
some experience with TCL, I know that often a command shell is just a
TCL shell with functions defined for the commands you execute. If you
have such a situation, you can extend that shell with some code that can
accept commands from a network connection, pipe, or even via the X
clipboard. If you have created a major mode in emacs, you know enough to
know that you can talk to these communication channels from emacs lisp
without too much work. Extending the TCL shell is your major task.
As for using X-Window, I've not heard of such a thing done for
inter-application communication, but I suppose it is possible. You want
to generate X events for the keystrokes. It would take some work, so
think books when you are looking for documentation. Maybe some open
source GUI testing program could give you some pointers. I wouldn't
choose to go this route, however.
Kevin Buchs Research Computer Services Phone: 507-538-5459
Mayo Clinic 200 1st. St SW Rochester, MN 55905
http://mayoclinic.org http://facebook.com/MayoClinic http://youtube.com/MayoClinic http://twitter.com/MayoClinic
On 08/21/2014 11:00 AM, help-gnu-emacs-request@gnu.org wrote:
> Sending a region to another X application
next parent reply other threads:[~2014-08-21 16:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.185.1408636859.24723.help-gnu-emacs@gnu.org>
2014-08-21 16:33 ` Buchs, Kevin J. [this message]
2014-08-21 16:38 ` How to save invisible (lisp) data in a text file Buchs, Kevin J.
2014-08-21 15:27 Sending a region to another X application H. Dieter Wilhelm
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='27747b$93k815@ironport10.mayo.edu' \
--to=buchs.kevin@mayo.edu \
--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.
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.