Re: [dev] [surf] eval() not needed?

2012-07-06 Thread Roi Martin
> If this is true, please can you update the page > http://surf.suckless.org/files/link_hints with how it *should* be > done? I suspect quite a few people use the keyboard hint > navigation from that page. I do, and it is somewhat brittle (doesn't > always fire) - I wonder if this solution fixes th

Re: [dev] [surf] eval() not needed?

2012-07-06 Thread Nick
On Fri, Jul 06, 2012 at 12:06:53PM +0200, Troels Henriksen wrote: > I'm not sure what you mean by insert mode. I use eval() for > Conkeror-style numbered link navigation. The actual logic is defined in > Javascript in my script.js, and I have the following bindings in my > config.h: > > { CTRL,

Re: [dev] [surf] eval() not needed?

2012-07-06 Thread stanio
* Troels Henriksen [2012-07-06 12:06]: > sta...@cs.tu-berlin.de writes: > > > * Troels Henriksen [2012-07-06 09:31]: > I'm not sure what you mean by insert mode. the insert mode patch would let you have 2 modes of ui: - in normal mode, keystrokes are interpreted as if you were holding MODKEY

Re: [dev] [surf] eval() not needed?

2012-07-06 Thread Troels Henriksen
sta...@cs.tu-berlin.de writes: > * Troels Henriksen [2012-07-06 09:31]: >> eval() was never needed per se. I put it in because you need it if you >> want robust keybindings to functions defined in script.js, and you need > > Ok. Didn't know. And still don't really get it... Can you give a hint?

Re: [dev] [surf] eval() not needed?

2012-07-06 Thread stanio
* Troels Henriksen [2012-07-06 09:31]: > eval() was never needed per se. I put it in because you need it if you > want robust keybindings to functions defined in script.js, and you need Ok. Didn't know. And still don't really get it... Can you give a hint? search of 'eval' within surf.suckless

Re: [dev] [surf] eval() not needed?

2012-07-06 Thread Troels Henriksen
sta...@cs.tu-berlin.de writes: > Seems like eval() is not needed for some time now. > > The trivial patch against tip to remove it is attached. eval() was never needed per se. I put it in because you need it if you want robust keybindings to functions defined in script.js, and you need to spend