From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: python-mode (python.el): python-backspace Date: Sun, 30 May 2004 10:30:37 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <86isefpivx.fsf@rumba.de.uu.net> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1085927525 21035 80.91.224.253 (30 May 2004 14:32:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 30 May 2004 14:32:05 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun May 30 16:31:59 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BURLz-0004Xc-00 for ; Sun, 30 May 2004 16:31:59 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BURLy-0004gQ-00 for ; Sun, 30 May 2004 16:31:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BURM7-0008RI-4W for emacs-devel@quimby.gnus.org; Sun, 30 May 2004 10:32:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BURKx-0007mn-S5 for emacs-devel@gnu.org; Sun, 30 May 2004 10:30:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BURKu-0007l5-Uy for emacs-devel@gnu.org; Sun, 30 May 2004 10:30:53 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BURKu-0007km-SG for emacs-devel@gnu.org; Sun, 30 May 2004 10:30:52 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BURKf-0002Bh-RN for emacs-devel@gnu.org; Sun, 30 May 2004 10:30:37 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1BURKf-0001yw-40; Sun, 30 May 2004 10:30:37 -0400 Original-To: Kai Grossjohann In-reply-to: <86isefpivx.fsf@rumba.de.uu.net> (message from Kai Grossjohann on Sat, 29 May 2004 13:33:54 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:24213 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24213 If point is currently at column N, search backward for a line with indentation M < N. Then delete characters to the left until column M is reached. I suppose that could be useful in many modes. Not, I think, in modes that compute the exact indentation, such as Lisp mode and C mode. But there are many modes which don't have such careful indentation computations.