[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#65069: ispell-region does not preserve the region
From: |
Sean O'Rourke |
Subject: |
bug#65069: ispell-region does not preserve the region |
Date: |
Tue, 8 Aug 2023 20:21:14 -0600 |
Thanks for the prompt and thorough response, Eli. My use case is that I store
multiple blog posts in a single file. When I compose one, I select it, run
ispell-region, then copy-paste the corrected text into a webpage. Ispell
changing the region is therefore unhelpful to me, but if that’s an uncommon
usage pattern, I can just defadvice it myself to get the old behavior back — no
need for another user option.
Sean
> On Aug 5, 2023, at 3:41 AM, Eli Zaretskii <eliz@gnu.org> wrote:
>
>> From: Sean O'Rourke <sean@drdirtbag.com>
>> Date: Fri, 4 Aug 2023 05:21:13 -0600
>>
>> Before Emacs 29.1, selecting a region and running ispell-region would leave
>> point and mark unchanged. Now it leaves one end of the region at the last
>> place ispell stopped. I don’t know if this is intended behavior, but it is
>> less convenient than the way it worked before.
>
> It was deliberate, see bug#14816 (and the corresponding change to the
> doc string of ispell-region). With Emacs 29.1, the region is left
> around the portion of text that was not yet spell-checked, so it is
> more useful for continuing spell-checking. I guess we could add a
> user option to avoid doing that, for those who prefer the old
> behavior, but is this really needed?