From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Drew Adams <drew.adams@oracle.com>
Newsgroups: gmane.emacs.help
Subject: RE: custom backspace
Date: Tue, 22 Apr 2014 18:45:28 -0700 (PDT)
Message-ID: <33157b68-c4f0-4af8-bc36-0be999f00c85@default>
References: <e6fef7a6-fa62-4426-b4fe-5e323637f5e9@googlegroups.com>
	<7215734c-9d3b-423e-b03f-933c3aab390a@googlegroups.com>
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Trace: ger.gmane.org 1398217573 4269 80.91.229.3 (23 Apr 2014 01:46:13 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Wed, 23 Apr 2014 01:46:13 +0000 (UTC)
To: Sam Halliday <sam.halliday@gmail.com>, help-gnu-emacs@gnu.org
Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 23 03:46:06 2014
Return-path: <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>
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 <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>)
	id 1WcmGA-0002nB-Qk
	for geh-help-gnu-emacs@m.gmane.org; Wed, 23 Apr 2014 03:46:02 +0200
Original-Received: from localhost ([::1]:58158 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org>)
	id 1WcmG9-0007VB-Vt
	for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Apr 2014 21:46:01 -0400
Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39724)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <drew.adams@oracle.com>) id 1WcmFq-0007DT-L9
	for help-gnu-emacs@gnu.org; Tue, 22 Apr 2014 21:45:51 -0400
Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <drew.adams@oracle.com>) id 1WcmFh-00086U-Sd
	for help-gnu-emacs@gnu.org; Tue, 22 Apr 2014 21:45:42 -0400
Original-Received: from userp1040.oracle.com ([156.151.31.81]:26750)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <drew.adams@oracle.com>) id 1WcmFh-00086E-Cd
	for help-gnu-emacs@gnu.org; Tue, 22 Apr 2014 21:45:33 -0400
Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94])
	by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with
	ESMTP id s3N1jUEo019826
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Wed, 23 Apr 2014 01:45:30 GMT
Original-Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86])
	by ucsinet22.oracle.com (8.14.5+Sun/8.14.5) with ESMTP id
	s3N1jTkn002648
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Wed, 23 Apr 2014 01:45:30 GMT
Original-Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25])
	by userz7022.oracle.com (8.14.5+Sun/8.14.4) with ESMTP id
	s3N1jTim002630; Wed, 23 Apr 2014 01:45:29 GMT
In-Reply-To: <7215734c-9d3b-423e-b03f-933c3aab390a@googlegroups.com>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8  (707110) [OL
	12.0.6691.5000 (x86)]
X-Source-IP: ucsinet22.oracle.com [156.151.31.94]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic]
X-Received-From: 156.151.31.81
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 <help-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/help-gnu-emacs>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-gnu-emacs>,
	<mailto:help-gnu-emacs-request@gnu.org?subject=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:97314
Archived-At: <http://permalink.gmane.org/gmane.emacs.help/97314>

> 1. "m-x describe-key" tells me that my "backspace" or DEL is bound to
>  (backward-delete-char-untabify ARG &optional KILLP)
>=20
>   with value untabify. But if type lots of spaces (e.g. in the scratch or=
 my
> .emacs) and then press backspace, it only goes back one character at a
> time... not untabbing.

It *is* untabifying.  If the char before point is a tab character,
then without untabifying behavior that char is removed.  With
untabifying, the tab char is converted to SPC chars and then one of
those SPC chars is removed, instead.

> 2. describe on my control-backspace reveals that this is bound to C-
> backspace. But when I try to create any form of binding for C-backspace i=
n
> my .emacs I get an error that control must be followed by a single
> character... so I don't have a clue how to rebind this.

Use `C-h k', then hit the `C-backspace' key.  It tells you something
like this:

  <C-backspace> runs the command backward-kill-paragraph...

Now you know how Emacs prints the name of that key sequence: <C-backspace>.
So do this:
(global-set-key (kbd "<C-backspace>") 'your-command)

See the Emacs manual, node `Init Rebinding'.