"Graham Smith" <[EMAIL PROTECTED]> writes: > I am using emacs/org mode 6.07b on linux (ubuntu Hardy) and am having > a problem with the font lock mode. > > adding -*- mode: org; -*- to the file itself works fine, but simply > loading a test.org file doesn't activate org mode. > > I have tried commenting out and back in different options in .emacs, > but none seem to work. > > I only have these lines in .emacs at the moment. > > > ;;;;;;;;; Org -Mode;;;;;;;;;; > > (setq load-path (cons "~/EmacsAddins/Orgmode/lisp" load-path)) > (setq load-path (cons "~/EmacsAddins/Orgmode/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))
This line looks wrong. What's the extra \\' for after .org? I have the following: (add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\)$" . org-mode)) so that any files ending in .org or .org_archive trigger org-mode. -Bernt _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode