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: Sat, 30 Mar 2019 13:15:07 +0300 Message-ID: <83lg0wis7o.fsf@gnu.org> References: <20190327141917.GA7614@odo.localdomain> <874l7o47v9.fsf@tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="20464"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 35021@debbugs.gnu.org, j@lollyshouse.ca, stephen_leake@stephe-leake.org, stlman@poczta.fm To: "Basil L. Contovounesios" , Alex Branham Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 30 11:16:14 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 1hAB26-00059F-9x for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Mar 2019 11:16:14 +0100 Original-Received: from localhost ([127.0.0.1]:57212 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hAB24-0000Zs-Tq for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Mar 2019 06:16:12 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hAB1x-0000Zb-Tw for bug-gnu-emacs@gnu.org; Sat, 30 Mar 2019 06:16:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hAB1w-0006aB-I8 for bug-gnu-emacs@gnu.org; Sat, 30 Mar 2019 06:16:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50949) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hAB1u-0006ZS-NG for bug-gnu-emacs@gnu.org; Sat, 30 Mar 2019 06:16:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hAB1u-0002wV-Hi for bug-gnu-emacs@gnu.org; Sat, 30 Mar 2019 06:16: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: Sat, 30 Mar 2019 10:16:02 +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.155394092511260 (code B ref 35021); Sat, 30 Mar 2019 10:16:02 +0000 Original-Received: (at 35021) by debbugs.gnu.org; 30 Mar 2019 10:15:25 +0000 Original-Received: from localhost ([127.0.0.1]:36260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hAB1J-0002vX-6F for submit@debbugs.gnu.org; Sat, 30 Mar 2019 06:15:25 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33161) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hAB1G-0002vH-LZ for 35021@debbugs.gnu.org; Sat, 30 Mar 2019 06:15:23 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36986) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hAB1A-0006FV-Jq; Sat, 30 Mar 2019 06:15:16 -0400 Original-Received: from [176.228.60.248] (port=2692 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hAB0x-0000fe-OW; Sat, 30 Mar 2019 06:15:09 -0400 In-reply-to: <874l7o47v9.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:156940 Archived-At: > From: "Basil L. Contovounesios" > Date: Wed, 27 Mar 2019 16:09:14 +0000 > Cc: 35021@debbugs.gnu.org, Stephen Leake , > Ɓukasz Stelmach > > > From a clean `emacs -Q` start: > > > > 1. Move point up to the bottom line of the *scratch* buffer comments > > 2. Type M-^ (or M-x delete-indentation) > > 3. Observe the following message in the minibuffer: > > The mark is not set now, so there is no region > > This is because delete-indentation is currently using the 'r' > interactive code, which barfs if the region is inactive. > > I attach a patch which fixes this and also updates the entry for > delete-indentation in the Elisp manual. Is it acceptable? Looks OK to me, please push. Alex, this will also solve your bug report, right? If now, why not? Thanks.