[Conkeror] [PATCH] find-url with blank url reloads buffer.

David Kettler David.Kettler at dsto.defence.gov.au
Wed Oct 29 23:25:21 PDT 2008


G'day John,

> It is now possible to accomplish what you want as follows

Thanks, but that doesn't quite do what I want.  The behaviour is
right, but not the appearance.  I don't want to see the current URL in
the minibuffer when I press g.

> I hesitate to declare that following a blank url automatically
> equates to reload

Fair enough.  How about if a user variable selected this behaviour?
Or how about a user callback to allow arbitrary fiddling with the
string.

Another option, which I can mostly implement in my rc, is for me to
write a url-blank-default object class which calls browser_object_url.
I'm not sure how to do that wrapering though, and I'd still need to
disable the check in read_url().

> and I think the browser-object system is the right place to deal
> with this.

That's what I tried to do in the second version of the patch.  Does it
not do so?

BTW, particular thanks also for your improvements to the url panel.

regards, David.
-- 
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