"John J. Foerch" <[email protected]> says

> On Wed, May 18, 2011 at 09:24:48PM -0400, Joe Fineman wrote:

> > Knowing nothing of Java, I have been trying to bind a key, using
> > the advice on your Web site, with occasional skeptical glances at
> > my printout of the 2008 Conkeror User Manual (which seems to have
> > disappeared).  It seems that it is supposed to be sufficient to
> > create a file .conkerorrc in my home directory, and insert in it
> > something like

> *JavaScript, not Java.

And even less about JavaScript, evidently.  %^)

> > However, that does not work; Conkeror does not see control-p.
> > What am I doing wrong?

> If you have an up-to-date copy of Conkeror, then do this:

> define_key(text_keymap, "C-p", "cmd_paste");
> undefine_key(content_buffer_textarea_keymap, "C-p");

> If it's an old enough version that it doesn't have 'text_keymap',
> then bind it in content_buffer_text_keymap,
> content_buffer_textarea_keymap, and minibuffer_keymap.  You can find
> out if your version has 'text_keymap' by 'M-: text_keymap' --- you
> will either see "[object Object]" or an error.

It still doesn't work.  Is my Conkeror perhaps so old that it doesn't
look at .conkerorrc?

> For future reference, a way to find out about keymaps is to switch
> focus to the context that you want to bind a key in and hit 'C-h b'.

That advice, however, solves my present problem with the good news
that C-y is already bound to cmd_paste.

There is, however, a bug in that help page, which stretches the
content_buffer_text_keymap section out horizontally beyond all
bounds.  That makes it hard to read (I have to keep scrolling right &
left) and impossible to print out.

I expect I'll update my Conkeror soon.  In the meantime, thank you for
your attention.
-- 
---  Joe Fineman    [email protected]

||:  Death before dishonor?  Too late, but never mind.  :||
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror

Reply via email to