From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean O'Rourke Newsgroups: gmane.emacs.bugs Subject: bug#65069: ispell-region does not preserve the region Date: Tue, 8 Aug 2023 20:21:14 -0600 Message-ID: References: <550E8F38-DE56-45BF-914A-A1608594537A@drdirtbag.com> <83350xu8qz.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29666"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65069@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 09 09:31:31 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qTdfG-0007YA-Np for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Aug 2023 09:31:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qTdeq-0001yr-6j; Wed, 09 Aug 2023 03:31:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qTdeo-0001yN-3y for bug-gnu-emacs@gnu.org; Wed, 09 Aug 2023 03:31:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qTden-0006Or-RV for bug-gnu-emacs@gnu.org; Wed, 09 Aug 2023 03:31:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qTden-00073e-NQ for bug-gnu-emacs@gnu.org; Wed, 09 Aug 2023 03:31:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sean O'Rourke Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Aug 2023 07:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65069 X-GNU-PR-Package: emacs Original-Received: via spool by 65069-submit@debbugs.gnu.org id=B65069.169156622827081 (code B ref 65069); Wed, 09 Aug 2023 07:31:01 +0000 Original-Received: (at 65069) by debbugs.gnu.org; 9 Aug 2023 07:30:28 +0000 Original-Received: from localhost ([127.0.0.1]:38157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTdeF-00072i-Ah for submit@debbugs.gnu.org; Wed, 09 Aug 2023 03:30:28 -0400 Original-Received: from delivery.antispam.mailspamprotection.com ([185.56.86.133]:2560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTYpE-0006wv-81 for 65069@debbugs.gnu.org; Tue, 08 Aug 2023 22:21:29 -0400 Original-Received: from 201.122.212.35.bc.googleusercontent.com ([35.212.122.201] helo=gvam1249.siteground.biz) by instance-us-central1-4bmj.prod.antispam.mailspamprotection.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1qTYp6-005YA3-17 for 65069@debbugs.gnu.org; Wed, 09 Aug 2023 02:21:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=drdirtbag.com; s=default; h=To:Cc:Date:From:Subject:list-help: list-unsubscribe:list-subscribe:list-post:list-owner:list-archive; bh=DNOl9OoRVb5DoT/T2rCZ/nRbY77eveJ51Yyh2XqpCLQ=; b=TkwQFQQlXZ0hOlAukTEndFXDJm BYDSxwbmds7eBaU5lxOKm31188hkWzsB1sOtkNGEVYY/Sv6xjVBf58eNs3VeGEFdxJm9xcycIcHC2 BlTRh2iAftAz9KzJvjieaYk/D3kSframrwRrcO2Rinibyh+pAN/O+EgUTIh1iqWzr+ewNARnmxtx3 aCFzFg40jwxEWFa0ChfuAdJd/OTTP7TojqP1C7MDxo2haJ2hlFpkqQVlTQ7f+YJx7D34BzUwJy48q rd8sJmf4/4DoGljyJ+bUB+/QuBO9xJNEUduOG/I6UxbGqlNx7CFWN4mZZj187O10vCszpabcqEfjk rlS3zcbA==; Original-Received: from [174.208.227.65] (port=15199 helo=smtpclient.apple) by gvam1249.siteground.biz with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1qTYp5-0009Dr-1s; Wed, 09 Aug 2023 02:21:19 +0000 In-Reply-To: <83350xu8qz.fsf@gnu.org> X-Mailer: Apple Mail (2.3731.600.7) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gvam1249.siteground.biz X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - drdirtbag.com X-SGantispam-id: d3592c410b362dbdc0e58bf307438fc8 X-Mailman-Approved-At: Wed, 09 Aug 2023 03:30:26 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:267004 Archived-At: 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=E2=80=99s an uncommon usage pattern, I can just defadvice it = myself to get the old behavior back =E2=80=94 no need for another user = option. Sean > On Aug 5, 2023, at 3:41 AM, Eli Zaretskii wrote: >=20 >> From: Sean O'Rourke >> Date: Fri, 4 Aug 2023 05:21:13 -0600 >>=20 >> 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=E2=80=99t know if this is intended = behavior, but it is less convenient than the way it worked before. >=20 > 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?