emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Odd behavior with first org file opened
@ 2011-07-26 23:18 Rafael
  2011-07-27  8:17 ` Tassilo Horn
  0 siblings, 1 reply; 2+ messages in thread
From: Rafael @ 2011-07-26 23:18 UTC (permalink / raw)
  To: emacs-orgmode


Hi!

My Emacs version is 

GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK+ Version 2.21.6) of 2010-09-01
on rhenium, modified by Debian

(from Ubuntu 11.04)

and my org-version is recent:

Org-mode version 7.6 (release_7.6.146.g6b389.dirty)

If I run:

emacs -Q -L ~/Dropbox/emacs/site-lisp/org-mode/lisp/ 

(that's where I put org-mode),
and then open any org file (I have tried with a very simple one, with
only one heading), such file is not syntactically colored. However, if I
open any second org file, then it is colored without problem. Or if I
say M-x revert-file with the first.

If I test the same with emacs -Q, using the org-mode coming with Emacs,
then everything works fine.

Hopefully you can help me solve this! 

Best regards,
Rafael

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

* Re: Odd behavior with first org file opened
  2011-07-26 23:18 Odd behavior with first org file opened Rafael
@ 2011-07-27  8:17 ` Tassilo Horn
  0 siblings, 0 replies; 2+ messages in thread
From: Tassilo Horn @ 2011-07-27  8:17 UTC (permalink / raw)
  To: emacs-orgmode

Rafael <rvf0068@gmail.com> writes:

Hi Rafael,

> If I run:
>
> emacs -Q -L ~/Dropbox/emacs/site-lisp/org-mode/lisp/ 
>
> (that's where I put org-mode),
> and then open any org file (I have tried with a very simple one, with
> only one heading), such file is not syntactically colored. However, if I
> open any second org file, then it is colored without problem. Or if I
> say M-x revert-file with the first.

I think you need to require org-install to initialize an external org
version.  So basically

  emacs -Q -L ~/Dropbox/emacs/site-lisp/org-mode/lisp/ \
        -e "(require 'org-install)"

should do the trick.

Bye,
Tassilo

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

end of thread, other threads:[~2011-07-27  8:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-26 23:18 Odd behavior with first org file opened Rafael
2011-07-27  8:17 ` Tassilo Horn

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