[Vimperator] uppercase test only when alpha are existent
calmar
mac at calmar.ws
Tue Jul 3 05:15:41 PDT 2007
On Tue, Jul 03, 2007 at 01:49:55PM +0200, Martin Stubenschrott wrote:
> On Tue, Jul 03, 2007 at 02:49:10AM +0200, calmar wrote:
> > if the buffer has any Alpha-Charaters in it. If not, it should not
> > open a new tab (it should use false as the first argument in
> > vimperator.hints.openHints(false,false)
> >
> > E.g. when I set hintchars=0123456789 I want *not* a 'new-tab' to
> > my default, therefore the tweak above.
> Probably, because hints are scheduled for a rewrite which would get rid
> of the hintchars variable. Reason is that for a link "more" it would
> make more sense to have "MO" as the tag then "JK" e.g.
Wouldn't that prevent people like me to use numbers?
Also, I used opera for a long time, where I had to select links
like that (enter a string what matches within the link). Often,
e.g. on a google-search it's hard to come through to the link you
want, because they happen to contains similar things (since it's a
search). An option would always be nice so ;)
>
> I also thought that it might be simpler to just check if the hint
> mathces /[a-zA-Z]/ to see if it contains alphachars.
yeah, or even just check if there is just at least 'one' uppercase
letter. Would allow the user to only make one letter uppercase.
Might be comfortable.
Cheers and thanks for that great thing (I have to repeat that :)
marco
--
(o_ It rocks: LINUX + Command-Line-Interface
//\
V_/_ http://www.calmar.ws
More information about the Vimperator
mailing list