Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Looking for the "best" notation for key-binding
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Chap Harrison  
View profile  
 More options Sep 21 2012, 11:28 am
Newsgroups: gnu.emacs.help
From: Chap Harrison <chap.harri...@me.com>
Date: Fri, 21 Sep 2012 09:27:37 -0600
Local: Fri, Sep 21 2012 11:27 am
Subject: Re: Looking for the "best" notation for key-binding
On 09/21/2012 03:24 AM, Peter Dyballa wrote:

> Am 21.09.2012 um 01:11 schrieb Chap Harrison:

>> Isn't there a single, simple, consistent way to create key bindings that will always work?
> I think the vector notation is a good choice:

>    (global-set-key [C-∫]         'backward-sexp) ; A-C-b
>    (global-set-key [M-S-return]    'other-window)
>    (global-set-key [f1 f5]         'apropos-variable)
>    (global-set-key [f3]            'compare-windows)
>    (global-set-key [A-f1]          'replace-string)

That looks and sounds straightforward enough.

I don't know elisp.  Is there an exhaustive list of how to express all
of the key chords using vector notation?  For instance, I wouldn't have
guessed that the 'return' key was denoted by 'return' - I usually see it
written RET.

As to my problem with C-; I strongly suspect my binding is getting
stomped by C++ mode.  So I'd also appreciate some guidelines on what
keys to use or avoid.

Chap


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.