From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Halliday Newsgroups: gmane.emacs.help Subject: Re: custom backspace Date: Tue, 22 Apr 2014 16:27:01 -0700 (PDT) Message-ID: <4ca0e0fe-0254-4a1d-963b-9ff3b2ac8b54@googlegroups.com> References: <7215734c-9d3b-423e-b03f-933c3aab390a@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1398210040 6643 80.91.229.3 (22 Apr 2014 23:40:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 22 Apr 2014 23:40:40 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 23 01:40:33 2014 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 1WckIh-00075O-Nf for geh-help-gnu-emacs@m.gmane.org; Wed, 23 Apr 2014 01:40:31 +0200 Original-Received: from localhost ([::1]:57879 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WckIh-00059z-6t for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Apr 2014 19:40:31 -0400 X-Received: by 10.42.20.197 with SMTP id h5mr12851311icb.33.1398209221748; Tue, 22 Apr 2014 16:27:01 -0700 (PDT) X-Received: by 10.140.36.6 with SMTP id o6mr512qgo.26.1398209221673; Tue, 22 Apr 2014 16:27:01 -0700 (PDT) Original-Path: usenet.stanford.edu!c1no2155241igq.0!news-out.google.com!du2ni14151qab.0!nntp.google.com!m5no4237416qaj.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: <7215734c-9d3b-423e-b03f-933c3aab390a@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=109.154.235.237; posting-account=kRukCAoAAAANs-vsVh9dFwo5kp5pwnPz Original-NNTP-Posting-Host: 109.154.235.237 User-Agent: G2/1.0 Injection-Date: Tue, 22 Apr 2014 23:27:01 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:205046 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:97311 Archived-At: On Wednesday, 23 April 2014 00:15:38 UTC+1, Sam Halliday wrote: > But when I try to create any form of binding for C-backspace in my .emacs I get an error that control must be followed by a single character. I've solved this small part of the problem at least: "", not "C-backspace" when defining the global key. I guess now I need a little lambda that checks to see the value of the previous character and acts accordingly.