Doh!
Sorry for the noise, problem was in the script I use.
needed to change:
if len(sys.argv) > 1:
fname = sys.argv[1]
to:
if len(sys.argv) > 1:
fnames = ' '.join(sys.argv[1:])
and:
cmdline = "%s %s %s %s " % (python, app, opts, fname)
to:
cmdline = "%s %s %s %s " % (python, app, opts, fnames)
Thanks,
Kent
(this is why I check with youse guys before bug filing)
On Fri, Dec 3, 2010 at 8:47 AM, Terry Brown <[email protected]> wrote:
> On Fri, 3 Dec 2010 08:20:51 -0600
> Kent Tenney <[email protected]> wrote:
>
>> Putting multiple filenames on the command line only
>> loads the first one.
>
> I think that recently changed. I was using a @script in my primary Leo file
> to load a couple of others, but that's no longer necessary.
>
> Just tested it now:
>
> python launchLeo.py ~/.leo/.tnb.leo ~/.leo/mothLeoSettings.leo
>
> loaded both.
>
> Here's my `leo` script for starting Leo.
>
> #!/bin/sh
>
> BRANCH=trunk
> BRANCH=free_layout
>
> export LEO_EDITOR=mousepad
>
> LEOPATH=/home/tbrown/Desktop/Package/leo/bzr/leo.repo/$BRANCH
>
> if [ $# -eq 0 ]; then
> python $LEOPATH/launchLeo.py \
> --gui=qttabs \
> /home/tbrown/.leo/workbook.leo \
> /home/tbrown/.leo/.dates.leo \
> /home/tbrown/.leo/.todo.leo &
> else
> python $LEOPATH/launchLeo.py --gui=qttabs $@ &
> fi
>
> --
> You received this message because you are subscribed to the Google Groups
> "leo-editor" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/leo-editor?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en.