emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: christophe.junke@inria.fr
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] Change fontification order for links
Date: Fri, 16 Nov 2012 17:57:58 +0100	[thread overview]
Message-ID: <87zk2ho57t.fsf@gmail.com> (raw)
In-Reply-To: <201211161040.qAGAeI3t003635@aperture.irisa.fr> (Christophe Junke's message of "Fri, 16 Nov 2012 11:40:18 +0100")

Hello,

Christophe Junke <christophe.junke@inria.fr> writes:

> * lisp/org.el (org-set-font-lock-defaults): let footnote fontifications
>   be done before other links' fontification. This allows links appearing
>   inside footnotes to be both visible and active.
>
> TINYCHANGE
> ---
>  lisp/org.el |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lisp/org.el b/lisp/org.el
> index cfd8651..15b73aa 100644
> --- a/lisp/org.el
> +++ b/lisp/org.el
> @@ -5901,13 +5901,13 @@ needs to be inserted at a specific position in the font-lock sequence.")
> 		 '(1 'org-special-keyword t)
> 		 '(3 'org-property-value t))
> 	   ;; Links
> +	   (if (memq 'footnote lk) '(org-activate-footnote-links))
> 	   (if (memq 'tag lk) '(org-activate-tags (1 'org-tag prepend)))
> 	   (if (memq 'angle lk) '(org-activate-angle-links (0 'org-link t)))
> 	   (if (memq 'plain lk) '(org-activate-plain-links))
> 	   (if (memq 'bracket lk) '(org-activate-bracket-links (0 'org-link t)))
> 	   (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))
> 	   '("^&?%%(.*\\|<%%([^>\n]*?>" (0 'org-sexp-date t))
> 	   '(org-hide-wide-columns (0 nil append))
> 	   ;; TODO keyword
> --
> 1.7.9.5

Thank you for your patch.

Unfortunately, for some reason, I cannot apply it on master. Would you
mind updating Org and providing it again (assuming this is the reason
for the error)?


Regards,

-- 
Nicolas Goaziou

      reply	other threads:[~2012-11-16 17:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-16 10:40 [PATCH] Change fontification order for links Christophe Junke
2012-11-16 16:57 ` Nicolas Goaziou [this message]

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zk2ho57t.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=christophe.junke@inria.fr \
    --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 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).