From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#62832: 29.0.60; org-delete-indentation on region doesn't work when END is before BEGIN Date: Fri, 14 Apr 2023 16:41:11 +0300 Message-ID: <83ildyfuo8.fsf@gnu.org> References: <877cuemydc.fsf@catern.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25730"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62832@debbugs.gnu.org To: sbaugh@catern.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 14 15:42:19 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pnJgx-0006P5-J3 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Apr 2023 15:42:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pnJgh-00021s-HM; Fri, 14 Apr 2023 09:42:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pnJgg-00021a-L6 for bug-gnu-emacs@gnu.org; Fri, 14 Apr 2023 09:42:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pnJgg-0007CV-6b for bug-gnu-emacs@gnu.org; Fri, 14 Apr 2023 09:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pnJgg-0003KX-2E for bug-gnu-emacs@gnu.org; Fri, 14 Apr 2023 09:42: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: Fri, 14 Apr 2023 13:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62832 X-GNU-PR-Package: emacs Original-Received: via spool by 62832-submit@debbugs.gnu.org id=B62832.168147968012748 (code B ref 62832); Fri, 14 Apr 2023 13:42:02 +0000 Original-Received: (at 62832) by debbugs.gnu.org; 14 Apr 2023 13:41:20 +0000 Original-Received: from localhost ([127.0.0.1]:45839 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pnJfz-0003JY-O2 for submit@debbugs.gnu.org; Fri, 14 Apr 2023 09:41:19 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52344) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pnJfz-0003JM-3z for 62832@debbugs.gnu.org; Fri, 14 Apr 2023 09:41:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pnJft-00073B-Lp; Fri, 14 Apr 2023 09:41:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=znE+V6ATuq4ba0bMrfDDYszxAzWdKIoU+CiTjhUuwQ0=; b=B6XsjVhyKMZe cPFGaVMjx0YpWB0IWtgJyLWX0yR+59E4hDQPVAZVNn3i+s+PxE2T3Qn1k0rI9SkeDJT9v0r2qQ+uD jpR1lTMluJpk2nMsNpZ48zqYYT1F7TKONs5qoa/D+3weurPNnYMlMQyZ14unD2NyvnObjty1JYgx6 QDv2X69WUckO/yO2kHKLJUFAygL/mFcDEcAplGBXAzea7Fs8XB4ewmwGvAl/ndiRGrevQMTg7QXkB KrCsAAFSn61SXgqs4gA7+Ogv1DXRe2cMrEPvY0owG0H45/eQY1pu3f93zy3av3M1WwDqvsWZtFrFH yQSXLhWYG4W8BFgVzJ6chQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pnJfs-0000Ya-Oa; Fri, 14 Apr 2023 09:41:13 -0400 In-Reply-To: <877cuemydc.fsf@catern.com> (sbaugh@catern.com) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:259913 Archived-At: > From: sbaugh@catern.com > Date: Fri, 14 Apr 2023 12:39:28 +0000 (UTC) > > > 1. emacs -Q > 2. Insert the following in an org-mode buffer > * head > a > b > 3. C-x h M-^ and note that it's now formatted as: > a > b > * head > 4. Undo, then M-> C-SPC M-< C-n M-^ and note that it's now formatted as: > * head a > b > 5. Undo, then M-< C-SPC M-> M-^ and note that it's now formatted > (correctly) as: > * head a b > > The 3rd and 4th steps are wrong, or at least inconsistent with how > normal delete-indentation works on a region. In 4, I assume the issue > is that org-delete-indentation doesn't check to see if a region is > active before using its special logic. No idea what's up with 3. Did you report this to Org developers? If not, why not?