librelist archives

« back to archive

C-x k scrolls instead of killing buffer

C-x k scrolls instead of killing buffer

From:
Owen Mays
Date:
2014-01-08 @ 19:40
Hi all,

This seems similar to an earlier question about conkeror passing keystrokes
to webpages and blocking twitter users:
http://mozdev.org/pipermail/conkeror/2013-February/003215.html

If I'm on facebook or google news and I type C-x k to kill the buffer it
instead scrolls up, which is the shortcut these sites use for the "k" key.
I tried the code snipped shown in the link above, and it doesn't appear to
do anything. I set the domains like this:

key_kill_mode.test.push(build_url_regexp($domain = "facebook"));
key_kill_mode.test.push(build_url_regexp($domain = "news.google.com"));

I also tried the procedure listed on the key-kill page in the wiki with no
luck. It seems like it's being ignored: http://conkeror.org/KeyKill

Any suggestions on other things to try?

Thanks,

Owen

Re: [conkeror] C-x k scrolls instead of killing buffer

From:
Joren Van Onder
Date:
2014-01-19 @ 19:50
I've been noticing similar problems when using GitHub and
Twitter. GitHub used to work fine when using:

key_kill_mode.test.push(build_url_regexp($domain = "github"));

Lately this has stopped working. With key_kill_mode active all keys stop
working. Without key_kill_mode only some of the keys don't work (like
"g").

Could be a change in xulrunner or the GitHub js maybe? I have similar
problems when using Twitter, but as far as I know they've only recently
implemented keyboard shortcuts so this could be a different problem.
--
        Joren