[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cursor moving problem
- From: Katsumi Yamaoka <yamaoka@xxxxxxx>
- Date: Fri, 25 Jun 2004 08:34:57 +0900
- X-ml-name: emacs-w3m
- X-mail-count: 06925
- References: <cbesh1$n10$1@sea.gmane.org>
Hi,
>>>>> In [emacs-w3m : No.06924]
>>>>> "Dou Wen" <doufaming@yahoo.com> wrote:
> (1)in a web page opened with emacs-w3m, i cant move cursor to and forth
> between any non-hyperlinked words), when a use "->" or "<-" keys, it just
> move forward and backward betweens web pages, so,how could i move cursor
> between words in a page?
Arrow keys are bound to useful emacs-w3m commands. You can see
how they are defined by typing `C-h b' (or M-x describe-bindings).
Emacs-w3m never changes the basic Emacs keys, e.g., C-b, C-f, C-p,
C-n, M-b, M-f, etc., so you can use them to move from place to
place in emacs-w3m buffers. If you want anyway to use arrow keys
as if they work in ordinary buffers, try the following code in
your ~/.emacs-w3m.el file:
(define-key w3m-mode-map [left] 'backward-char)
(define-key w3m-mode-map [right] 'forward-char)
(define-key w3m-mode-map [up] 'previous-line)
(define-key w3m-mode-map [down] 'next-line)
Please note, such redefining may be throwing away useful features
after all.
> (2)when i M-x w3m-browse-url RET c:\[directorys]\somefile.html RET, it could
> correctly rendering the html file, but it will still complain "Cannot
> retrieve URL c:\[directorys]\[somefile].html", how could i get it not to
> complain?
I think that's a bug, even if specifying a url like file://...
solve the problem. I'll look into it. Thanks.
--
Katsumi Yamaoka <yamaoka@jpl.org>