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

Re: [PATCH] w3m-lnum add highlight



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)
> or
> (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.

Regards,