help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sending a region to another X application


From: H. Dieter Wilhelm
Subject: Sending a region to another X application
Date: Thu, 21 Aug 2014 17:27:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux)

Hello (),

I've written a major mode (https://code.google.com/p/ansys-mode/) for an
obscure programming language (APDL
http://www.ansys.com/Support/Training+Center/Courses/Introduction+to+ANSYS+Mechanical+APDL)
which is used to automate finite element simulations.

At the moment the user is "copy and pasting" code snippets from an Emacs
buffer to the TCL/TK application's "command" text field.  The Emacs mode
would be more helpful if one could directly "send" code fragments with a
key binding to the application.

I've no experience with GUI programming and the only idea I've got from
internet investigations, so far, is to utilise an external C program for
sending the data over the X server with the help of libraries like Xlib
or XCB, but there seems to be little documentation.  Do you have a
better idea or is this the easiest way to go?

       Dieter
-- 
Best wishes
H. Dieter Wilhelm
Darmstadt, Germany




reply via email to

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