Re: myLeoSettings.leo read twice?

2008-06-15 Thread Terry Brown
On Thu, 5 Jun 2008 09:00:43 -0500 "Edward K. Ream" <[EMAIL PROTECTED]> wrote: > On Thu, Jun 5, 2008 at 8:51 AM, Terry Brown <[EMAIL PROTECTED]> > wrote: > > > > Perhaps just throw in a os.path.realpath()? > > > I didn't know about the two-names-for-the-same-path problem. I don't think it was

Re: myLeoSettings.leo read twice?

2008-06-05 Thread Terry Brown
On Thu, 5 Jun 2008 10:17:03 -0500 "Edward K. Ream" <[EMAIL PROTECTED]> wrote: > > oh, wait, looks like it's reading the same .leoRecentFiles.txt > > twice... probably not that important, but if you want to squash > > that while you're there... > > The same kind of fix is on the trunk now, r502

Re: myLeoSettings.leo read twice?

2008-06-05 Thread Edward K. Ream
On Thu, Jun 5, 2008 at 9:26 AM, Terry Brown <[EMAIL PROTECTED]> wrote: > oh, wait, looks like it's reading the same .leoRecentFiles.txt twice... > probably not that important, but if you want to squash that while > you're there... The same kind of fix is on the trunk now, r502. Please let me kn

Re: myLeoSettings.leo read twice?

2008-06-05 Thread Edward K. Ream
On Thu, Jun 5, 2008 at 9:00 AM, Edward K. Ream <[EMAIL PROTECTED]> wrote: > > > On Thu, Jun 5, 2008 at 8:51 AM, Terry Brown <[EMAIL PROTECTED]> > wrote: > > >> Perhaps just throw in a os.path.realpath()? > > > I didn't know about the two-names-for-the-same-path problem. I'll put the > fix in imme

Re: myLeoSettings.leo read twice?

2008-06-05 Thread Edward K. Ream
On Thu, Jun 5, 2008 at 8:51 AM, Terry Brown <[EMAIL PROTECTED]> wrote: > Perhaps just throw in a os.path.realpath()? I didn't know about the two-names-for-the-same-path problem. I'll put the fix in immediately: it will require a new g.os_path_realpath method so as to handle unicode properly in

Re: myLeoSettings.leo read twice?

2008-06-05 Thread Terry Brown
On Tue, 3 Jun 2008 06:12:42 -0700 (PDT) "Edward K. Ream" <[EMAIL PROTECTED]> wrote: > > > > On May 9, 1:06 pm, Terry Brown <[EMAIL PROTECTED]> wrote: > > > > Leo will read myLeoSettings.leo twice if that's the file you are > > > actually opening. It's not worth "fixing". > > > > It's not the

Re: myLeoSettings.leo read twice?

2008-06-03 Thread Edward K. Ream
On May 9, 1:06 pm, Terry Brown <[EMAIL PROTECTED]> wrote: > > Leo will read myLeoSettings.leo twice if that's the file you are > > actually opening. It's not worth "fixing". > > It's not the file I'm actually opening, it's $HOME/myLeoSettings.leo > and $PWD/myLeoSettings.leo (using $PWD as not

Re: myLeoSettings.leo read twice?

2008-05-09 Thread Edward K. Ream
On Fri, May 9, 2008 at 1:06 PM, Terry Brown <[EMAIL PROTECTED]> wrote: > > On Fri, 9 May 2008 12:22:43 -0500 > "Edward K. Ream" <[EMAIL PROTECTED]> wrote: > > > Leo will read myLeoSettings.leo twice if that's the file you are > > actually opening. It's not worth "fixing". > > It's not the file I'

Re: myLeoSettings.leo read twice?

2008-05-09 Thread Terry Brown
On Fri, 9 May 2008 12:22:43 -0500 "Edward K. Ream" <[EMAIL PROTECTED]> wrote: > Leo will read myLeoSettings.leo twice if that's the file you are > actually opening. It's not worth "fixing". It's not the file I'm actually opening, it's $HOME/myLeoSettings.leo and $PWD/myLeoSettings.leo (using $P

Re: myLeoSettings.leo read twice?

2008-05-09 Thread Edward K. Ream
On Fri, May 9, 2008 at 10:36 AM, Terry Brown Leo will read myLeoSettings.leo twice if that's the file you are actually opening. It's not worth "fixing". Edward --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "leo-e

myLeoSettings.leo read twice?

2008-05-09 Thread Terry Brown
Seems to me that if you run leo like this: cd /home/tbrown python /home/tbrown/path/path/leo/src/leo.py Leo says load dir: /mnt/usr2/bkup/tb_usr1/home/tbrown/path/path/leo/src global config dir: /mnt/usr2/bkup/tb_usr1/home/tbrown/path/path/leo/config home dir: /home/tbrown reading setting