[Conkeror] [PATCH] New module to define webjumps for git repository summaries.
John J Foerch
jjfoerch at earthlink.net
Mon Feb 9 07:43:17 PST 2009
David Kettler <David.Kettler at dsto.defence.gov.au> writes:
> I see that magick-options uses a preference; that's probably where I
> got that idea. I guess that will also change in time. Actually, if
> I'd paid more attention to that example, it would have been easier for
> me to write the gitweb completer. BTW, thanks for updating it, which
> I missed, for $alternative.
I think the system we have worked out for gitweb-webjumps is a
definite improvement over how magick-options works.
> 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.
I don't know what will end up being the best interface for getting
these OPML files. We'll have to experiment.
--
John Foerch
More information about the Conkeror
mailing list