Re: Unified views? Unify the outline and body panes?

2017-04-02 Thread Joe Orr
Perhaps we can use the Leo Viewer project to experiment with this integrated view. Not 100% clear on it, will watch the video and see if I can make it work. (Posting about Leo Viewer separately). Joe On Sunday, March 26, 2017 at 5:43:19 AM UTC-4, Edward K. Ream wrote: > > On Sun, Mar 26, 2017 a

Re: Unified views? Unify the outline and body panes?

2017-03-26 Thread Edward K. Ream
On Sun, Mar 26, 2017 at 12:51 AM, rengel wrote: ​> ​ Is this name 'p.drawer' set in stone? ​No, of course not. But it's intended to be an exact analog of org mode drawers.​ In particular, it will be a string uA. ​> ​ Why not call it 'p.userdata' or 'p.metadata'? ​p.u (user attributes) already

Re: Unified views? Unify the outline and body panes?

2017-03-25 Thread rengel
> > @ekr > Imo, adding p.drawer to each node will give the user to add text metadata > to any node. The choice will be entirely up to the user, and will be > independent of whether outline and body pane(s) are unified. > Is this name 'p.drawer' set in stone? Why not call it 'p.userdata' or

Re: Unified views? Unify the outline and body panes?

2017-03-25 Thread Edward K. Ream
On Sat, Mar 25, 2017 at 6:41 AM, rengel wrote: > First, you have to decide if you want to use Leo as a data store/editor or > a metadata store/editor or a combination of both. > ​...​ > What would this mean if outline and body panes were unified? > ​Thanks for these comments. I think the "uni

Re: Unified views? Unify the outline and body panes?

2017-03-25 Thread rengel
First, you have to decide if you want to use Leo as a data store/editor or a metadata store/editor or a combination of both. To understand the difference, let's look at a case study and use Leo for storing books or articles. How would yould you store metadata (author, title, publisher, etc.), a

Re: Unified views? Unify the outline and body panes?

2017-03-24 Thread Edward K. Ream
On Thu, Mar 23, 2017 at 11:07 AM, Edward K. Ream wrote: > > On Thu, Mar 23, 2017 at 10:49 AM, Edward K. Ream > wrote: > >> On Thu, Mar 23, 2017 at 10:30 AM, 'Terry Brown' via leo-editor < >> leo-editor@googlegroups.com> wrote: >> >>> >>> The code is in the branch >>> https://github.com/tbnorth/l

Re: Unified views? Unify the outline and body panes?

2017-03-23 Thread Kent Tenney
That is really cool! On Thu, Mar 23, 2017 at 11:49 AM, 'Terry Brown' via leo-editor < leo-editor@googlegroups.com> wrote: > On Thu, 23 Mar 2017 11:45:25 -0500 > Kent Tenney wrote: > > > I'm looking at a copy of leo_edit_pane branch: what is required > > to see the new code in action? > > Here's

Re: Unified views? Unify the outline and body panes?

2017-03-23 Thread 'Terry Brown' via leo-editor
On Thu, 23 Mar 2017 11:45:25 -0500 Kent Tenney wrote: > I'm looking at a copy of leo_edit_pane branch: what is required > to see the new code in action? Here's the relevant paste from an earlier email: To open a LEP you need to tell free_layout about them. I still want to replace free_layout

Re: Unified views? Unify the outline and body panes?

2017-03-23 Thread Kent Tenney
I'm looking at a copy of leo_edit_pane branch: what is required to see the new code in action? Thanks, Kent On Thu, Mar 23, 2017 at 11:26 AM, 'Terry Brown' via leo-editor < leo-editor@googlegroups.com> wrote: > On Thu, 23 Mar 2017 11:07:25 -0500 > "Edward K. Ream" wrote: > > > On Thu, Mar 23, 2

Re: Unified views? Unify the outline and body panes?

2017-03-23 Thread 'Terry Brown' via leo-editor
On Thu, 23 Mar 2017 11:07:25 -0500 "Edward K. Ream" wrote: > On Thu, Mar 23, 2017 at 10:49 AM, Edward K. Ream > wrote: > > > On Thu, Mar 23, 2017 at 10:30 AM, 'Terry Brown' via leo-editor < > > leo-editor@googlegroups.com> wrote: > > > >> > >> The code is in the branch > >> https://github.com/t

Re: Unified views? Unify the outline and body panes?

2017-03-23 Thread Edward K. Ream
On Thu, Mar 23, 2017 at 10:49 AM, Edward K. Ream wrote: > On Thu, Mar 23, 2017 at 10:30 AM, 'Terry Brown' via leo-editor < > leo-editor@googlegroups.com> wrote: > >> >> The code is in the branch >> https://github.com/tbnorth/leo-dev-tbnorth/tree/leo_edit_pane > > > ​Thanks. I'll make no changes.

Re: Unified views? Unify the outline and body panes?

2017-03-23 Thread Edward K. Ream
On Thu, Mar 23, 2017 at 10:30 AM, 'Terry Brown' via leo-editor < leo-editor@googlegroups.com> wrote: > > The code is in the branch > https://github.com/tbnorth/leo-dev-tbnorth/tree/leo_edit_pane ​Thanks. I'll make no changes. Edward -- You received this message because you are subscribed to

Re: Unified views? Unify the outline and body panes?

2017-03-23 Thread 'Terry Brown' via leo-editor
On Thu, 23 Mar 2017 09:53:56 -0500 "Edward K. Ream" wrote: > Is there code I can look at? And I'll try to remember to call them > EP's :-) The code is in the branch https://github.com/tbnorth/leo-dev-tbnorth/tree/leo_edit_pane but I'd ask you to hold off on any modifications just yet, I'd like

Re: Unified views? Unify the outline and body panes?

2017-03-23 Thread Edward K. Ream
On Thu, Mar 23, 2017 at 8:21 AM, 'Terry Brown' via leo-editor < leo-editor@googlegroups.com> wrote: > On Thu, 23 Mar 2017 03:31:05 -0500 > "Edward K. Ream" wrote: > > > ​After further thought, I see that the problem with the Pub/Sub​ > > > > ​pattern is that it isn't a good fit for multiple body

Re: Unified views? Unify the outline and body panes?

2017-03-23 Thread 'Terry Brown' via leo-editor
On Thu, 23 Mar 2017 08:21:02 -0500 "'Terry Brown' via leo-editor" wrote: > I don't see any shortcomings in the pub/sub pattern, and I think > anything more tightly coupled would be harder to implement. It's > possible that Leo's current hooks might be insufficient in that you > can subscribe to

Re: Unified views? Unify the outline and body panes?

2017-03-23 Thread 'Terry Brown' via leo-editor
On Thu, 23 Mar 2017 03:31:05 -0500 "Edward K. Ream" wrote: > ​After further thought, I see that the problem with the Pub/Sub​ > > ​pattern is that it isn't a good fit for multiple body panes. > Indeed, only one body pane, the presently selected pane, should > "respond" to a change in c.p. > > S

Re: Unified views? Unify the outline and body panes?

2017-03-23 Thread Edward K. Ream
On Wed, Mar 22, 2017 at 1:21 PM, 'Terry Brown' via leo-editor < leo-editor@googlegroups.com> wrote: > On Wed, 22 Mar 2017 10:37:15 -0500 > "Edward K. Ream" wrote: > > > > I think Leo will become much more powerful / flexible when it has > > > multiple node editor components that are free to act o

Re: Unified views? Unify the outline and body panes?

2017-03-22 Thread 'Terry Brown' via leo-editor
On Wed, 22 Mar 2017 10:37:15 -0500 "Edward K. Ream" wrote: > > I think Leo will become much more powerful / flexible when it has > > multiple node editor components that are free to act on different > > parts of the tree. > > ​Yes.  I was just thinking that a Publish/Subscribe pattern for > noti

Re: Unified views? Unify the outline and body panes?

2017-03-22 Thread Offray Vladimir Luna Cárdenas
I completely agree with Terry. Having integrated view shouldn't be a sacrifice of outline view and both should be present. LEP prototypes show they are possible. Cheers, Offray On 22/03/17 10:05, 'Terry Brown' via leo-editor wrote: On Wed, 22 Mar 2017 06:35:12 -0700 (PDT) "Edward K. Ream" w

Re: Unified views? Unify the outline and body panes?

2017-03-22 Thread Kent Tenney
Sounds like add-editor done right ... ? If extra editors persisted between sessions, I'd make heavy use of them: function in one, corresponding test in another ... Which you've probably already implemented ... On Wed, Mar 22, 2017 at 10:05 AM, 'Terry Brown' via leo-editor < leo-editor@googlegro

Re: Unified views? Unify the outline and body panes?

2017-03-22 Thread Edward K. Ream
On Wed, Mar 22, 2017 at 10:05 AM, 'Terry Brown' via leo-editor < leo-editor@googlegroups.com> wrote: > > > Unifying the outline and body panes would require changes throughout > > Leo. It seems too big a project, but I am playing with the idea. The > > Englebart video is tantalizing. > > If such

Re: Unified views? Unify the outline and body panes?

2017-03-22 Thread Edward K. Ream
On Wed, Mar 22, 2017 at 9:58 AM, Kent Tenney wrote: Leo is great at managing complexity, some would consider it's strength a > weakness. > > Per a piece I read, the author didn't use an IDE because it made it too > easy to write complex code. A rule of thumb says it's x number of times > harder >

Re: Unified views? Unify the outline and body panes?

2017-03-22 Thread 'Terry Brown' via leo-editor
On Wed, 22 Mar 2017 06:35:12 -0700 (PDT) "Edward K. Ream" wrote: > Up until now, I have never regretted using separate outline and body > panes. For coding especially, there are advantages: all body text is > unindented, regardless of its position in the outline. > > However, "embedding" outline

Re: Unified views? Unify the outline and body panes?

2017-03-22 Thread Kent Tenney
Most of the recent threads zoom over my head, but here is an entry point for opinion. Leo is great at managing complexity, some would consider it's strength a weakness. Per a piece I read, the author didn't use an IDE because it made it too easy to write complex code. A rule of thumb says it's x n

Re: Unified views? Unify the outline and body panes?

2017-03-22 Thread Edward K. Ream
On Wednesday, March 22, 2017 at 9:19:44 AM UTC-5, lewis wrote: > > I imagine that this feature you describe would be most intuitive as a > toggle. As you toggle between [outline​] [body/content] and unified mode, > the outline interleaves with the body pane. Depending on your code task or > pr

Unified views? Unify the outline and body panes?

2017-03-22 Thread lewis
I imagine that this feature you describe would be most intuitive as a toggle. As you toggle between [outline​] [body/content] and unified mode, the outline interleaves with the body pane. Depending on your code task or presentation requirement you simply toggle to suit. I have been giving some t

Unified views? Unify the outline and body panes?

2017-03-22 Thread Edward K. Ream
Up until now, I have never regretted using separate outline and body panes. For coding especially, there are advantages: all body text is unindented, regardless of its position in the outline. However, "embedding" outline text does have advantages, as both the Quiver overview