From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Capture the mouse-highlight help-text in a file? Date: Thu, 15 Mar 2012 14:17:51 -0400 Message-ID: <29316.1331835471@alphaville> References: <28642.1331831170@alphaville> Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8FFQ-0002wr-7x for emacs-orgmode@gnu.org; Thu, 15 Mar 2012 14:18:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S8FFL-0003Xk-H1 for emacs-orgmode@gnu.org; Thu, 15 Mar 2012 14:17:59 -0400 Received: from g6t0185.atlanta.hp.com ([15.193.32.62]:40116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8FFL-0003XQ-Bl for emacs-orgmode@gnu.org; Thu, 15 Mar 2012 14:17:55 -0400 In-Reply-To: Message from brian powell of "Thu\, 15 Mar 2012 13\:39\:25 EDT." List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: brian powell Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org brian powell wrote: > * Thanks, Nick--I have been pursuing that idea--maybe just extract the re= gexp, sed/grep etc. >=20 > ** But I was just thinking maybe there is a simple way to capture the pop= up "LINK: > file:foo.txt=C2=A0balloon" as you put it--into a file or fifo. >=20 > *** Then all sorts of things could be done with it--I'm thinking maybe Or= gMode could be used with > the lights out/if your blind/screen blinks out---well, OrgMode could be p= artially used...one could > pipe it to a text-to-speech program for example---and/or logging where th= e mouse has been in an > OrgMode document. >=20 I see - afaik, the balloon appears only on the screen and is not logged any= where. I certainly don't know of any way to capture it as it happens. It seems to = happen deep in emacs's nether regions (in C code afaict), but I didn't chase it do= wn too far. Nick > On Thu, Mar 15, 2012 at 1:06 PM, Nick Dokos wrote: >=20 > brian powell wrote: >=20=20=20=20 > > * I know that this will toggle the=C2=A0mouse-highlight "messages t= hat pop-up" when you move a > mouse over > > a "LINK: " in OrgMode: > > > > (setq mouse-highlight (not mouse-highlight)) > > > > ** Now, is there a simple way to send the=C2=A0"messages that pop-u= p" to a file? > > >=20=20=20=20 > They are already in a file: the org file that contains the link. > A link like this =C2=A0[[file:foo.txt][foo]] pops up a LINK: file:foo= .txt > balloon, so a suitable grep/sed combination suffices. >=20=20=20=20 > But I suspect that this is not a satisfactory answer: what exactly are > you trying to do? >=20=20=20=20 > Nick >=20=20=20=20 > > *** Maybe to a FIFO? > > > > > > ---------------------------------------------------- > > Alternatives: > > > > ---------------------------------------------------- >=20 >=20 > ---------------------------------------------------- > Alternatives: >=20 > ----------------------------------------------------