[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: [PATCH] w3m-lnum add highlight



Štěpán Němec <stepnem@xxxxxxxxx> writes:

> David Engster <deng@xxxxxxxxxxxxxxx> writes:
>
>> OK, I've grown curious about w3m-link-numbering-mode, so I've updated
>> from CVS and did M-x w3m-link-numbering-mode, but nothing really
>> happens. I see that [ln] is added in the modeline, but no links are
>> numbered. How am I supposed to activate the numbering? I've put edebug
>> on `w3m-link-numbering', but it is simply never called. Please bear with
>> me if I'm missing something obvious here.
>
> Heh. Well, I only tried it now to confirm my understanding and reply to
> your mail, but -- you have to actually press some keys, like L F for
> instance; then the numbers appear (and you don't have to do
> M-x w3m-link-numbering-mode at all AFAICT).
>
> HTH,
>
> Štěpán

Yep, no need to call `w3m-link-numbering' manually.  When the mode is
active (and you see [ln] in mode-line), some point operations are
enhanced (for example you can try to toggle image when not positioned
over image, link numbering will show and you'll be asked for an image
number).  Here is a list of point functions that are remapped thus far:

w3m-view-image
w3m-save-image
w3m-download-this-url
w3m-edit-this-url
w3m-toggle-inline-image
w3m-print-this-url
w3m-external-view-this-url

Also you can try `f' and `F' to visit/activate/push anhchor or
navigate to anchor respectively. And of course you can use `L <button>'
to use these functions no matter whether mode is active or not.   

--
Thus spake Zarathustra