unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Phil Sainty <psainty@orcon.net.nz>
To: Stephen Leake <stephen_leake@stephe-leake.org>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: override/delete translation of C-S-y?
Date: Thu, 10 Jun 2021 15:41:47 +1200	[thread overview]
Message-ID: <9339ef7230114ab36c319fd59a0ce2f2@webmail.orcon.net.nz> (raw)
In-Reply-To: <86r1habs1n.fsf@stephe-leake.org>

On 2021-06-10 10:18, Stephen Leake wrote:
> I'm trying to bind "\C-Y" to yank-from-kill-ring (I already have the
> other modifies on C-y bound).
> 
> However, something is translating "\C-Y" to "\C-y"

The problem is that (AFAIR) those *are* the same thing.

(kbd "C-Y")
"^Y"

(kbd "C-y")
"^Y"

Such control characters have always been case-insensitive.

As it happens, you put the solution in your subject line:

(kbd "C-S-y")
[33554457]

That event wouldn't be sent in a terminal, but you should be able to
use it in GUI frames.


-Phil




  parent reply	other threads:[~2021-06-10  3:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-09 22:18 override/delete translation of C-S-y? Stephen Leake
2021-06-09 23:26 ` Stefan Monnier
2021-06-11 18:57   ` Stephen Leake
2021-06-10  3:41 ` Phil Sainty [this message]
2021-06-10  3:44   ` Phil Sainty

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=9339ef7230114ab36c319fd59a0ce2f2@webmail.orcon.net.nz \
    --to=psainty@orcon.net.nz \
    --cc=emacs-devel@gnu.org \
    --cc=stephen_leake@stephe-leake.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).