unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: sbaugh@catern.com
Cc: 62832@debbugs.gnu.org
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	[thread overview]
Message-ID: <83ildyfuo8.fsf@gnu.org> (raw)
In-Reply-To: <877cuemydc.fsf@catern.com> (sbaugh@catern.com)

> 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?





  reply	other threads:[~2023-04-14 13:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-14 12:39 bug#62832: 29.0.60; org-delete-indentation on region doesn't work when END is before BEGIN sbaugh
2023-04-14 13:41 ` Eli Zaretskii [this message]
     [not found] ` <9255d230-76a8-4ce4-9c70-72ae4e081dcd@email.android.com>
2023-05-02 13:20   ` sbaugh
2023-05-02 15:08     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83ildyfuo8.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=62832@debbugs.gnu.org \
    --cc=sbaugh@catern.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).