From mboxrd@z Thu Jan 1 00:00:00 1970 From: Omid Subject: Re: src blocks not fontified Date: Sun, 01 Jun 2014 18:17:10 -0400 Message-ID: <538BA666.1000900@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrE49-0000jZ-Ui for emacs-orgmode@gnu.org; Sun, 01 Jun 2014 18:17:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WrE41-0001X9-PB for emacs-orgmode@gnu.org; Sun, 01 Jun 2014 18:17:21 -0400 Received: from mail-yk0-x22c.google.com ([2607:f8b0:4002:c07::22c]:44167) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrE41-0001Wl-KP for emacs-orgmode@gnu.org; Sun, 01 Jun 2014 18:17:13 -0400 Received: by mail-yk0-f172.google.com with SMTP id 79so3149746ykr.17 for ; Sun, 01 Jun 2014 15:17:13 -0700 (PDT) Received: from [10.0.0.2] (host-207-254.fltavth.clients.pavlovmedia.com. [68.234.207.254]) by mx.google.com with ESMTPSA id u21sm17420885yhb.51.2014.06.01.15.17.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 01 Jun 2014 15:17:12 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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