From: Eli Zaretskii <eliz@gnu.org>
To: Richard Copley <rcopley@gmail.com>
Cc: 41934@debbugs.gnu.org
Subject: bug#41934: reverse-region no longer works
Date: Thu, 18 Jun 2020 21:44:56 +0300 [thread overview]
Message-ID: <83eeqcz00n.fsf@gnu.org> (raw)
In-Reply-To: <CAPM58ohW0r3zbTnH9JfbfyL0ok-dfnLPohrcTwTNRu+As0kh2A@mail.gmail.com> (message from Richard Copley on Thu, 18 Jun 2020 19:33:57 +0100)
> From: Richard Copley <rcopley@gmail.com>
> Date: Thu, 18 Jun 2020 19:33:57 +0100
> Cc: 41934@debbugs.gnu.org
>
> > Looks good, but what if beg and end are on the same line (at the point
> > where you added the test)? Does that not warrant the error message?
>
> Not that error message, no, but rather something like "There are fewer
> than two lines in the region".
The original message says "lines", plural, so I think it kinda hints
on that. We could make it say something that will cover both cases.
> I don't see the point of this error at all: if there are fewer than
> two lines in the region-to-be-reversed at that point, in my opinion
> the command should have no effect.
Indeed, it doesn't have any effect. I'm asking whether this should be
flagged, since doing that makes no sense.
next prev parent reply other threads:[~2020-06-18 18:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-18 16:41 bug#41934: reverse-region no longer works Richard Copley
2020-06-18 17:42 ` Eli Zaretskii
2020-06-18 17:52 ` Richard Copley
2020-06-18 17:59 ` Richard Copley
2020-06-18 18:28 ` Eli Zaretskii
2020-06-18 18:33 ` Richard Copley
2020-06-18 18:44 ` Eli Zaretskii [this message]
[not found] ` <CAPM58oijG1t__9DtYyBPjA+EPHYA7hDFizz9oXv=hqVAyFEPiw@mail.gmail.com>
2020-06-19 11:31 ` Eli Zaretskii
2020-06-20 10:03 ` Richard Copley
2020-06-22 15:43 ` Eli Zaretskii
2020-06-18 18:20 ` 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=83eeqcz00n.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=41934@debbugs.gnu.org \
--cc=rcopley@gmail.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).