unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alex Branham <alex.branham@gmail.com>
To: 35036@debbugs.gnu.org
Subject: bug#35036: 27.0.50; delete-indentation removes all blank lines
Date: Thu, 28 Mar 2019 16:19:18 -0500	[thread overview]
Message-ID: <87y34y7l49.fsf@gmail.com> (raw)

After 8fa94a1ecc18a41ca2738f438b3fbc817c9fdc82, delete-indentation
removes all blank lines so that a buffer:

one


two|


with | as point, M-x delete-indentation results in:

one two

whereas before it would result in:

one

two

This seems contrary to the documentation, which states, "Join this line
to previous and fix up whitespace at join." and also the NEWS entry,
"When there's no active region, the command works on the current and the
previous or the next line, as before."

I'm happy to submit a patch fixing this, but should it change the
documentation to match the new behavior, or fix the code so that the
behavior is unchanged?

Also, is the patch in Bug#35021 going to get applied soonish? If so I'll
hold off in order not to create conflicts...

Thanks,
Alex





             reply	other threads:[~2019-03-28 21:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-28 21:19 Alex Branham [this message]
2019-03-29  8:56 ` bug#35036: 27.0.50; delete-indentation removes all blank lines 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=87y34y7l49.fsf@gmail.com \
    --to=alex.branham@gmail.com \
    --cc=35036@debbugs.gnu.org \
    /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).