Re: Please test the ekr-fullPath branch

2021-04-30 Thread tbp1...@gmail.com
On Friday, April 30, 2021 at 6:54:17 PM UTC-4 Edward K. Ream wrote: > On Fri, Apr 30, 2021 at 3:26 PM tbp1...@gmail.com > wrote: > >> *g.fullPath* is a really good method. > > > If you don't care whether there is an @ in p or p's ancestors, > you could do something like this: > > aList = g.get

Re: Please test the ekr-fullPath branch

2021-04-30 Thread Edward K. Ream
On Fri, Apr 30, 2021 at 3:26 PM tbp1...@gmail.com wrote: > *g.fullPath* is a really good method. Indeed. The latest rev (4726839) eliminates several faux-helper methods and several kwargs. I am going to continue eliminating kwargs in leoAtFile.py. I could wish that it would return a directory

Re: Please test the ekr-fullPath branch

2021-04-30 Thread tbp1...@gmail.com
*g.fullPath* is a really good method. I could wish that it would return a directory instead of None when the path is to a directory instead of a file, but I suppose that would break some things that use it. It could have a new *returnDir=False* argument, so that nothing downstream get broken.

Please test the ekr-fullPath branch

2021-04-30 Thread Edward K. Ream
This branch contains work on #1914, a simplification of Leo's path-related logic based on g.fullPath. All tests pass, but this is tricky code. Please report any problems immediately. Edward -- You received this message because you are su