From: Ingo Lohmar <i.lohmar@gmail.com>
To: emacs-orgmode@gnu.org
Subject: PATCH: follow timestamp link also in heading
Date: Wed, 23 May 2012 19:48:42 +0300 [thread overview]
Message-ID: <87wr42etcl.fsf@acer.localhost.com> (raw)
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 "\\|"
next reply other threads:[~2012-05-23 16:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-23 16:48 Ingo Lohmar [this message]
2012-05-23 17:03 ` PATCH: follow timestamp link also in heading Ingo Lohmar
2012-05-24 9:34 ` Bastien
2012-05-24 15:58 ` Samuel Wales
2012-05-25 22:14 ` Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wr42etcl.fsf@acer.localhost.com \
--to=i.lohmar@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.