Andres Salomon wrote:
> 1) presumably you want to look for "gopher:" rather than just "gopher"?

Yes, that was a typo, thanks.

> 2) Are spaces before the url stripped?  g_str_is_prefix(s, "http:")
> won't match if 's' is "  http://foo";, for example.

Right :/  The only (ugly) solution I can think of right now is

  g_str_has_prefix(g_strchug((gchar *)uri), "http:")

and subsequently

  effective_uri = g_strconcat("http://";, g_strstrip((gchar *)uri), NULL);

(The cast to gchar* is to avoid warnings.)

> I'm not sure what you mean regarding the search module; typing
> random strings into the url does a proper google search for me w/
> kazehakase-webkit.

I mean the history search module (hyper-estraier.so) which is quite a
different thing.  If you go to Preference->History and activate it,
indexing is performed for all pages you visit, stored in a private
database in ~/.kazehakase.  Then if you type a search string in the
"History Search" box, a nice page is being generated with the results.
This is entirely an offline activity, and you can use HyperEstraier
regular expressions to narrow the search.

It may sound unwieldy and resource-consuming, but actually both the
incremental indexing and searching is quite fast, and this
functionaility is very useful.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to