emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: Source code blocks no longer natively fontified [9.3.7 (release_9.3.7-802-g9f0af6 @ /home/nicolas/.config/emacs/straight/build/org-plus-contrib/)]
@ 2020-09-10  8:32 Nicolas De Jaeghere
  2020-09-10  9:23 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas De Jaeghere @ 2020-09-10  8:32 UTC (permalink / raw)
  To: emacs-orgmode

As of commit 7769518f3, source code blocks are no longer natively
fontified when org-src-fontify-natively is set to t.

To reproduce, create an org-mode buffer and insert:

#+BEGIN_SRC emacs-lisp
  (setq foo 'foo)
#+END_SRC

Expected: setq is fontified according to font-lock-keyword-face. Actual:
setq is fontified according to org-block.

Unfortunately I can't think of anything else worth mentioning. Thank you
in advance.

Emacs  : GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.22, cairo version 1.17.3)
 of 2020-08-28
Package: Org mode version 9.3.7 (release_9.3.7-802-g9f0af6 @ /home/nicolas/.config/emacs/straight/build/org-plus-contrib/)


-- 
Nicolas De Jaeghere


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bug: Source code blocks no longer natively fontified [9.3.7 (release_9.3.7-802-g9f0af6 @ /home/nicolas/.config/emacs/straight/build/org-plus-contrib/)]
  2020-09-10  8:32 Bug: Source code blocks no longer natively fontified [9.3.7 (release_9.3.7-802-g9f0af6 @ /home/nicolas/.config/emacs/straight/build/org-plus-contrib/)] Nicolas De Jaeghere
@ 2020-09-10  9:23 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2020-09-10  9:23 UTC (permalink / raw)
  To: Nicolas De Jaeghere; +Cc: emacs-orgmode

Hi Nicolas,

Nicolas De Jaeghere <nicolas@dejaeghe.re> writes:

> As of commit 7769518f3, source code blocks are no longer natively
> fontified when org-src-fontify-natively is set to t.

Fixed, thanks. 

The original "bug" I was trying to fix with 7769518f3 seems like a
documentation bug, so I enhanced the docstring of the `org-block'
face.

Thanks,

-- 
 Bastien


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-10  9:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-10  8:32 Bug: Source code blocks no longer natively fontified [9.3.7 (release_9.3.7-802-g9f0af6 @ /home/nicolas/.config/emacs/straight/build/org-plus-contrib/)] Nicolas De Jaeghere
2020-09-10  9:23 ` Bastien

Code repositories for project(s) associated with this 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).