Note that there are some explanatory texts on larger screens.

plurals
  1. POPage down and page up in Emacs on Windows using the Windows key
    primarykey
    data
    text
    <p>I am trying to learn Emacs and trying to find best keyboard layout for me. One thing is really annoying me. I have added following lines to .emacs</p> <pre class="lang-lisp prettyprint-override"><code>(global-set-key "\C-y" 'scroll-up) (global-set-key "\M-y" 'scroll-down) </code></pre> <p>When I hold <kbd>Control</kbd> and press <kbd>y</kbd> a few times, it will page down on every press of <kbd>y</kbd>.</p> <p><strong>However</strong>, when I hold the <kbd>Windows</kbd> key (mapped as <kbd>Meta</kbd>) and press <kbd>y</kbd> a few times it will only page up on the <strong>first</strong> press of <kbd>y</kbd> and all subsequent presses of <kbd>y</kbd> I get the ‘y’ character inserted in the buffer.</p> <p>Can the page up behave like page down? I want to hold <kbd>Meta</kbd> and keep pressing <kbd>y</kbd> to scroll multiple pages up.</p> <p>I am using GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-05-12 on LENNART-69DE564 (patched). It is Emacs with EmacsW32 patch. Is this problem with this Emacs? Problem with Meta key?</p> <p>I tried original GNU Emacs (not patched) and it works OK with <kbd>Alt</kbd>. But my problem is not that I want to scroll without releasing any key. I release key <kbd>y</kbd> and press it multiple times but don't want to have to release <kbd>Meta</kbd> key. Same problem is described here:</p> <p><a href="http://groups.google.com/group/gnu.emacs.help/browse_thread/thread/f30f4b75a8b75b10" rel="nofollow noreferrer">http://groups.google.com/group/gnu.emacs.help/browse_thread/thread/f30f4b75a8b75b10</a></p> <p>Problem is not in that I have changed key mapping. It looks like it is a bug in EmacsW32 version. Here is another description of the problem: <a href="http://www.nabble.com/23.0.60--Unreleased-Meta-Win-modifier-td19213327.html" rel="nofollow noreferrer">Unreleased Meta/Win modifier</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload