Excerpts from William Morgan's message of Sat Feb 16 21:04:32 +0100 2008:
> [forgot to send to list]
> 
> Reformatted excerpts from brabuhr's message of 2008-02-08:
> > I was also thinking that it would be better to display the discovered
> > URIs in a list instead of the prompting, but I wasn't sure how to
> > implement that.  Another problem I see is that the extractor is
> > too-greedy and will pull in the punctuation following the URL; so,
> > perhaps the list should allow line editing before calling the view-url
> > hook?
> 
> If you want to display them as a list, I would add a mode called
> UrlListMode or something like that which was a subclass of
> LineCursorMode. You can look to BufferListMode as an example, though it
> will be even simpler than that because the content won't ever change.
> 
> Spawn an instance of that mode when the user presses 'L', and have
> enter in UrlListMode trigger the URL viewing hook, possibly first
> running it through BufferManager#ask for editing. We can also trim
> trailing punctuation from whatever URI.extract pulls out, since that
> sounds like the common case.

You  should look the rxvt-unicode terminal, there is an extension to deal with
URLs [1]. That's pretty handy in fact and applies not only to sup.

[1]: http://www.jukie.net/~bart/blog/20070503013555

Regards,

-- 
Nicolas Pouillard aka Ertai

Attachment: signature.asc
Description: PGP signature

_______________________________________________
sup-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/sup-talk

Reply via email to