[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 00:47:02 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) |
"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.
,---- 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
--