From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tassilo Horn Subject: Re: Odd behavior with first org file opened Date: Wed, 27 Jul 2011 10:17:54 +0200 Message-ID: <878vrkf87h.fsf@tsdh.uni-koblenz.de> References: <87zkk0aawy.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:41392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlzLl-00028C-Fj for emacs-orgmode@gnu.org; Wed, 27 Jul 2011 04:20:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QlzLf-0003C4-AV for emacs-orgmode@gnu.org; Wed, 27 Jul 2011 04:20:17 -0400 Received: from lo.gmane.org ([80.91.229.12]:40740) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QlzLf-0003Bm-5U for emacs-orgmode@gnu.org; Wed, 27 Jul 2011 04:20:11 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QlzLb-0001HB-IM for emacs-orgmode@gnu.org; Wed, 27 Jul 2011 10:20:07 +0200 Received: from tsdh.uni-koblenz.de ([141.26.67.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Jul 2011 10:20:07 +0200 Received: from tassilo by tsdh.uni-koblenz.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 27 Jul 2011 10:20:07 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Rafael 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