[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] [BUG] Making *scratch* orgmode results in unfontified code blo
Christopher Allan Webber
[Orgmode] [BUG] Making *scratch* orgmode results in unfontified code blocks
Tue, 02 Nov 2010 10:29:35 -0500
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)
Not sure if I should mark this as a bug or not... could be PEBKAC, but I
can't figure out how to fix it.
I want to use org-mode as my *scratch* buffer, largely because I like
dumping fontified code snippets into it. However, if I set *scratch* to
org-mode and also set org-src-fontify, etc, well beforehand, it still
doesn't fontify when I put src blocks in later.
To test, put this in your .emacs:
(setq org-src-fontify-natively t)
(setq org-src-tab-acts-natively t)
(setq initial-major-mode 'org-mode)
(if (not (eq major-mode initial-major-mode))
# This buffer is for notes you don't want to save, etc.
then open emacs, switch to *scratch*, try inserting code.
Over here at least, it doesn't seem to fontify.
Running latest master in git.
|[Prev in Thread]
||[Next in Thread]|
- [Orgmode] [BUG] Making *scratch* orgmode results in unfontified code blocks,
Christopher Allan Webber <=