From mboxrd@z Thu Jan 1 00:00:00 1970 From: brian powell Subject: Re: Capture the mouse-highlight help-text in a file? Date: Thu, 15 Mar 2012 13:39:25 -0400 Message-ID: References: <28642.1331831170@alphaville> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8f643bf2b81e9404bb4b9201 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36547) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8EeC-0004Vp-6G for emacs-orgmode@gnu.org; Thu, 15 Mar 2012 13:39:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S8Ee7-00041r-CK for emacs-orgmode@gnu.org; Thu, 15 Mar 2012 13:39:31 -0400 Received: from mail-yw0-f41.google.com ([209.85.213.41]:51448) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8Ee7-00041O-5T for emacs-orgmode@gnu.org; Thu, 15 Mar 2012 13:39:27 -0400 Received: by yhr47 with SMTP id 47so4050096yhr.0 for ; Thu, 15 Mar 2012 10:39:25 -0700 (PDT) In-Reply-To: <28642.1331831170@alphaville> 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: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org --e89a8f643bf2b81e9404bb4b9201 Content-Type: text/plain; charset=ISO-8859-1 * Thanks, Nick--I have been pursuing that idea--maybe just extract the regexp, sed/grep etc. ** But I was just thinking maybe there is a simple way to capture the pop up "LINK: file:foo.txt balloon" as you put it--into a file or fifo. *** Then all sorts of things could be done with it--I'm thinking maybe OrgMode could be used with the lights out/if your blind/screen blinks out---well, OrgMode could be partially used...one could pipe it to a text-to-speech program for example---and/or logging where the mouse has been in an OrgMode document. On Thu, Mar 15, 2012 at 1:06 PM, Nick Dokos wrote: > brian powell wrote: > > > * I know that this will toggle the mouse-highlight "messages that > 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 "messages that pop-up" to a > file? > > > > They are already in a file: the org file that contains the link. > A link like this [[file:foo.txt][foo]] pops up a LINK: file:foo.txt > balloon, so a suitable grep/sed combination suffices. > > But I suspect that this is not a satisfactory answer: what exactly are > you trying to do? > > Nick > > > *** Maybe to a FIFO? > > > > > > ---------------------------------------------------- > > Alternatives: > > > > ---------------------------------------------------- > --e89a8f643bf2b81e9404bb4b9201 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable * Thanks, Nick--I have been pursuing that idea--maybe just extract the rege= xp, sed/grep etc.

** But I was just thinking maybe there= is a simple way to capture the pop up "LINK: file:foo.txt=A0balloon&q= uot; as you put it--into a file or fifo.

*** Then all sorts of things could be done with it--I&#= 39;m thinking maybe OrgMode could be used with the lights out/if your blind= /screen blinks out---well, OrgMode could be partially used...one could pipe= it to a text-to-speech program for example---and/or logging where the mous= e has been in an OrgMode document.


On Thu, Mar 15, 2012 at 1:06 PM, Ni= ck Dokos <nic= holas.dokos@hp.com> wrote:
brian powell <briangpowellms@gmail.com> wrote:

> * I know that this will toggle the=A0mouse-highlight "messages th= at 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=A0"messages that pop-up= " to a file?
>

They are already in a file: the org file that contains the link= .
A link like this =A0[[file:foo.txt][foo]] pops up a LINK: file:foo.txt
balloon, so a suitable grep/sed combination suffices.

But I suspect that this is not a satisfactory answer: what exactly are
you trying to do?

Nick

> *** Maybe to a FIFO?
>
>
> ----------------------------------------------------
> Alternatives:
>
> ----------------------------------------------------

--e89a8f643bf2b81e9404bb4b9201--