* [PATCH] * lisp/org.el (org-set-font-lock-defaults): include link targets
@ 2013-03-06 4:07 Aaron Ecay
2013-03-06 8:04 ` Nicolas Goaziou
2013-03-06 8:33 ` Achim Gratz
0 siblings, 2 replies; 3+ messages in thread
From: Aaron Ecay @ 2013-03-06 4:07 UTC (permalink / raw)
To: emacs-orgmode
The org-target face is created in org-faces.el, but never used for
font-locking. This patch fixes that.
---
lisp/org.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lisp/org.el b/lisp/org.el
index 3959c17..5399177 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -6056,6 +6056,8 @@ needs to be inserted at a specific position in the font-lock sequence.")
(if (memq 'radio lk) '(org-activate-target-links (0 'org-link t)))
(if (memq 'date lk) '(org-activate-dates (0 'org-date t)))
(if (memq 'footnote lk) '(org-activate-footnote-links))
+ ;; Link targets
+ (list org-any-target-regexp '(0 'org-target t))
'("^&?%%(.*\\|<%%([^>\n]*?>" (0 'org-sexp-date t))
'(org-hide-wide-columns (0 nil append))
;; TODO keyword
--
1.8.1.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] * lisp/org.el (org-set-font-lock-defaults): include link targets
2013-03-06 4:07 [PATCH] * lisp/org.el (org-set-font-lock-defaults): include link targets Aaron Ecay
@ 2013-03-06 8:04 ` Nicolas Goaziou
2013-03-06 8:33 ` Achim Gratz
1 sibling, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2013-03-06 8:04 UTC (permalink / raw)
To: Aaron Ecay; +Cc: emacs-orgmode
Hello,
Aaron Ecay <aaronecay@gmail.com> writes:
> The org-target face is created in org-faces.el, but never used for
> font-locking. This patch fixes that.
Applied. Thank you.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] * lisp/org.el (org-set-font-lock-defaults): include link targets
2013-03-06 4:07 [PATCH] * lisp/org.el (org-set-font-lock-defaults): include link targets Aaron Ecay
2013-03-06 8:04 ` Nicolas Goaziou
@ 2013-03-06 8:33 ` Achim Gratz
1 sibling, 0 replies; 3+ messages in thread
From: Achim Gratz @ 2013-03-06 8:33 UTC (permalink / raw)
To: emacs-orgmode
Aaron Ecay writes:
> The org-target face is created in org-faces.el, but never used for
> font-locking. This patch fixes that.
Thanks. It is easier for the maintainers to deal with your patches if
you produce them with
git format-patch HEAD~n
where n is the number of commits your patch comprises, or
git format-patch master
if your patch is based on master and developed in a feature branch that
has no unrelated commits. That branch should be rebased to current
master before submission. Also please read[1] (and maybe add yourself
as a contributor with FSF copyright assignment while you're at it),
especially how the commit messages need to be formatted so that a proper
Changelog for Emacs can be extracted.
[1] http://orgmode.org/worg/org-contribute.html
Regards,
Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
Factory and User Sound Singles for Waldorf Q+, Q and microQ:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-03-06 8:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-06 4:07 [PATCH] * lisp/org.el (org-set-font-lock-defaults): include link targets Aaron Ecay
2013-03-06 8:04 ` Nicolas Goaziou
2013-03-06 8:33 ` Achim Gratz
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).