[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] w3m-lnum add highlight
- From: m00naticus@xxxxxxxxx
- Date: Wed, 21 Jul 2010 17:33:57 +0300
- X-ml-name: emacs-w3m
- X-mail-count: 11278
- References: <b4mpqz1s2fg.fsf@xxxxxxx> <87k4p88gbq.fsf@xxxxxxxxx> <b4meifggiel.fsf@xxxxxxx> <878w5nv8fn.fsf@xxxxxxxxx> <b4m1vbeflye.fsf@xxxxxxx> <20100708.200709.142440111.1BF46D@xxxxxxxxxxx> <b4mwrt689f2.fsf@xxxxxxx> <87d3uxix4z.fsf@xxxxxxxxx> <b4mmxu1chti.fsf@xxxxxxx> <87zkxzbbzz.fsf@xxxxxxxxx> <b4m39vp2mkw.fsf@xxxxxxx> <87hbk3ppib.fsf@xxxxxxxxx> <b4moceak9v3.fsf@xxxxxxx> <m2mxtmfry7.fsf@xxxxxxxxxxxxxxx> <87pqyhsx69.fsf@xxxxxxxxx>
Š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