emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] PATCH: follow timestamp link also in heading


From: Ingo Lohmar
Subject: [O] PATCH: follow timestamp link also in heading
Date: Wed, 23 May 2012 19:48:42 +0300
User-agent: Notmuch/0.12 (http://notmuchmail.org) Emacs/24.1.50.1 (x86_64-pc-linux-gnu)

Hi there,

I stumbled upon the functionality to open the agenda for a timestamp
using org-open-at-point.  That is really sweet, but as it turns out, it
does not work in a headline (as of 7.8.10, with no changes to the
relevant code since then).  I cannot see a good reason for this, and it
is a one-line patch to fix it.  Sorry for not using the development
version proper, hence just a unified diff (below).

It would be great if this could be included!
Ingo



--- 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))
         (not (org-in-regexp
               (concat org-plain-link-re "\\|"
                       org-bracket-link-regexp "\\|"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]