rst3 setting ?

2015-07-14 Thread _spt_
 Hello,

Is there an option to turn off the  '.. rst3: filename: file_name.txt'

text added to the first line of your rst3 created file?

I could not find anything in the docs, I guess there is and I've missed it.

many thanks in advance

spt

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


@clean cr/lf problem

2015-07-14 Thread _spt_
Hello,

I'm new to Leo, and it looks like the perfect tool for me.

I want to create a file from my nodes, with CR and LF, the text file will 
contain Forth code which will be spooled into an emulator. The CR are 
wanted because it trigger the input buffer in the emulator that a line of 
forth has been 
'typed' and the return key has been hit.

my node starts with @clean  forth_test.txt with @lineending cr / lf 
@language forth @others in the node body.
more nodes in the tree have the code. If you know forth then its a node for 
each forth word.

The Problem ,
when the forth_test.txt is created is creates there are no CR's 

Can some tell me what I'm doing wrong with a setting?

many thanks,


 
 

-- 
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: @clean cr/lf problem

2015-07-14 Thread Jacob Peck

Hi _spt_,

The proper setting is:

@lineending crlf

Not

@lineending cr / lf

I just tested this with @clean and have a file that has CRLF line endings:

$ file forth-test.txt
forth-test.txt: ASCII text, with CRLF line terminators

Hope this helps,
-->Jake


--
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: rst3 setting ?

2015-07-14 Thread Edward K. Ream
On Tue, Jul 14, 2015 at 7:34 AM, _spt_  wrote:

>  Hello,
>
> Is there an option to turn off the  '.. rst3: filename: file_name.txt'
>
> text added to the first line of your rst3 created file?
>

@bool generate_rst_header_comment​ = False

FYI, I found this by searching for "rst3:" in leoRst.py.  Searching Leo's
sources is the recommended way of discovering arcana about Leo :-) Nobody
can remember all the options that exist...

To be clear, this option is present in the rst3 *command*, part of Leo's
core.  I have not investigated the obsolete rst3

*plugin.*
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: ENB: Proposal re #199: handling already-open files

2015-07-14 Thread Edward K. Ream
On Fri, Jun 26, 2015 at 10:38 AM, Todd Mars  wrote:

> Hi,
> There is kind of a standard way to deal with this problem, already.
> 1) an option to allow multiple versions of the app to run, or not.  (maybe
> check if a file exists in the folder you keep your database file in)
>

​I know of no easy, cross-platform way of discovering whether two separate
instances of Leo are running.  Do you?

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.


Re: @clean cr/lf problem

2015-07-14 Thread _spt_
 Thanks Jake,

But that does not seem to works for me.


_spt_


 
>

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