From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#35021: M-^ (delete-indentation) doesn't work without a mark present Date: Sun, 31 Mar 2019 18:05:36 +0300 Message-ID: <83zhpbgk3j.fsf@gnu.org> References: <20190327141917.GA7614@odo.localdomain> <874l7o47v9.fsf@tcd.ie> <83lg0wis7o.fsf@gnu.org> <87tvfju5n8.fsf@tcd.ie> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="188521"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 35021@debbugs.gnu.org, alex.branham@gmail.com, j@lollyshouse.ca, stephen_leake@stephe-leake.org, stlman@poczta.fm To: "Basil L. Contovounesios" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 31 17:06:12 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hAc2F-000mj2-6N for geb-bug-gnu-emacs@m.gmane.org; Sun, 31 Mar 2019 17:06:11 +0200 Original-Received: from localhost ([127.0.0.1]:40345 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hAc2E-0002Jb-1l for geb-bug-gnu-emacs@m.gmane.org; Sun, 31 Mar 2019 11:06:10 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53421) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hAc27-0002CX-E2 for bug-gnu-emacs@gnu.org; Sun, 31 Mar 2019 11:06:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hAc26-0007oB-FL for bug-gnu-emacs@gnu.org; Sun, 31 Mar 2019 11:06:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53092) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hAc26-0007o5-9K for bug-gnu-emacs@gnu.org; Sun, 31 Mar 2019 11:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hAc26-0004JR-0K for bug-gnu-emacs@gnu.org; Sun, 31 Mar 2019 11:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 31 Mar 2019 15:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35021 X-GNU-PR-Package: emacs Original-Received: via spool by 35021-submit@debbugs.gnu.org id=B35021.155404474416541 (code B ref 35021); Sun, 31 Mar 2019 15:06:01 +0000 Original-Received: (at 35021) by debbugs.gnu.org; 31 Mar 2019 15:05:44 +0000 Original-Received: from localhost ([127.0.0.1]:38403 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hAc1j-0004Ic-Ss for submit@debbugs.gnu.org; Sun, 31 Mar 2019 11:05:43 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38962) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hAc1h-0004IN-Ve for 35021@debbugs.gnu.org; Sun, 31 Mar 2019 11:05:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57166) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hAc1b-0007do-Br; Sun, 31 Mar 2019 11:05:31 -0400 Original-Received: from [176.228.60.248] (port=2574 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hAc1Z-0007l6-LK; Sun, 31 Mar 2019 11:05:30 -0400 In-reply-to: <87tvfju5n8.fsf@tcd.ie> (contovob@tcd.ie) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:156973 Archived-At: > From: "Basil L. Contovounesios" > Cc: Alex Branham , , <35021@debbugs.gnu.org>, , > Date: Sun, 31 Mar 2019 03:41:47 +0100 > > > Looks OK to me, please push. > > Thanks, but my last patch only fixed the bug with the interactive spec, > and I have since discovered and fixed a few more edge-cases (including > that reported by Alex in bug#35036). > > I attach the updated patch. Can I push this one instead? Yes, this LGTM as well. > > Alex, this will also solve your bug report, right? If now, why not? > > My last patch didn't address bug#35036. Whereas bug#35021 is caused by > a wrong interactive spec, bug#35036 is caused by a wrong loop condition. > > The attached patch should fix both issues (and a couple more). Thanks.