From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Lohmar Subject: Re: PATCH: follow timestamp link also in heading Date: Wed, 23 May 2012 20:03:58 +0300 Message-ID: <87txz6esn5.fsf@acer.localhost.com> References: <87wr42etcl.fsf@acer.localhost.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48621) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SXEyp-0002OU-BO for emacs-orgmode@gnu.org; Wed, 23 May 2012 13:04:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SXEyj-0003rc-6X for emacs-orgmode@gnu.org; Wed, 23 May 2012 13:04:10 -0400 Received: from mail-wi0-f169.google.com ([209.85.212.169]:59069) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SXEyi-0003qS-UK for emacs-orgmode@gnu.org; Wed, 23 May 2012 13:04:05 -0400 Received: by wibhn14 with SMTP id hn14so4776073wib.0 for ; Wed, 23 May 2012 10:04:02 -0700 (PDT) In-Reply-To: <87wr42etcl.fsf@acer.localhost.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: emacs-orgmode@gnu.org Dammit. Should work (as in normal text) with inactive timestamps as well! See below. --- a/lisp/org.el +++ b/lisp/org.el @@ -9606,6 +9606,7 @@ (org-remove-occur-highlights nil nil t) (cond ((and (org-at-heading-p) + (not (org-at-timestamp-p t)) (not (org-in-regexp (concat org-plain-link-re "\\|" org-bracket-link-regexp "\\|"