[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Single key navigation for texinfos HTML
From: |
Karl Berry |
Subject: |
Re: Single key navigation for texinfos HTML |
Date: |
Wed, 21 Jan 2009 18:12:03 -0600 |
Hi Sebastian,
> http://orgmode.org/worg/code/org-info-js/
...
> http://wiki.github.com/SebastianRose/org-info-js/org-keys
...
>
http://github.com/SebastianRose/org-info-js/blob/ef18719be875f0dd7c352ddc55d277493150ea69/org-keys.js
Did you recognize the `occur' and search features?
No -- that's fantastic! I suggest adding them to the doc. By trial and
error, I found occur is on "o", but I tried doing occur on "name", I
couldn't make sense of the result. What does it do? Highlight
occurrences I guess?
As for search, does it work across nodes?
The javascript code is a bit more than needed (there is the `console'
which is not used yet and some more).
It is the console stuff which I was worried about. Anything that says
stuff like "40px" and "1px solid #cccccc" seems problematic to me. If
it's not really needed, can you just take it out? What's it for? Is it
somehow related to the text box formatting (which is weird -- the top of
the heading is cut off for me).
Also, forgive my ignorance of JavaScript, but I can't figure out how the
code works. I can vaguely see you're hooking into the access keys, but
where is occur/search implement?
Note also: the code and functionality of the HTML is not changed at
all. Access keys keep working.
I did notice that, and that is cool :).
Thanks,
Karl