From: Milan Zamazal <pdm@brailcom.org>
Subject: Re: making contents of other programs transparent to Emacs
Date: Wed, 11 Aug 2004 23:27:33 +0200 [thread overview]
Message-ID: <87u0v95pru.fsf@swan.zamazal.org> (raw)
In-Reply-To: E1BuuGJ-0004WR-00@lab45.ma.utexas.edu
>>>>> "JC" == Joe Corneli <jcorneli@math.utexas.edu> writes:
JC> Suppose I wanted to make the contents of e.g. an rxvt or Mozilla
JC> window readable to an Emacs. What would I need to do? The text
JC> is available to X (and I can copy and paste it into other
JC> programs) so it also seems that with more work I should be able
JC> to treat the text in these other programs as a read-only Emacs
JC> buffer.
I'm afraid the X selection mechanism is generally not much help to you,
since the way of selecting something is application specific.
But you might use accessibility features of applications for this, quite
easily. For instance, if the given application supports AT-SPI, you can
query its contents via the AT-SPI interface. There's no support for
this in Emacs directly, but there are programs that can do it and you
can call them from Emacs and insert their output into an Emacs buffer.
(Unfortunately, current accessibility support in Mozilla is very poor,
so this won't work for Mozilla now.)
Regards,
Milan Zamazal
--
real programmer? don't get me started. if you need to hide your
pathetic excuse for a carreer behind super-macho languages like C, C++,
and/or Perl instead of writing clean, maintainable, efficient code, you
aren't much of a real programmer in my view. -- Erik Naggum in comp.emacs
next prev parent reply other threads:[~2004-08-11 21:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-11 14:39 making contents of other programs transparent to Emacs Joe Corneli
2004-08-11 21:27 ` Milan Zamazal [this message]
[not found] <mailman.813.1092235424.2011.help-gnu-emacs@gnu.org>
2004-08-12 2:29 ` Barry Margolin
2004-08-12 9:59 ` Bruce Ingalls
[not found] <38r1iv$3r7l6i@ironman3.mail.utexas.edu>
2004-08-16 17:03 ` Joe Corneli
[not found] ` <mailman.1442.1092676134.2011.help-gnu-emacs@gnu.org>
2004-08-16 17:48 ` Kevin Rodgers
-- strict thread matches above, loose matches on Subject: below --
2004-08-16 23:22 Joe Corneli
2004-08-28 14:40 ` Kai Grossjohann
2004-08-28 17:50 Joe Corneli
[not found] <mailman.537.1093715759.1998.help-gnu-emacs@gnu.org>
2004-08-30 6:44 ` Mathias Dahl
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=87u0v95pru.fsf@swan.zamazal.org \
--to=pdm@brailcom.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.