From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: clickable text in org-mode not working Date: Mon, 12 Nov 2012 13:42:51 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34162) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXyyF-0002gm-PH for emacs-orgmode@gnu.org; Mon, 12 Nov 2012 13:42:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TXyyC-0007Qi-NF for emacs-orgmode@gnu.org; Mon, 12 Nov 2012 13:42:55 -0500 Received: from mail-we0-f169.google.com ([74.125.82.169]:32853) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXyyC-0007Q8-H1 for emacs-orgmode@gnu.org; Mon, 12 Nov 2012 13:42:52 -0500 Received: by mail-we0-f169.google.com with SMTP id u3so3493507wey.0 for ; Mon, 12 Nov 2012 10:42:51 -0800 (PST) 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@gnu.org It appears that one cannot define "clickable" text in org-mode. I was trying to make some text in an org-file respond to different types of clicking. I know that links provide some functionality for this, but out of curiosity I wanted to see what else I could do. If I run the following code on a buffer in text-mode, the first four characters in the buffer turn blue with a white background, they turn a light green when the mouse is over them, and finally a message box pops up when I click on the characters. (let ((map (make-sparse-keymap))) (define-key map (kbd "") '(lambda() (interactive) (message-box "it works!"))) (add-text-properties 1 5 `(keymap, map font-lock-face (:foreground "blue" :background "white") mouse-face highlight))) If I switch to org-mode, the clickability and mouse highlighting go away. They also do not appear when I run the function in an org-buffer. Does anyone know if there is a feature in org-mode that turns this off, or if there is a way to get the clickability to work? Is it related to having links that are clickable? Thanks, John ----------------------------------- John Kitchin Associate Professor Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 http://kitchingroup.cheme.cmu.edu