From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: Re: reindent-then-newline-and-indent doesn't indent properly in emacs 22.1 Date: Sun, 14 Oct 2007 21:37:44 -0400 Message-ID: References: <470FFCF1.5050201@cegetel.net> <4710849B.30104@gmx.at> <471145BA.6050600@cegetel.net> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1192412549 28453 80.91.229.12 (15 Oct 2007 01:42:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Oct 2007 01:42:29 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: nuxdoors@cegetel.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 15 03:42:19 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IhEyI-00071Q-5w for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Oct 2007 03:42:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhEyB-0003SH-7z for geb-bug-gnu-emacs@m.gmane.org; Sun, 14 Oct 2007 21:42:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IhEtu-00077E-3g for bug-gnu-emacs@gnu.org; Sun, 14 Oct 2007 21:37:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IhEtt-000762-AP for bug-gnu-emacs@gnu.org; Sun, 14 Oct 2007 21:37:45 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IhEtt-00075q-3I for bug-gnu-emacs@gnu.org; Sun, 14 Oct 2007 21:37:45 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IhEts-0007tW-QG for bug-gnu-emacs@gnu.org; Sun, 14 Oct 2007 21:37:44 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IhEts-0001s2-JV; Sun, 14 Oct 2007 21:37:44 -0400 In-reply-to: <471145BA.6050600@cegetel.net> (nuxdoors@cegetel.net) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16752 Archived-At: Does this version fix the bug? (defun indent-to-left-margin () "Indent current line to the column given by `current-left-margin'." (save-excursion (indent-line-to (current-left-margin))) ;; If we are within the indentation, move past it. (when (save-excursion (skip-chars-backward " \t") (bolp)) (beginning-of-line) (skip-chars-forward " \t")))