From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: :point-entered and :point-left on text in org-mode? Date: Tue, 13 Oct 2015 09:13:58 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57602) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlzP1-00087U-Dg for emacs-orgmode@gnu.org; Tue, 13 Oct 2015 09:14:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZlzOy-0002VT-Mh for emacs-orgmode@gnu.org; Tue, 13 Oct 2015 09:14:03 -0400 Received: from mail-qg0-x229.google.com ([2607:f8b0:400d:c04::229]:34887) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZlzOy-0002VC-Ij for emacs-orgmode@gnu.org; Tue, 13 Oct 2015 09:14:00 -0400 Received: by qgt47 with SMTP id 47so13352545qgt.2 for ; Tue, 13 Oct 2015 06:14:00 -0700 (PDT) Received: from Johns-MacBook-Air.local (KITCHIN-TIMEMACHINE.CHEME.CMU.EDU. [128.2.54.215]) by smtp.gmail.com with ESMTPSA id j193sm1133741qhc.17.2015.10.13.06.13.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Oct 2015 06:13:59 -0700 (PDT) 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: emacs-orgmode Mailinglist Has anyone tried using :point-entered and :point-left properties in text in org-mode? I have been looking into them as replacements for some things I currently do with timers on functional links. The idea is to use them to run some code when a point enters a link, e.g. toggle a latex equation, or display a message about the link. I think it would be better than using post-command-hook, and simpler than the idle-timer approach I have been using. Is there some other canonical way to execute code on entering a region? Thanks! -- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu