From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: Adding text properties to all Org mode links Date: Tue, 10 Sep 2013 17:39:58 +0530 Message-ID: <87ob80lvxl.fsf@gmail.com> References: <20130713134027.GC11006@kuru.dyndns-at-home.com> <878v19j157.fsf@gmail.com> <20130714064125.GH11006@kuru.dyndns-at-home.com> <20130909231542.GN20690@kuru.dyndns-at-home.com> <87hadtdv1l.fsf@gmail.com> <20130910113911.GU20690@kuru.dyndns-at-home.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39995) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJMjV-0004CB-5Y for emacs-orgmode@gnu.org; Tue, 10 Sep 2013 08:07:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VJMjL-0005eL-AN for emacs-orgmode@gnu.org; Tue, 10 Sep 2013 08:07:49 -0400 Received: from mail-pa0-x22e.google.com ([2607:f8b0:400e:c03::22e]:54183) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJMjL-0005eH-2s for emacs-orgmode@gnu.org; Tue, 10 Sep 2013 08:07:39 -0400 Received: by mail-pa0-f46.google.com with SMTP id fa1so7674278pad.33 for ; Tue, 10 Sep 2013 05:07:38 -0700 (PDT) In-Reply-To: <20130910113911.GU20690@kuru.dyndns-at-home.com> (Suvayu Ali's message of "Tue, 10 Sep 2013 13:39:11 +0200") 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: Suvayu Ali Cc: emacs-orgmode@gnu.org Suvayu Ali writes: > I can't see the properties. This is what I tried: Did something happen with my snippet? I see a tooltip (which is placed afar from the link in question) in my machine. > (add-hook 'org-mode-hook > (lambda nil > ;; (setq-local default-text-properties > ;; '(point-entered org-link-entered-maybe point-left org-link-entered-maybe)) > (setq-local default-text-properties > '(point-entered sa-echo-tooltip point-left sa-echo-tooltip)) > )) > point-entered and point-left properties should have different values. See (info "(elisp) Special Properties"). > As you see there is no mention of point-left or point-entered. With point on the link try this: M-: (get-text-property (point) 'point-entered) ps: There could be better way of gettting what you want. Do your own exploration.