On Mon, 3 Oct 2011 11:38:00 -0500 "Edward K. Ream" <[email protected]> wrote:
> On Sun, Oct 2, 2011 at 2:56 PM, Terry Brown <[email protected]> wrote: > > I've added web page bookmarking from your browser to Leo. > > I agree, this is totally cool. However, this was not working for me:: > > @string http_bookmark_unl = ~/ekr.leo#Notes-->Bookmarks > > I was getting (from g.openWithFileName) the message:: > > can not open ~/ekr.leo#Notes-->Bookmarks > > Rev 4521 contains a proposed fix to add_bookmark, marked with EKR, > which works for me on Windows 7. > > Please take a look and see if the fix makes sense. Thanks. The only way I can see that it makes sense is if the behavior of urlparse is different in different OSes / python versions. That seems unlikely. Also I think the code ensures the UNL search won't happen - is it working for you? It seems the the initial path.find() removes the '#' so calling urlparse on the unl part would leave you with parsed.fragment == '' Cheers -Terry > Edward > -- 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.
