help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bind CTRL-S (CTRL-shift-S) separately from CTRL-s?


From: keepplugging
Subject: Bind CTRL-S (CTRL-shift-S) separately from CTRL-s?
Date: Sun, 22 May 2011 12:10:04 -0700 (PDT)
User-agent: G2/1.0

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 via email to

[Prev in Thread] Current Thread [Next in Thread]