On Tue, 19 Apr 2016 05:17:21 -0500
"Edward K. Ream" <[email protected]> wrote:

> On Tue, Apr 19, 2016 at 12:40 AM, <[email protected]> wrote:
> 
> I set "@string initial_split_orientation = horizontal"  in
> leoSettings.leo
> > but no
> > ​ effect​
> > ​.
> > ​..​Is that a bug?
> >
> 
> ​It looks that way.  Probably a side effect of recent work.​

It might be older than you think.  As soon as you save a layout using
free_layout that becomes the persistent layout for that outline (based
on the path, as with other things in c.db).  So if there is a saved
layout, which would be the recommended way of setting initial
appearance, initial_split_orientation should be ignored.
c.db.get('_ns_layout') will tell you if there is a saved layout.

Heh - which leads to various other things:

 a) there's a bug in c.db, when you create and save a new file, c.db
    in that file gives a key error

 b) when your new file's called ~/r/test.leo (~/r is a RAM disk I use
    for temp things) it remembers the saved layout name from a previous
    ~/r/test.leo, but ~/r/notthattest.leo worked as expected, i.e.
    c.db.get('_ns_layout') == None

Cheers -Terry

> ​I'll fix it immediately.
> 
> ​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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to