Re: recover deleted node

2020-03-07 Thread Thomas Passin
On Saturday, March 7, 2020 at 7:07:50 PM UTC-5, andyjim wrote: > > Undo does not work from the menu, but Cmd-Z worked. I guess on Mac, > Command is Control. > > So I've got the lost node back. Thanks all for the help. > Whew! Hurray! And yes, as best as I know, CTRL (Windows) <==> CMD

Re: recover deleted node

2020-03-07 Thread andyjim
On Saturday, March 7, 2020 at 3:30:32 PM UTC-5, Thomas Passin wrote: > > > Probably not. If you hadn't saved the outline after the delete, then you > could have closed it without saving and then reloaded it again. You would > have lost your work since the last save, but the node would have

Re: The refs branch is ready for testing

2020-03-07 Thread Edward K. Ream
On Sat, Mar 7, 2020 at 2:34 PM Thomas Passin wrote: > > > On Saturday, March 7, 2020 at 1:46:38 PM UTC-5, Edward K. Ream wrote: >> >> There is only one slight drawback. The new code adds a new, required, arg >> to at.write. There is a slight possibility that this could break existing >> scripts

Re: The refs branch is ready for testing

2020-03-07 Thread Thomas Passin
On Saturday, March 7, 2020 at 1:46:38 PM UTC-5, Edward K. Ream wrote: > > This branch fixes #1232 > . It is based on > devel, so it should be immune from the controversy surrounding the gnx > branch. > [snip] > > There is only one

Re: recover deleted node

2020-03-07 Thread Thomas Passin
On Saturday, March 7, 2020 at 3:25:13 PM UTC-5, andyjim wrote: > > > It says "Can't undo". No help from "Refresh from disk" or "Revert to > saved"? > Probably not. If you hadn't saved the outline after the delete, then you could have closed it without saving and then reloaded it again. You

Re: recover deleted node

2020-03-07 Thread Thomas Passin
On Saturday, March 7, 2020 at 10:21:53 AM UTC-5, andyjim wrote: > > I deleted a node I didn't mean to delete. > > I assume revert/refresh is the way to recover that, but what is the > difference between "Refresh from disk" and "Revert to saved"? > > Or is there a direct way to recover it? (can't

Re: recover deleted node

2020-03-07 Thread andyjim
On Saturday, March 7, 2020 at 1:49:26 PM UTC-5, Edward K. Ream wrote: > > > delete-node is undoable, so undo should recover the node. > > Edward > It says "Can't undo". No help from "Refresh from disk" or "Revert to saved"? -- You received this message because you are subscribed to the

Re: recover deleted node

2020-03-07 Thread jkn
On Saturday, March 7, 2020 at 3:21:53 PM UTC, andyjim wrote: > > I deleted a node I didn't mean to delete. > > I assume revert/refresh is the way to recover that, but what is the > difference between "Refresh from disk" and "Revert to saved"? > > Or is there a direct way to recover it? (can't

Re: recover deleted node

2020-03-07 Thread Edward K. Ream
On Sat, Mar 7, 2020 at 10:26 AM andyjim wrote: I have not closed Leo since deleting, and I have not saved the file since > deleting. So is that node still in the file on disk? > Leo never actually deletes any node data until you close Leo. This is because Leo supports unlimited undo.

The refs branch is ready for testing

2020-03-07 Thread Edward K. Ream
This branch fixes #1232 . It is based on devel, so it should be immune from the controversy surrounding the gnx branch. The fix is conceptually straightforward. Within @clean files only, the new code disallows multiple section references

Re: 6269bab in the gnx branch: a fix for #1437

2020-03-07 Thread vitalije
> > After reading the file, bridge.openLeoFile sets c.hiddenRootNode.gnx to a > value that doesn't conflict with any gnx in the just-read file: > I am not convinced that the c.hiddenRootNode causes the gnx clash in the bridge. I suppose the first child of c.hiddenRootNode is the one vnode that

Re: 6269bab in the gnx branch: a fix for #1437

2020-03-07 Thread vitalije
I am not sure that this is a good idea. After createFirstTreeNode returns, the outline contains two different vnodes with the same gnx == 'hidden-root-vnode-gnx'. Some scripts might be broken by this. I am sure that I always assumed that 'hidden-root-vnode-gnx' is the gnx of c.hiddenRootNode.

Re: recover deleted node

2020-03-07 Thread andyjim
On Saturday, March 7, 2020 at 10:25:25 AM UTC-5, Edward K. Ream wrote: > > > Deleting a node is undoable. If you then close Leo, the only way to undo > your change is git checkout. > > Edward > I have not closed Leo since deleting, and I have not saved the file since deleting. So is that node

Re: recover deleted node

2020-03-07 Thread Edward K. Ream
On Sat, Mar 7, 2020 at 9:21 AM andyjim wrote: > I deleted a node I didn't mean to delete. > > I assume revert/refresh is the way to recover that, but what is the > difference between "Refresh from disk" and "Revert to saved"? > > Or is there a direct way to recover it? (can't undo) > Deleting a

recover deleted node

2020-03-07 Thread andyjim
I deleted a node I didn't mean to delete. I assume revert/refresh is the way to recover that, but what is the difference between "Refresh from disk" and "Revert to saved"? Or is there a direct way to recover it? (can't undo) -- You received this message because you are subscribed to the

Re: 6269bab in the gnx branch: a fix for #1437

2020-03-07 Thread Edward K. Ream
On Friday, March 6, 2020 at 10:51:02 AM UTC-6, Edward K. Ream wrote: > Rev 6269bab in the gnx branch follows Bob's third solution, more or less. Here are the details: *A simpler fix* `@test c.hiddenRootNode.fileIndex` failed with travisCI in the gnx branch. This failure suggested an even