[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] w3m-lnum add highlight
- From: Katsumi Yamaoka <yamaoka@xxxxxxx>
- Date: Mon, 12 Jul 2010 16:20:15 +0900
- X-ml-name: emacs-w3m
- X-mail-count: 11266
- 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>
In [emacs-w3m : No.11265] Andrey Kotlarski wrote:
>> Maybe we can rebind those keys into the ones, that aren't L-prefixed,
>> only in the condition where the `w3m-link-numbering-mode' minor mode
>> is turned on.
> Nice! This opened my eyes for the whole thing existing as a minor mode
> after all, now code that I called useless comes into play. Here's the
> new plan, toggling this minor mode only causes keys to be rebound for
> all current and future w3m buffers (less confusing). By default
> `w3m-link-numbering-mode' is inactive, but those who'd like to activate
> it on start could add to their .emacs-w3m (or eval-after-load w3m)
> (w3m-link-numbering-mode t)
> (add-hook 'w3m-mode-hook 'w3m-link-numbering-mode)
> to their .emacs file before loading `emacs-w3m'. Otherwise the
> interactive `w3m-link-numbering-mode' can be used for toggling mode.
>> Hm, such a behavior may confuse users though.
> Hopefully not, added mode-line indication when this mode is active.
> Here's the new ChangeLog (also `w3m-link-numbering-mode' has to be added
> back for autoload in w3m.el).
Thank you for the new patch. Ok, we can do any kind of experiment
since emacs-w3m is in the development state always (really? ;-).
Now I can believe the rebinding of keys is useful to experienced
users. That's an ambitious approach; it may also be applicable
to other Emacs programs. Installed in the CVS trunk.