From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Graham Smith" Subject: font lock mode can't get to work Date: Thu, 25 Sep 2008 20:31:27 +0100 Message-ID: <2c75873c0809251231u6a4b0789x6914d77d88eccb55@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KiwYk-0007wf-Nq for emacs-orgmode@gnu.org; Thu, 25 Sep 2008 15:31:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KiwYi-0007vz-Nv for emacs-orgmode@gnu.org; Thu, 25 Sep 2008 15:31:29 -0400 Received: from [199.232.76.173] (port=60396 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KiwYi-0007vu-Ho for emacs-orgmode@gnu.org; Thu, 25 Sep 2008 15:31:28 -0400 Received: from mail-gx0-f12.google.com ([209.85.217.12]:35565) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KiwYi-0004tb-8o for emacs-orgmode@gnu.org; Thu, 25 Sep 2008 15:31:28 -0400 Received: by gxk5 with SMTP id 5so7679761gxk.18 for ; Thu, 25 Sep 2008 12:31:27 -0700 (PDT) Content-Disposition: inline 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: emacs-orgmode@gnu.org 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)) (global-set-key "\C-cl" 'org-store-link) (global-set-key "\C-ca" 'org-agenda) (global-set-key "\C-cb" 'org-iswitchb) (global-font-lock-mode 1) ; for all buffers (add-hook 'org-mode-hook 'turn-on-font-lock) ; Org buffers only I presume I am doing something stupid, but can someone tell me what it might be. Thanks, Graham