emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* won't emacs kick into org mode for any file with a ".org" suffix?
@ 2012-09-08 18:59 Robert P. J. Day
  2012-09-08 19:17 ` Jambunathan K
  0 siblings, 1 reply; 7+ messages in thread
From: Robert P. J. Day @ 2012-09-08 18:59 UTC (permalink / raw)
  To: emacs org-mode mailing list


  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?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: won't emacs kick into org mode for any file with a ".org" suffix?
  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
  2012-09-08 19:21   ` Robert P. J. Day
  2012-09-08 20:20   ` Memnon Anon
  0 siblings, 2 replies; 7+ messages in thread
From: Jambunathan K @ 2012-09-08 19:17 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: emacs org-mode mailing list

"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
-- 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: won't emacs kick into org mode for any file with a ".org" suffix?
  2012-09-08 19:17 ` Jambunathan K
@ 2012-09-08 19:21   ` Robert P. J. Day
  2012-09-08 19:49     ` Jambunathan K
                       ` (2 more replies)
  2012-09-08 20:20   ` Memnon Anon
  1 sibling, 3 replies; 7+ messages in thread
From: Robert P. J. Day @ 2012-09-08 19:21 UTC (permalink / raw)
  To: Jambunathan K; +Cc: emacs org-mode mailing list

On Sun, 9 Sep 2012, Jambunathan K wrote:

> "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.

  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.

  just my $0.02 (Cdn).

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: won't emacs kick into org mode for any file with a ".org" suffix?
  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
  2 siblings, 0 replies; 7+ messages in thread
From: Jambunathan K @ 2012-09-08 19:49 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: emacs org-mode mailing list

"Robert P. J. Day" <rpjday@crashcourse.ca> writes:

> On Sun, 9 Sep 2012, Jambunathan K wrote:
>
>> "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.
>
>   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

-- 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: won't emacs kick into org mode for any file with a ".org" suffix?
  2012-09-08 19:17 ` Jambunathan K
  2012-09-08 19:21   ` Robert P. J. Day
@ 2012-09-08 20:20   ` Memnon Anon
  1 sibling, 0 replies; 7+ messages in thread
From: Memnon Anon @ 2012-09-08 20:20 UTC (permalink / raw)
  To: emacs-orgmode

Jambunathan K <kjambunathan@gmail.com> writes:

> 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.

Hmm. Half a decade? 
It does not work ootb on a machine in my university I frequently log in to:

*** Welcome to IELM ***  Type (describe-mode) for help.
ELISP> (with-temp-buffer
         (insert-file-contents "/etc/debian_version")
         (buffer-string))
"5.0.10\n"
ELISP> (emacs-version)
"GNU Emacs 22.2.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)\n of
2008-11-09 on raven, modified by Debian"
ELISP> (rassoc 'org-mode auto-mode-alist)
nil
ELISP>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: won't emacs kick into org mode for any file with a ".org" suffix?
  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
  2 siblings, 0 replies; 7+ messages in thread
From: Memnon Anon @ 2012-09-08 20:42 UTC (permalink / raw)
  To: emacs-orgmode

"Robert P. J. Day" <rpjday@crashcourse.ca> writes:

>   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.

Adding it doesn't hurt anyone, and with copy&paste, no problem really.
Emacs22 is still in use in some places. Just keeping it in there the way
it is now means less "Help, why doesn't it work here?" from new orgers
on this list or someplace else. Everyone knowledgeable/around long
enough will just skip that recommendation. Further explanations would
only make it more verbose I think.

fwiw
Memnon

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: won't emacs kick into org mode for any file with a ".org" suffix?
  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
  2 siblings, 0 replies; 7+ messages in thread
From: Bastien @ 2012-09-18 14:22 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: emacs org-mode mailing list, Jambunathan K

Hi Robert,

"Robert P. J. Day" <rpjday@crashcourse.ca> writes:

>   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 just fixed this, thanks.

-- 
 Bastien

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-09-18 14:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).