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 01:19:56 +0530 Message-ID: <87wr04pa57.fsf@gmail.com> References: <87har8wci9.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39893) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TAR1j-0000cv-92 for emacs-orgmode@gnu.org; Sat, 08 Sep 2012 15:49:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TAR1i-0003Vn-7R for emacs-orgmode@gnu.org; Sat, 08 Sep 2012 15:49:11 -0400 Received: from mail-pb0-f41.google.com ([209.85.160.41]:44979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TAR1i-0003Vb-0y for emacs-orgmode@gnu.org; Sat, 08 Sep 2012 15:49:10 -0400 Received: by pbbro12 with SMTP id ro12so1231731pbb.0 for ; Sat, 08 Sep 2012 12:49:09 -0700 (PDT) In-Reply-To: (Robert P. J. Day's message of "Sat, 8 Sep 2012 15:21:26 -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: > On Sun, 9 Sep 2012, Jambunathan K wrote: > >> "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. > > i figured that - my point was that i think it's worth mentioning that, with any > decently current version of emacs, all of that is already configured > and you don't need to do anything. reading that section doesn't make > that clear. I think you are complaining about something which isn't really a problem. Absence of that information may hinder usage for someone who is on Emacs-22.1. More importantly, presence of that is not going to hinder a new user. Emacs 22.1 released, Richard Stallman, 2007/06/03 Emacs 22.2 released, Chong Yidong, 2008/03/26 ,---- | c3c7e73f org.texi (Carsten 2008-01-31) (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) `---- ,---- | -This manual is for Org-mode (version 5.03). | +This manual is for Org-mode (version 5.04). | | Copyright (C) 2004, 2005, 2006, 2007 Free Software Foundation | | @@ -431,7 +431,7 @@ define _global_ keys for the commands `org-store-link' and `org-agenda' | - please choose suitable keys yourself. | | ;; The following lines are always needed. Choose your own keys. | - (add-to-list 'auto-mode-alist '("\\.org$" . org-mode)) | + (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) | (define-key global-map "\C-cl" 'org-store-link) | (define-key global-map "\C-ca" 'org-agenda) `---- > just my $0.02 (Cdn). I think I am in a mood to pick some argument :-). > rday --