Leo and Org-Mode

2014-08-14 Thread Christoph

Hi,

Today I managed to import, modify and write within Leo an org-mode file 
I had previously created with Emacs. I must say that I'm impressed. 
Great work!


When importing an org-mode file the @auto-org-mode directive does not 
get inserted automatically. However, without having it, the original 
org-mode-file is written in a way that makes it unusable for Emacs. So 
one has to insert @auto-org-mode by hand. I assume there is a reason for 
that but for the moment I don't understand why. Wouldn't it be more 
convenient? After all when importing the org-mode file Leo automatically 
recognizes that it is an org-mode file. So why not acknowledging that 
fact by inserting an @auto directive. (Sorry, if the answer is obvious, 
I just have begun to experiment with Leo). Thanks in advance.


Kind regards

Christoph


--
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Leo and Org-Mode

2014-08-14 Thread Edward K. Ream
On Wed, Aug 13, 2014 at 7:21 PM, Christoph  wrote:
> Hi,
>
> Today I managed to import, modify and write within Leo an org-mode file I
> had previously created with Emacs. I must say that I'm impressed. Great
> work!

Thanks.
>
> When importing an org-mode file the @auto-org-mode directive does not get
> inserted automatically. However, without having it, the original
> org-mode-file is written in a way that makes it unusable for Emacs. So one
> has to insert @auto-org-mode by hand. I assume there is a reason for that
> but for the moment I don't understand why.

Sure there's a reason: it's a bug :-)  I'll see if I can fix it today.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Leo and Org-Mode

2014-08-16 Thread Edward K. Ream
On Thursday, August 14, 2014 5:49:06 AM UTC-5, Edward K. Ream wrote:
>
>
> > When importing an org-mode file the @auto-org-mode directive does not 
> get 
> > inserted automatically. However, without having it, the original 
> > org-mode-file is written in a way that makes it unusable for Emacs. So 
> one 
> > has to insert @auto-org-mode by hand. I assume there is a reason for 
> that 
> > but for the moment I don't understand why. 
>
> Sure there's a reason: it's a bug :-)  I'll see if I can fix it today.
>

Fixed at rev 6d9af6f... This is surprisingly tricky code.  Please let me 
know how it works for you.

The importers for .org and .otl now insert the standard warning that the 
text of the top-level @auto node will be ignored when writing the file.

EKR

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.