[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: one-by-one mm-inline-text-html-with-w3m-keymap bindings
- From: Naohiro Aota <nao.aota@xxxxxxxxx>
- Date: Mon, 19 May 2008 22:51:17 +0900
- X-ml-name: emacs-w3m
- X-mail-count: 10136
- References: <87y76fi566.fsf@xxxxxxxxxxx>
jidanni@xxxxxxxxxxx writes:
> In (emacs-w3m)Gnus Info we see:
> If you don't need to use emacs-w3m keys in article buffers, add the
> following line too:
> (setq mm-inline-text-html-with-w3m-keymap nil)
>
> But it doesn't mention what if one _only wants to do_ what is on
> (emacs-w3m)Key Binding Info:
> To change the key binding one by one, modify the `w3m-mode-map'
> variable in your `~/.emacs-w3m.el' file like the following:
> (define-key w3m-mode-map [up] 'previous-line)
> (define-key w3m-mode-map [down] 'next-line)
> (define-key w3m-mode-map [left] 'backward-char)
> (define-key w3m-mode-map [right] 'forward-char)
>
> One can't just stick that in .gnus.el without causing errors.
> There is also no guarantee that I will have done M-x w3m before M-x gnus.
> Now what? $BWcVw$(Da2$B!)(B
When mm-inline-text-html-with-w3m-keymap is non-nil, w3m-minor-mode-map
is used in article buffers, so edit w3m-minor-mode-map.
Regards,
Naohiro Aota