GNU bug report logs - #22399
org-mode fontification

Previous Next

Packages: org-mode, emacs;

Reported by: phillip.lord <at> russet.org.uk (Phillip Lord)

Date: Mon, 18 Jan 2016 14:00:02 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: phillip.lord <at> russet.org.uk (Phillip Lord)
Subject: bug#22399: closed (Re: bug#22399: org-mode fontification)
Date: Mon, 01 Feb 2016 13:51:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#22399: org-mode fontification

which was filed against the emacs,org-mode package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 22399 <at> debbugs.gnu.org.

-- 
22399: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22399
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Kyle Meyer <kyle <at> kyleam.com>
Cc: 22399-done <at> debbugs.gnu.org, Rasmus <rasmus <at> gmx.us>,
 Phillip Lord <phillip.lord <at> russet.org.uk>
Subject: Re: bug#22399: org-mode fontification
Date: Mon, 01 Feb 2016 08:50:11 -0500
> No, I don't have commit rights.  I'll update the Org side, but, for
> issues that were introduced in the Emacs tree post 24.5, I don't know if
> it's preferable to also update Emacs instead of waiting for the changes
> to come over with a full sync.

Looks like there's no Org people following this, so I installed it into
emacs-25 (IOW it should be fixed in the next (25.0.91) pretest).


        Stefan

[Message part 3 (message/rfc822, inline)]
From: phillip.lord <at> russet.org.uk (Phillip Lord)
To: bug-gnu-emacs <at> gnu.org
Subject: org-mode fontification
Date: Mon, 18 Jan 2016 13:59:41 +0000
On emacs-25 ox-html, line 1847, org-html-fontify-code does this...


(setq code (with-temp-buffer
		       ;; Switch to language-specific mode.
		       (funcall lang-mode)
		       (insert code)
		       ;; Fontify buffer.
		       (org-font-lock-ensure)


But `org-font-lock-ensure' is defined like so....

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


which takes two args, causing crashes when exporting to code to HTML.

Phil




This bug report was last modified 9 years and 159 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.