emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Helge A. Gudmundsen" <mailinglists@helgegudmundsen.com>
To: Org-Mode <emacs-orgmode@gnu.org>
Subject: Syntax coloring not automatic
Date: Thu, 08 Oct 2009 10:17:28 +0200	[thread overview]
Message-ID: <1254989848.19462.1338892401@webmail.messagingengine.com> (raw)
In-Reply-To: <F5EC3BBC-B29F-4DBA-B23D-61C41333568F@gmail.com>

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	other threads:[~2009-10-08  8:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-04 22:30 add a whole directory as one item to refile targets Eraldo Helal
2009-10-08  7:02 ` Carsten Dominik
2009-10-08  8:17   ` Helge A. Gudmundsen [this message]
2009-10-10 21:48   ` Eraldo Helal
2009-10-10 22:06     ` Bernt Hansen
2009-10-12 13:48       ` Eraldo Helal
2009-10-12 14:15         ` Carsten Dominik
2009-10-17 13:19           ` Eraldo Helal
2009-10-12 16:47         ` Sebastian
2009-10-17 10:58           ` Eraldo Helal
2009-10-17 12:59             ` Sebastian

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=1254989848.19462.1338892401@webmail.messagingengine.com \
    --to=mailinglists@helgegudmundsen.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).