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

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

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


From: Deniz Dogan
Subject: Re: Bind CTRL-S (CTRL-shift-S) separately from CTRL-s?
Date: Tue, 24 May 2011 18:51:06 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10

On 2011-05-22 21:10, keepplugging wrote:
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

(global-set-key (kbd "C-S-s") 'blabla) ought to work.

/Deniz


reply via email to

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