[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: w3m-process-stop not bound to a keystroke anymore
- From: Katsumi Yamaoka <yamaoka@xxxxxxx>
- Date: Fri, 20 Feb 2009 10:36:29 +0900
- X-ml-name: emacs-w3m
- X-mail-count: 10712
- References: <b4mprhe9d1j.fsf@xxxxxxx> <87wsblc30r.fsf@xxxxxxxxxxx>
>>>>> In [emacs-w3m : No.10711] jidanni@xxxxxxxxxxx wrote:
> It turns out my fix for
> [emacs-w3m:10697] Re: terminating form input by `C-c C-c'
> (dolist (modemap (list w3m-mode-map w3m-minor-mode-map))
> ;;;;;; (define-key modemap "\C-c" 'undefined); wrong
> ;;;;;; (define-key modemap "\C-c" nil); wrong
> (define-key modemap [up] 'previous-line)
> (define-key modemap [down] 'next-line)
> (define-key modemap [left] 'backward-char)
> (define-key modemap [right] 'forward-char)
> (define-key modemap "b" 'w3m-view-previous-page))
> ruined the other keybindings.
> I don't know how to unbind a key properly.
You may want:
(define-key modemap "\C-c\C-c" 'undefined)
That's an impossible proposition if you wish to void `C-c' but
to use `C-c C-k'.