GNU bug report logs - #62832
29.0.60; org-delete-indentation on region doesn't work when END is before BEGIN

Previous Next

Package: emacs;

Reported by: sbaugh <at> catern.com

Date: Fri, 14 Apr 2023 12:40:01 UTC

Severity: normal

Found in version 29.0.60

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 62832 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: sbaugh <at> catern.com
Cc: 62832 <at> debbugs.gnu.org
Subject: Re: 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
> From: sbaugh <at> 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?




This bug report was last modified 2 years and 21 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.