all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Pascal J. Bourguignon" <pjb@informatimago.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Title: Unable to create key binding.
Date: Sun, 06 Jul 2014 20:30:19 +0200	[thread overview]
Message-ID: <87ionaqr0k.fsf@kuiper.lan.informatimago.com> (raw)
In-Reply-To: mailman.4947.1404669331.1147.help-gnu-emacs@gnu.org

Hoe-Phuan Ng <avtinc2000@gmail.com> writes:

> *Title: Unable to create key binding.*
>
> Hello All:
>
> Below is the code for node.js REPL ( see below ).
>
> I was not able to use the key bindings.
>
> I got “Undefined … “ response from emacs.
>
>
>  However, I was able to run commands like this:
>
> M-x run-js and M-x js-send-last-sexp
>
>
>  When I ran command, C-h b, I see these key bindings:
>
> C-c & C-s yas-insert-snippet
>
>
>  C-c C-r comint-show-output
>
> C-c C-s comint-write-output
>
>
>  Questions:
>
> Q1: from command, C-h b, kkey bindings list as shown above, what is the
> difference between
>
> C-c & C-s and C-c C-s ?

For the former, you must press Control and type c, type &, press Control
and type s, while for the later, you just press Control and type c, and
press Control and type s.


>  Q2: Are the existing key bindings conflict with the key bindings show in
> code below?

You should better ask this question to emacs itself!
For example, in this buffer:

    (some (lambda (key) (key-binding key))
          (list (kbd "\C-c\C-c") (kbd "\C-c\C-r")
                (kbd "\C-c\C-s") (kbd "\C-c\C-z")))
    --> message-send-and-exit

>  Q3: What to do now?

Whatever you want.  Key binding are up to the user to customize just
like she wants!

-- 
__Pascal Bourguignon__
http://www.informatimago.com/
"Le mercure monte ?  C'est le moment d'acheter !"


       reply	other threads:[~2014-07-06 18:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.4947.1404669331.1147.help-gnu-emacs@gnu.org>
2014-07-06 18:30 ` Pascal J. Bourguignon [this message]
2014-07-06 14:23 Title: Unable to create key binding Hoe-Phuan Ng

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ionaqr0k.fsf@kuiper.lan.informatimago.com \
    --to=pjb@informatimago.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.