emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Syntax coloring not automatic


From: Helge A. Gudmundsen
Subject: [Orgmode] Syntax coloring not automatic
Date: Thu, 08 Oct 2009 10:17:28 +0200

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]