From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: Adding text properties to all Org mode links Date: Tue, 10 Sep 2013 14:24:36 +0200 Message-ID: <20130910122436.GW20690@kuru.dyndns-at-home.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> <87ob80lvxl.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43118) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJMzv-0000hy-VE for emacs-orgmode@gnu.org; Tue, 10 Sep 2013 08:24:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VJMzp-0001tN-6Q for emacs-orgmode@gnu.org; Tue, 10 Sep 2013 08:24:47 -0400 Received: from mail-ea0-x232.google.com ([2a00:1450:4013:c01::232]:36023) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJMzo-0001tJ-V9 for emacs-orgmode@gnu.org; Tue, 10 Sep 2013 08:24:41 -0400 Received: by mail-ea0-f178.google.com with SMTP id a15so3851355eae.37 for ; Tue, 10 Sep 2013 05:24:40 -0700 (PDT) Content-Disposition: inline In-Reply-To: <87ob80lvxl.fsf@gmail.com> 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: Jambunathan K Cc: emacs-orgmode@gnu.org On Tue, Sep 10, 2013 at 05:39:58PM +0530, Jambunathan K wrote: > 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. Sorry I think I wasn't clear in my email. I want to echo in the echo area. So changing the (not 'use-echo-area) to 'use-echo-area did it. > > (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"). I had read that, but I think I misunderstood it the last time I read it. After your message when I read it again, I see that they should be different :-p. Thanks a lot. I'll experiment some more. Cheers, -- Suvayu Open source is the future. It sets us free.