From: Plugger <plowmail2010@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Bind CTRL-S (CTRL-shift-S) separately from CTRL-s?
Date: Mon, 23 May 2011 18:36:45 -0700 (PDT) [thread overview]
Message-ID: <1f0e2fd0-189b-42af-aa1d-a9195619cf9d@c1g2000yqe.googlegroups.com> (raw)
In-Reply-To: jwvvcx289yu.fsf-monnier+gnu.emacs.help@gnu.org
Thanks!
Your suggestion works for me.
I don't remember doing anything special to get keys past the WM and
into emacs, except for this:
(setq w32-pass-lwindow-to-system nil
w32-pass-rwindow-to-system nil
w32-pass-apps-to-system nil
)
... but that has nothing to do with CTRL-S.
I don't see how, but could it be a keyboard issue?
I'm using the keyboard from my PS2 (IBM Personal System 2).
Regards, Bob
On May 22, 9:51 pm, Stefan Monnier <monn...@iro.umontreal.ca> wrote:
> > (global-set-key "\C-S" 'blabbafunc)
> > (global-set-key "\C-S-s" 'blabbafunc)
>
> You're missing a backslash in front of the second modifier.
> I recommend you avoid the string syntax, so if you try
>
> (global-set-key [?\C-S-s] 'blabbafunc)
>
> you'll get a useful error message whereas
>
> (global-set-key [?\C-\S-s] 'blabbafunc)
>
> will be accepted. For some reason it doesn't work for me (the key
> seems never to reach Emacs, so it's presumably caught by the WM or
> something), but it works for ?\C-\S-d, so the syntax is right.
>
> Stefan
next prev parent reply other threads:[~2011-05-24 1:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-22 19:10 Bind CTRL-S (CTRL-shift-S) separately from CTRL-s? keepplugging
2011-05-23 1:51 ` Stefan Monnier
2011-05-24 1:36 ` Plugger [this message]
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=1f0e2fd0-189b-42af-aa1d-a9195619cf9d@c1g2000yqe.googlegroups.com \
--to=plowmail2010@gmail.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).