From: Jambunathan K <kjambunathan@gmail.com>
To: "Robert P. J. Day" <rpjday@crashcourse.ca>
Cc: emacs org-mode mailing list <emacs-orgmode@gnu.org>
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 [thread overview]
Message-ID: <87har8wci9.fsf@gmail.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1209081457070.14413@oneiric> (Robert P. J. Day's message of "Sat, 8 Sep 2012 14:59:52 -0400 (EDT)")
"Robert P. J. Day" <rpjday@crashcourse.ca> 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
--
next prev parent reply other threads:[~2012-09-08 19:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-08 18:59 won't emacs kick into org mode for any file with a ".org" suffix? Robert P. J. Day
2012-09-08 19:17 ` Jambunathan K [this message]
2012-09-08 19:21 ` Robert P. J. Day
2012-09-08 19:49 ` Jambunathan K
2012-09-08 20:42 ` Memnon Anon
2012-09-18 14:22 ` Bastien
2012-09-08 20:20 ` Memnon Anon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87har8wci9.fsf@gmail.com \
--to=kjambunathan@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=rpjday@crashcourse.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).