From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.devel Subject: Re: hungry-delete Date: Mon, 04 Apr 2011 15:00:10 -0400 Message-ID: References: <4D99FDB8.6040708@online.de> <4D9A13F5.7040702@online.de> Reply-To: sds@gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1301943629 27465 80.91.229.12 (4 Apr 2011 19:00:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 4 Apr 2011 19:00:29 +0000 (UTC) Cc: emacs-devel@gnu.org To: Andreas =?utf-8?Q?R=C3=B6hler?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 04 21:00:22 2011 Return-path: Envelope-to: ged-emacs-devel@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 1Q6p0f-0005Sx-3t for ged-emacs-devel@m.gmane.org; Mon, 04 Apr 2011 21:00:21 +0200 Original-Received: from localhost ([127.0.0.1]:60251 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q6p0d-0002ah-Ek for ged-emacs-devel@m.gmane.org; Mon, 04 Apr 2011 15:00:19 -0400 Original-Received: from [140.186.70.92] (port=44599 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q6p0Z-0002ab-0R for emacs-devel@gnu.org; Mon, 04 Apr 2011 15:00:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q6p0X-0003ho-PX for emacs-devel@gnu.org; Mon, 04 Apr 2011 15:00:14 -0400 Original-Received: from mail-vx0-f169.google.com ([209.85.220.169]:33597) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q6p0V-0003hH-VR; Mon, 04 Apr 2011 15:00:12 -0400 Original-Received: by vxk20 with SMTP id 20so5676959vxk.0 for ; Mon, 04 Apr 2011 12:00:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:sender:from:to:cc:subject:in-reply-to :references:user-agent:mail-copies-to:return-receipt-to:reply-to :x-attribution:x-disclaimer:date:message-id:mime-version :content-type:content-transfer-encoding; bh=YMk/EPNgzARa8Kgj6nQjckJLAhCseQ+sOopQvqMG79E=; b=nRbmIJHRaSDr52481PAyaYpt8pY2K0U372BsJvMgP3mgdW5gWtviYYuqzj4Bu4IxPw uAdIc61hE2UA/1aYL2Ow3FyH+zcc23gdtx4PVUC2oNomzQZzF33tida7VvNeniZs4fMP EnAZCGbgff9HLx5lXuH3pd+zDx1/AuSMF/oTA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:in-reply-to:references:user-agent :mail-copies-to:return-receipt-to:reply-to:x-attribution :x-disclaimer:date:message-id:mime-version:content-type :content-transfer-encoding; b=bvfeCpU2lcnqMfngasQwifMVuAMVh40rUVcRl3q7VT0klfq1s5X18Bs6eVdoRLQfI/ aRipKAN43T7nAOYlaC6mtqIEgTv5FGdY+eqrT6ONUkdnFWbtbiReZ/pjjz21xuqu9K4c Qcr5CO1a8GlX8EVzMMUbMrMjDAb2tki87XvXM= Original-Received: by 10.52.179.36 with SMTP id dd4mr6519281vdc.56.1301943611483; Mon, 04 Apr 2011 12:00:11 -0700 (PDT) Original-Received: from tbox.wtc.algo (rrcs-24-103-48-205.nyc.biz.rr.com [24.103.48.205]) by mx.google.com with ESMTPS id dm14sm1208033vdb.41.2011.04.04.12.00.10 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 04 Apr 2011 12:00:10 -0700 (PDT) In-Reply-To: <4D9A13F5.7040702@online.de> ("Andreas =?utf-8?Q?R=C3=B6hler?= =?utf-8?Q?=22's?= message of "Mon, 04 Apr 2011 20:54:45 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Mail-Copies-To: never X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.220.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:138143 Archived-At: > * Andreas R=C3=B6hler [2011-04-04 20:54:45 +0= 200]: > > Am 04.04.2011 20:20, schrieb Sam Steingold: >>> * Andreas R=C3=B6hler [2011-04-04 19:19:52 = +0200]: >>> >>> https://bugs.launchpad.net/python-mode/+bug/328853 >>> >>> "I really love the hungry-delete feature of Emacs' >>> c-mode. It would be great to have hungry-delete for >>> python-mode as well." >> >> DEL (translated from) runs the command >> backward-delete-char-untabify >> >> backward-delete-char-untabify-method is a variable defined in `simple.el= '. >> The method for untabifying when deleting backward. >> Can be `untabify' -- turn a tab to many spaces, then delete one space; >> `hungry' -- delete all whitespace, both tabs and spaces; >> `all' -- delete all whitespace, including tabs, spaces and newli= nes; >> nil -- just delete one character. > > However don't think customizing DEL does it. > In most cases you will use DEL as `untabify'. wfm: (custom-set-variables '(backward-delete-char-untabify-method 'all)) (define-key global-map [remap delete-backward-char] 'backward-delete-char-untabify) --=20 Sam Steingold (http://sds.podval.org/) on CentOS release 5.5 (Final) X http://www.memritv.org http://thereligionofpeace.com http://honestreporting= .com http://truepeace.org http://openvotingconsortium.org http://dhimmi.com There are 10 kinds of people: those who count in binary and those who do no= t.