[Conkeror] [PATCH] New module to define webjumps for git repository summaries.
John J Foerch
jjfoerch at earthlink.net
Tue Feb 10 09:12:04 PST 2009
David Kettler <kettler at internode.on.net> writes:
>>> I meant that gitweb-webjump-get-repository-list is a user command that
>>> prompts for the name of a webjump (with completion on gitweb webjumps
>>> only) and fetches the corresponding opml. The user would call this
>>> after having enabled the gitweb webjump. For the completion to work
>>> on the webjump name, the gitweb webjumps would need to be marked, and
>>> a gitweb_opml_file property would be a natural way to do that.
>>
>> This could be a job for a browser object class. If the current buffer
>> is visiting a gitweb page, the browser object would be the corresponding
>> OPML url for that gitweb. This browser object could be combined with
>> the `save' command, as usual.
>
> Perhaps. That has the (minor) disadvantage of requiring the user to
> visit the gitweb server before completion is available.
>
>> I don't know what will end up being the best interface for getting
>> these OPML files. We'll have to experiment.
>
> See what you think of the gitweb-webjump-get-opml command in my
> followup patch.
>
> regards, David.
Looks good to me. Sounds like gitweb-webjump-get-opml needs to chase
redirects for kernel.org. Or what if there was a command called
gitweb-webjump-visit-opml instead of, or in addition to
gitweb-webjump-get-opml?
--
John Foerch
More information about the Conkeror
mailing list