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

Re: let cursor move anywhere on the screen, even past end of line



Ah, Problem #1:
In w3m, hold down right arrow.
In emacs-w3m (with the below bindings) one can go from the top of a
webpage to the bottom by just holding down →, and back all the way to
the top just holding down ←.

In w3m one gets stuck at the end of each line!! Please fix. That's all
for now.

>>>>> "KY" == Katsumi Yamaoka <yamaoka@xxxxxxx> writes:
KY> In [emacs-w3m:12864]
KY> On Wed, 27 Dec 2017 06:57:57 +0800, 積丹尼さん wrote:
>> I (also) wish the arrow keys could move into blank space at the ends of
>> lines, in both emacs-w3m and w3m. So one could move the cursor anywhere
>> on the screen.

KY> Well, is what you want such as this?

KY> (define-key w3m-mode-map [down] 'next-line)
KY> (define-key w3m-mode-map [left] 'left-char)
KY> (define-key w3m-mode-map [right] 'right-char)
KY> (define-key w3m-mode-map [up] 'previous-line)

I see I have already been using something similar for years
http://jidanni.org/comp/configuration/.emacs-w3m

KY> `even past end of line' (if there is no object) can't be done as
KY> any Emacs command can't do that, I think.

OK, no problem.