[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] won't emacs kick into org mode for any file with a ".org" suffix
From: |
Jambunathan K |
Subject: |
Re: [O] won't emacs kick into org mode for any file with a ".org" suffix? |
Date: |
Sun, 09 Sep 2012 01:19:56 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) |
"Robert P. J. Day" <address@hidden> writes:
> On Sun, 9 Sep 2012, Jambunathan K wrote:
>
>> "Robert P. J. Day" <address@hidden> 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
--