unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: keepplugging <rjdtoday@yahoo.com>
To: help-gnu-emacs@gnu.org
Subject: Bind CTRL-S (CTRL-shift-S) separately from CTRL-s?
Date: Sun, 22 May 2011 12:10:04 -0700 (PDT)	[thread overview]
Message-ID: <a7086382-8743-41b2-86bc-74ec3b65429b@h9g2000yqk.googlegroups.com> (raw)

Using Windows XP.  Emacs  23.2.1 (i386-mingw-nt5.1.2600)  of
2010-05-08 on G41R2F1

How do I bind CTRL-S (CTRL-shift-S) to a function without affecting
CTRL-s?

I've tried
(global-set-key "\C-S" 'blabbafunc)
(global-set-key "\C-S-s" 'blabbafunc)
(global-set-key "S-\C-s" 'blabbafunc)
(define-key key-translation-map "\C-S" 'blabbafunc)
(define-key key-translation-map "S-\C-s" 'blabbafunc)

None of that is right.

Regards, Bob


             reply	other threads:[~2011-05-22 19:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-22 19:10 keepplugging [this message]
2011-05-23  1:51 ` Bind CTRL-S (CTRL-shift-S) separately from CTRL-s? Stefan Monnier
2011-05-24  1:36   ` Plugger
2011-05-24 16:51 ` Deniz Dogan

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=a7086382-8743-41b2-86bc-74ec3b65429b@h9g2000yqk.googlegroups.com \
    --to=rjdtoday@yahoo.com \
    --cc=help-gnu-emacs@gnu.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.
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).