From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Julien Cubizolles Newsgroups: gmane.emacs.help Subject: How to bind M--2 Date: Sun, 30 Aug 2015 12:12:37 +0200 Message-ID: <87lhctult6.fsf@free.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1440929589 20761 80.91.229.3 (30 Aug 2015 10:13:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 30 Aug 2015 10:13:09 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Aug 30 12:13:01 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZVzbg-0003qf-Qw for geh-help-gnu-emacs@m.gmane.org; Sun, 30 Aug 2015 12:13:00 +0200 Original-Received: from localhost ([::1]:58020 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVzbg-0007IV-K9 for geh-help-gnu-emacs@m.gmane.org; Sun, 30 Aug 2015 06:13:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57742) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVzbV-0007Hx-Me for help-gnu-emacs@gnu.org; Sun, 30 Aug 2015 06:12:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZVzbS-0003yF-Gs for help-gnu-emacs@gnu.org; Sun, 30 Aug 2015 06:12:49 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:34653) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVzbS-0003y4-9z for help-gnu-emacs@gnu.org; Sun, 30 Aug 2015 06:12:46 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZVzbQ-0003Yb-54 for help-gnu-emacs@gnu.org; Sun, 30 Aug 2015 12:12:44 +0200 Original-Received: from gas45-3-82-244-252-119.fbx.proxad.net ([82.244.252.119]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 Aug 2015 12:12:44 +0200 Original-Received: from j.cubizolles by gas45-3-82-244-252-119.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 Aug 2015 12:12:44 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 16 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: gas45-3-82-244-252-119.fbx.proxad.net User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:bdcknrIk+QX07re3mUBnSMe1lo4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:106931 Archived-At: I get "M- must prefix a single character, not -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--2" . sp-splice-sexp-killing-forward) ("M--8" . sp-splice-sexp-killing-backward))) (sp--update-override-key-bindings) --8<---------------cut here---------------end--------------->8--- Julien.