From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: PJ Weisberg Newsgroups: gmane.emacs.help Subject: Re: [emacs] tabs, spaces, and indentation Date: Mon, 11 Oct 2010 14:43:35 -0700 Message-ID: References: <20101009020801.GD4996@srevilak.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1286833482 9388 80.91.229.12 (11 Oct 2010 21:44:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 11 Oct 2010 21:44:42 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Nerius Landys Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 11 23:44:40 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P5QAf-0000qK-Gx for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Oct 2010 23:44:37 +0200 Original-Received: from localhost ([127.0.0.1]:53460 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P5QAe-000392-Tx for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Oct 2010 17:44:36 -0400 Original-Received: from [140.186.70.92] (port=46996 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P5Q9y-00035p-CJ for help-gnu-emacs@gnu.org; Mon, 11 Oct 2010 17:44:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P5Q9k-0001n3-OY for help-gnu-emacs@gnu.org; Mon, 11 Oct 2010 17:43:54 -0400 Original-Received: from smtpauth22.prod.mesa1.secureserver.net ([64.202.165.44]:35641) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1P5Q9k-0001ml-Ft for help-gnu-emacs@gnu.org; Mon, 11 Oct 2010 17:43:40 -0400 Original-Received: (qmail 15509 invoked from network); 11 Oct 2010 21:43:37 -0000 Original-Received: from unknown (209.85.214.169) by smtpauth22.prod.mesa1.secureserver.net (64.202.165.44) with ESMTP; 11 Oct 2010 21:43:37 -0000 Original-Received: by iwn1 with SMTP id 1so5970454iwn.0 for ; Mon, 11 Oct 2010 14:43:36 -0700 (PDT) Original-Received: by 10.42.191.18 with SMTP id dk18mr2198375icb.251.1286833415921; Mon, 11 Oct 2010 14:43:35 -0700 (PDT) Original-Received: by 10.42.5.138 with HTTP; Mon, 11 Oct 2010 14:43:35 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:75106 Archived-At: On Mon, Oct 11, 2010 at 1:19 PM, Nerius Landys wrote: > However, there is still one thing needed to make it behave just > like Notepad.=A0 Let's say my cursor is positioned immediately following = a tab > character.=A0 When I hit Backspace (I believe that causes a function > "backward-delete-char" to be called), it converts that tab character into= a > bunch of spaces, then deletes the last space.=A0 I would really like Back= space > to just delete the tab character.=A0 Is there any way to do this?=A0 I su= ppose > I'd have to rebind Backspace to a function other than backward-delete-cha= r, > but I'm not sure which function. Is it bound to backward-delete-char? Or is it bound to backward-delete-char-untabify? I believe the former does what you want.