hint_digits: new variable configures numeric base of hint numbers
commitf6b29d86b038fd7f69b8407953646c3ce7acf18c
authorJohn Foerch <jjfoerch@earthlink.net>
Mon, 1 Nov 2010 01:23:31 +0000 (31 21:23 -0400)
committerJohn Foerch <jjfoerch@earthlink.net>
Mon, 1 Nov 2010 01:23:31 +0000 (31 21:23 -0400)
tree912019f9f4c67a88b479be498c86f9993c590ca0
parent7400143bea4847debb3f400baf5b527cd9e9a7cc
hint_digits: new variable configures numeric base of hint numbers

Hints can now be numbered in other numeric bases than 10, and with different
characters than the usual 1-9,0.  The feature is exposed through a new
user variable, hint_digits, which can be set to a string of digits like:
"abcdef".  In this instance, a means 0, b means 1, and so on.  Since the
character '0' has important uses in Conkeror's default bindings, and would
be missed if hint_digits were in effect, it is treated as special, and
will always be translated to a zero in the current numeric base.
modules/bindings/default/hints.js
modules/hints.js