emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Omid <omidlink@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: src blocks not fontified
Date: Sun, 01 Jun 2014 18:17:10 -0400	[thread overview]
Message-ID: <538BA666.1000900@gmail.com> (raw)
In-Reply-To: <CAOm4EMvSjXhi25Tyhm-LMqB84JFEfGZVeS2JazuKDzczxbhkmg@mail.gmail.com>

Hi Shiyuan,

Add

(setq org-src-fontify-natively t)

to your .emacs.

Omid

Sent from my Emacs

On 06/01/2014 06:13 PM, Shiyuan wrote:
> Hi, 
>     I am using Emacs 24.3 with the built-in org mode(7.9.3). The src
> code block is not fontified (Emacs is started with -Q option)  
> #+BEGIN_SRC emacs-lisp
>     (defun org-xor (a b)
>       "Exclusive or."
>     (if a (not b) b))
> #+END_SRC
> 
> This is my first time to use org-mode, so I could miss some setup
> steps.Do I need to do any setup in my .emacs if I just use the built-in
> org? 
> 
> Thanks. 
> 
> Shiyuan 

  reply	other threads:[~2014-06-01 22:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-01 22:13 src blocks not fontified Shiyuan
2014-06-01 22:17 ` Omid [this message]
2014-06-01 22:40   ` Shiyuan
2014-06-01 22:46     ` Omid
2014-06-03 18:38       ` Shiyuan
2014-06-03 18:53         ` Nick Dokos
2014-06-05  6:47           ` Shiyuan
2014-06-05 13:13             ` Sebastien Vauban
2014-06-06  5:51               ` Shiyuan
2014-06-06  5:54                 ` Omid
     [not found]                 ` <CAOm4EMu-1yOXynV_qQR5cKGWpiA9trHePsEcDaX=whnmpdLDOg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-06-06  7:36                   ` Sebastien Vauban

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=538BA666.1000900@gmail.com \
    --to=omidlink@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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 public 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).