all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: brian powell <briangpowellms@gmail.com>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: Capture the mouse-highlight help-text in a file?
Date: Thu, 15 Mar 2012 14:17:51 -0400	[thread overview]
Message-ID: <29316.1331835471@alphaville> (raw)
In-Reply-To: Message from brian powell <briangpowellms@gmail.com> of "Thu\, 15 Mar 2012 13\:39\:25 EDT." <CAFm0skH=2_XZ2oXYzfcm7x=E+j8N7ORngmLfs4vufAYjQGrkJw@mail.gmail.com>

brian powell <briangpowellms@gmail.com> wrote:

> * 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.
> 

I see - afaik, the balloon appears only on the screen and is not logged anywhere.
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 down
too far.

Nick

> On Thu, Mar 15, 2012 at 1:06 PM, Nick Dokos <nicholas.dokos@hp.com> wrote:
> 
>     brian powell <briangpowellms@gmail.com> 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:
>     >
>     > ----------------------------------------------------
> 
> 
> ----------------------------------------------------
> Alternatives:
> 
> ----------------------------------------------------

      reply	other threads:[~2012-03-15 18:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-15 16:49 Capture the mouse-highlight help-text in a file? brian powell
2012-03-15 17:06 ` Nick Dokos
2012-03-15 17:39   ` brian powell
2012-03-15 18:17     ` Nick Dokos [this message]

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=29316.1331835471@alphaville \
    --to=nicholas.dokos@hp.com \
    --cc=briangpowellms@gmail.com \
    --cc=emacs-orgmode@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.