From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] Change fontification order for links Date: Fri, 16 Nov 2012 17:57:58 +0100 Message-ID: <87zk2ho57t.fsf@gmail.com> References: <201211161040.qAGAeI3t003635@aperture.irisa.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZPJ2-00012g-No for emacs-orgmode@gnu.org; Fri, 16 Nov 2012 12:02:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TZPIz-0005Gl-Ll for emacs-orgmode@gnu.org; Fri, 16 Nov 2012 12:02:16 -0500 Received: from mail-wi0-f177.google.com ([209.85.212.177]:44259) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZPIz-0005GD-FS for emacs-orgmode@gnu.org; Fri, 16 Nov 2012 12:02:13 -0500 Received: by mail-wi0-f177.google.com with SMTP id c10so1437843wiw.12 for ; Fri, 16 Nov 2012 09:02:12 -0800 (PST) In-Reply-To: <201211161040.qAGAeI3t003635@aperture.irisa.fr> (Christophe Junke's message of "Fri, 16 Nov 2012 11:40:18 +0100") 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: christophe.junke@inria.fr Cc: emacs-orgmode@gnu.org Hello, Christophe Junke 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