From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: won't emacs kick into org mode for any file with a ".org" suffix? Date: Sun, 09 Sep 2012 00:47:02 +0530 Message-ID: <87har8wci9.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34532) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TAQVy-00031P-2Q for emacs-orgmode@gnu.org; Sat, 08 Sep 2012 15:16:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TAQVx-0002RF-85 for emacs-orgmode@gnu.org; Sat, 08 Sep 2012 15:16:22 -0400 Received: from mail-pb0-f41.google.com ([209.85.160.41]:48344) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TAQVx-0002RB-1a for emacs-orgmode@gnu.org; Sat, 08 Sep 2012 15:16:21 -0400 Received: by pbbro12 with SMTP id ro12so1212211pbb.0 for ; Sat, 08 Sep 2012 12:16:20 -0700 (PDT) In-Reply-To: (Robert P. J. Day's message of "Sat, 8 Sep 2012 14:59:52 -0400 (EDT)") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Robert P. J. Day" Cc: emacs org-mode mailing list "Robert P. J. Day" writes: > currently working my way thru the manual and section 1.3, > "Activation", explains how to add a line to your .emacs file to > guarantee that any ".org" file will open in org mode. > > but as far as i can tell, as long as org-mode is installed, that > will happen, anyway, won't it? i've tested it with an empty .org file > and i get org mode automatically. > > isn't it worth mentioning that? or am i misreading something? It is meant for users who are using Org with a version of Emacs that is released before 2007-11-09. That is really an Emacs that is half-a-decade old. ,---- C-h v auto-mode-alist | === modified file 'lisp/files.el' | --- lisp/files.el 2007-11-09 10:38:50 +0000 | +++ lisp/files.el 2007-11-10 17:20:37 +0000 | @@ -1964,6 +1964,7 @@ since only a single case-insensitive sea | ("\\.ins\\'" . tex-mode) ;Installation files for TeX packages. | ("\\.ltx\\'" . latex-mode) | ("\\.dtx\\'" . doctex-mode) | + ("\\.org\\'" . org-mode) | ("\\.el\\'" . emacs-lisp-mode) | ("\\.\\(scm\\|stk\\|ss\\|sch\\)\\'" . scheme-mode) | ("\\.l\\'" . lisp-mode) `---- > > rday --