all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Julien Cubizolles <j.cubizolles@free.fr>
To: help-gnu-emacs@gnu.org
Subject: How to bind M-<kp>-2
Date: Sun, 30 Aug 2015 12:12:37 +0200	[thread overview]
Message-ID: <87lhctult6.fsf@free.fr> (raw)

I get "M- must prefix a single character, not <kp>-2" when attempting to
rebind some smartparens functions in order to avoid conflicts in
org-mode.

I tried:
--8<---------------cut here---------------start------------->8---

(setq sp-override-key-bindings
   '(("M-<kp>-2" . sp-splice-sexp-killing-forward)
    ("M-<kp>-8" . sp-splice-sexp-killing-backward)))

(sp--update-override-key-bindings)
--8<---------------cut here---------------end--------------->8---


Julien.




             reply	other threads:[~2015-08-30 10:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-30 10:12 Julien Cubizolles [this message]
2015-08-30 19:47 ` How to bind M-<kp>-2 Random832
2015-10-05  5:05   ` Julien Cubizolles

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=87lhctult6.fsf@free.fr \
    --to=j.cubizolles@free.fr \
    --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.