From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Helge A. Gudmundsen" Subject: Syntax coloring not automatic Date: Thu, 08 Oct 2009 10:17:28 +0200 Message-ID: <1254989848.19462.1338892401@webmail.messagingengine.com> References: <938fae2d0910041530v51cdaac4jb8db88b6cb1a8b56@mail.gmail.com> Reply-To: mailinglists@helgegudmundsen.com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MvoBs-0004Kf-6z for emacs-orgmode@gnu.org; Thu, 08 Oct 2009 04:17:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MvoBn-0004JP-DS for emacs-orgmode@gnu.org; Thu, 08 Oct 2009 04:17:35 -0400 Received: from [199.232.76.173] (port=52744 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MvoBn-0004JM-8B for emacs-orgmode@gnu.org; Thu, 08 Oct 2009 04:17:31 -0400 Received: from new1.smtp.messagingengine.com ([66.111.4.221]:43503) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MvoBn-0006Pf-3O for emacs-orgmode@gnu.org; Thu, 08 Oct 2009 04:17:31 -0400 Received: from compute2.internal (compute2.internal [10.202.2.42]) by gateway1.messagingengine.com (Postfix) with ESMTP id 5382199914 for ; Thu, 8 Oct 2009 04:17:29 -0400 (EDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org-Mode Hello, My apologies for a newbie question, but since I upgraded org-mode from the bundled version (6.21 iirc), syntax highlighting is no longer automatic, and when I have loaded my org-file, I have to manually run org-mode-restart for it to kick in. I am sure this is a configuration issue on my part, but I have not been able google my way to a solution. This is running GNU Emacs 23.1.1 (on Windows XP), org-mode version 6.31trans. The org-specific bits in my setup file are: ---- (setq load-path (cons "c:/elisp/org-mode/lisp" load-path)) (setq load-path (cons "c:/elisp/org-mode/contrib/lisp" load-path)) (require 'org-install) ;; The following lines are always needed. Choose your own keys. (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) (global-set-key "\C-cl" 'org-store-link) (global-set-key "\C-ca" 'org-agenda) (global-set-key "\C-cb" 'org-iswitchb) (org-remember-insinuate) (setq org-directory "d:/My Dropbox/mylog") (setq org-default-notes-file (concat org-directory "/notes.org")) (define-key global-map "\C-cr" 'org-remember) (setq org-remember-templates '(("Todo" ?t "* TODO %?\n %i\n %a" "d:/My Dropbox/mylog/TODO.org" "Tasks") ("Journal" ?j "* %U %?\n\n %i\n %a" "d:/My Dropbox/mylog/JOURNAL.org"))) (global-font-lock-mode 1) ---- Is there something glaringly obvious that is wrong here? Best regards, Helge