all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 14661@debbugs.gnu.org
Subject: bug#14661: 24.3.50; `C-<scroll>' is seen as `C-<pause>'
Date: Wed, 19 Jun 2013 17:34:19 +0300	[thread overview]
Message-ID: <83bo72qidw.fsf@gnu.org> (raw)
In-Reply-To: <5f79449d-3811-463f-88db-377fee797807@default>

> Date: Tue, 18 Jun 2013 19:53:02 -0700 (PDT)
> From: Drew Adams <drew.adams@oracle.com>
> 
> Dunno whether this is an Emacs bug or a keyboard problem.

Neither.

> When I use `C-h k' and then press Control and hit the Scroll Lock key,
> Emacs takes that as `C-<pause>', not `C-<scroll>'.  However, every other
> combination of a modifier with the Scroll Lock key, and use of no
> modifier with it, acts as I would expect: Emacs sees
> `<scroll>',`M-<scroll>', `C-M-<scroll>', `C-S-<scroll>', `S-<scroll>',
> `M-S-<scroll>', and `C-M-S-<scroll>'.

This is a conundrum whose way out I don't know, nor whether it at all
exists.  Windows gives us the same virtual key code VK_CANCEL for both
C-<scroll> and C-<pause> (for reasons of backward compatibility).  We
want to produce a "normal" Ctrl-modified key from this, but we don't
know which one of the two was pressed.  So we arbitrarily choose to
produce C-<pause>.

If someone has a way out of this that doesn't require a complete
rewrite of the keyboard reading code, please speak up.  Otherwise,
this will remain a very distant wishlist.





  reply	other threads:[~2013-06-19 14:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-19  2:53 bug#14661: 24.3.50; `C-<scroll>' is seen as `C-<pause>' Drew Adams
2013-06-19 14:34 ` Eli Zaretskii [this message]
2013-06-19 14:44   ` Juanma Barranquero
2013-06-19 14:47     ` Juanma Barranquero
2013-06-19 14:48     ` Drew Adams
2013-06-19 14:51       ` Juanma Barranquero
2013-06-19 14:57         ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83bo72qidw.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=14661@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.