[Vimprobable-users] Bookmarks aren't working at all anymore with :open

Skottish skottish97215 at gmail.com
Fri Nov 12 02:00:25 GMT 2010


Yup. I didn't even have a history file because I don't keep any. Thanks a
bunch.

2010/11/11 Hannes Schüller <hannes at yllr.net>

> Hi!
>
> Thomas Adam <thomas at xteddy.org> wrote:
> > On Wed, Nov 10, 2010 at 07:10:30PM -0800, Skottish wrote:
> > > Not that I'm aware of. What I posted doesn't work and I can't log
> > > into my bank anymore. Just to test, I once again completely built
> > > from scratch with the default config.h and keymap.h. I get the
> > > exact same results.
> > >
> > > For now I'm reverted back to 0.9.4.0. Like the last time I could
> > > reproduce bugs that others can't, I'll throw this out to the Arch
> > > community and see if they can.
> >
> > Don't bother asking the Arch community.  I can only assume that *ONE*
> > of your files, be it your history or bookmarks file is empty?  That
> > being the case, then yes, the current completion logic is broken.
> >
> >  From main.c:complete():
> >
> >             } else {
> >                 /* URL completion: bookmarks */
> >                 elementlist = complete_list(searchfor, 0,
> > elementlist); m = count_list(elementlist);
> >                 if (m < MAX_LIST_SIZE) {
> >                     /* URL completion: history */
> >                     elementlist = complete_list(searchfor, 2,
> > elementlist); }
> >
> > Hence, if your history file was empty, elementlist would be
> > overwritten with NULL, invalidating any matches you previously might
> > have found from looking in the bookmarks file.
>
> Well spotted! I'll fix this and update the repository tonight.
>
> Hannes
>
> _______________________________________________
> Vimprobable-users mailing list
> Vimprobable-users at vimprobable.org
> http://vimprobable.org/mailman/listinfo/vimprobable-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://vimprobable.org/pipermail/vimprobable-users/attachments/20101111/6b6ae571/attachment.html>


More information about the Vimprobable-users mailing list