all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Kyle Meyer <kyle@kyleam.com>
Cc: 22399@debbugs.gnu.org, Rasmus <rasmus@gmx.us>,
	Phillip Lord <phillip.lord@russet.org.uk>
Subject: bug#22399: org-mode fontification
Date: Wed, 20 Jan 2016 17:02:15 -0500	[thread overview]
Message-ID: <jwvtwm7kj32.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <87ziw0goel.fsf_-_@kyleam.com> (Kyle Meyer's message of "Wed, 20 Jan 2016 12:18:42 -0500")

>  (defalias 'org-font-lock-ensure
> -  (if (fboundp 'org-font-lock-ensure)
> +  (if (fboundp 'font-lock-ensure)
>        #'font-lock-ensure
> -    (lambda (_beg _end) (font-lock-fontify-buffer))))
> +    (lambda (&optional _beg _end) (font-lock-fontify-buffer))))

Looks good.

>  	    (unless (eq major-mode lang-mode) (funcall lang-mode))
> -            (org-font-lock-ensure)
> +	    ;; Avoid `font-lock-ensure', which does not display fonts in
> +	    ;; source block.
> +	    (font-lock-fontify-buffer)

Intuitively, this looks like a wrong fix.  Do you have a reproducible
recipe showing the problem that you're trying to fix?


        Stefan





  parent reply	other threads:[~2016-01-20 22:02 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-18 13:59 bug#22399: org-mode fontification Phillip Lord
2016-01-18 14:16 ` Rasmus
2016-01-18 18:05   ` Phillip Lord
2016-01-18 18:05   ` Phillip Lord
2016-01-18 18:48     ` Rasmus
2016-01-18 19:27       ` Kyle Meyer
2016-01-19  6:32         ` Kyle Meyer
2016-01-19  8:51           ` Rasmus
2016-01-19  8:51           ` Rasmus
2016-01-19 15:33             ` Kyle Meyer
2016-01-19 15:33             ` Kyle Meyer
2016-01-19 18:04               ` Kyle Meyer
2016-01-19 18:04               ` Kyle Meyer
2016-01-19 19:05               ` Rasmus
2016-01-20 11:39                 ` Phillip Lord
2016-01-20 11:39                 ` bug#22399: [O] " Phillip Lord
2016-01-20 17:18                   ` Kyle Meyer
2016-01-20 17:18                   ` Kyle Meyer
2016-01-20 22:02                     ` Stefan Monnier
2016-01-20 22:02                     ` Stefan Monnier [this message]
2016-01-21  0:44                       ` Kyle Meyer
2016-01-21  0:44                       ` Kyle Meyer
2016-01-25 14:30                         ` Stefan Monnier
2016-01-26  6:58                           ` Kyle Meyer
2016-01-26 13:06                             ` Stefan Monnier
2016-01-26 13:06                             ` Stefan Monnier
2016-01-26 15:27                               ` Kyle Meyer
2016-01-26 15:27                               ` Kyle Meyer
2016-02-01 13:50                                 ` Stefan Monnier
2016-02-01 13:50                                 ` Stefan Monnier
2016-02-03  6:38                                   ` Bastien Guerry
2016-02-03  6:38                                   ` Bastien Guerry
2016-02-03  6:51                                     ` Kyle Meyer
2016-02-03  6:55                                       ` Bastien Guerry
2016-02-03  6:55                                       ` Bastien Guerry
2016-02-11 18:18                                         ` Phillip Lord
2016-02-11 18:18                                         ` Phillip Lord
2016-02-03  6:51                                     ` Kyle Meyer
2016-01-26  6:58                           ` Kyle Meyer
2016-01-25 14:30                         ` Stefan Monnier
2016-01-19 19:05               ` Rasmus
2016-01-19  6:32         ` Kyle Meyer
2016-01-19  6:32           ` Kyle Meyer
2016-01-19 11:25           ` Phillip Lord
2016-01-19 11:25           ` Phillip Lord
2016-01-19  6:32         ` Kyle Meyer
2016-01-18 19:27       ` Kyle Meyer
2016-01-18 18:48     ` Rasmus

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=jwvtwm7kj32.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=22399@debbugs.gnu.org \
    --cc=kyle@kyleam.com \
    --cc=phillip.lord@russet.org.uk \
    --cc=rasmus@gmx.us \
    /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.