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

Re: Two last questions (frames/key bindings)



Katsumi Yamaoka <yamaoka@jpl.org> writes:

>> 1. What about frames? Emacs-w3m doesn't display them whereas w3m in a
>>    terminal does.
>>    Do I really have to use w3mmee like the FAQ says?
>
> Unfortunately yes, AFAIK.  Only w3mmee does it.

Ok, no problem. I installed w3mmee and put 
    (setq w3m-command "/usr/bin/w3mmee")
    (setq w3m-type 'w3mmee)
into my ~/.emacs-w3m.el.

But when I start it with M-x w3m I get:

ext_halfdump=1: bad option 
w3m version w3m/0.3.2+mee-p24-19+moe-1.5.6,options
lang=many,kanji-symbols,image,color,mouse,menu,cookie,ssl,ssl-verify,w3mmailer,nntp,gopher,ipv6,mark
usage: w3m [options] [URL or filename]

>> 2. Is it possible to get another keymap? I would like to use the cursor
>>    keys to move the point and C-p and C-n to visit the page
>>    before/after. Now it's the other way round...
>
>>    I've found w3m-key-binding but after I changed it to info I couldn't
>>    find any difference.
>
> There are only two set of ready-made keymaps.  One is Info-like
> map, the other is Lynx-like map which is the default.  It is
> possible to change each key binding.  The following example may
> be your favorites (they should be put into ~/.emacs-w3m.el file):
>
> (define-key w3m-mode-map "\C-p" 'w3m-view-previous-page)
> (define-key w3m-mode-map "\C-n" 'w3m-view-next-page)
> (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-mode-map [up] 'previous-line)

Great, thanks. This works exactly as I like it.

Regards,
Tassilo
-- 
"Documentation is like sex: when it is good, it is very, very good; and
 when it is bad, it is better than nothing." Dick Brandon