[Conkeror] [PATCH] New module to define webjumps for git repository summaries.
David Kettler
David.Kettler at dsto.defence.gov.au
Sun Feb 8 15:24:13 PST 2009
> For the time being, I don't want to have a default directory. In the
> case of something under "~/.conkerorrc", that does not work because
> ~/.conkerorrc is permitted to be either a file or a directory. In the
> case of using the profile directory, I would like to move away from
> dependencies on the profile. The search-engine module does in fact use
> the profile directory for this purpose, but that is something I would
> like to remove in favor of a load-path style loader.
Okay.
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 ultimate solution will be, at some future point, to
> eliminate the use of ~/.conkerorrc in favor of a directory called
> ~/.conkeror, which can contain pre-defined subdirectories for opensearch
> files, opml files, themes, and whatever else we come up with. But let
> us consider that as a project for the future.
Yes, that sounds like a good plan.
> > > If needed, there could be any kind of utility
> > > to assist users in obtaining the opml file.
> >
> > Maybe gitweb-webjump-get-repository-list with a completer that lists
> > the available gitweb webjumps. (I guess I'll need to mark those
> > webjumps in some way; perhaps they'll have a gitweb_opml_file
> > property.)
>
> A special buffer for listing the available opml files? The user still
> has to enable them in the rc, so I don't see the point of this. But
> maybe I misunderstand.
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.
--
IMPORTANT: This email remains the property of the Australian Defence
Organisation and is subject to the jurisdiction of section 70 of the
CRIMES ACT 1914. If you have received this email in error, you are
requested to contact the sender and delete the email.
More information about the Conkeror
mailing list