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

Re: one-by-one mm-inline-text-html-with-w3m-keymap bindings

jidanni@xxxxxxxxxxx writes:

> OK, now I am happy with both
> (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)
> (define-key w3m-minor-mode-map [up] 'previous-line)
> (define-key w3m-minor-mode-map [down] 'next-line)
> (define-key w3m-minor-mode-map [left] 'backward-char)
> (define-key w3m-minor-mode-map [right] 'forward-char)
> in ~/.emacs-w3m. Please mention in Info that the user should bind in
> both maps usually.

I think this is already written here.

(info "(Emacs-w3m) Gnus")
|     On HTML parts of an article buffer, the `w3m-minor-mode' is turned
|     on and you can use the same main keys as the keys of emacs-w3m, for
|     instance, `<RET>' is for visiting a page which a link in the
|     current position points to.  Those keys are defined in the
|     `w3m-minor-mode-command-alist' variable.  Keep in mind that some
|     commands are replaced by others similar to them, for security
|     reasons (see below).

OK. I've made a mistake. Please edit w3m-minor-mode-command-alist
instead of w3m-minor-mode-map.


Naohiror Aota