From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#62027: Subject: 29.0.60; Breaking change in forward-sentence/backward-sentence Date: Tue, 07 Mar 2023 18:17:56 +0200 Message-ID: <83h6uw5ydn.fsf@gnu.org> References: <874jqxkoey.fsf@runbox.com> <87y1o8c39u.fsf@ledu-giraud.fr> <834jqw7lrn.fsf@gnu.org> <87ttywbl59.fsf@ledu-giraud.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18280"; mail-complaints-to="usenet@ciao.gmane.io" Cc: simenheg@runbox.com, 62027@debbugs.gnu.org, mardani29@yahoo.es To: Manuel Giraud Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 07 17:19:58 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 1pZa2f-0004Vf-SA for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 07 Mar 2023 17:19:57 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZa1v-0007NY-ML; Tue, 07 Mar 2023 11:19:11 -0500 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 1pZa1p-0007MB-9W for bug-gnu-emacs@gnu.org; Tue, 07 Mar 2023 11:19:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pZa1l-00064a-Ud for bug-gnu-emacs@gnu.org; Tue, 07 Mar 2023 11:19:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pZa1l-0002Y2-KZ for bug-gnu-emacs@gnu.org; Tue, 07 Mar 2023 11:19:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Mar 2023 16:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62027 X-GNU-PR-Package: emacs Original-Received: via spool by 62027-submit@debbugs.gnu.org id=B62027.16782058949735 (code B ref 62027); Tue, 07 Mar 2023 16:19:01 +0000 Original-Received: (at 62027) by debbugs.gnu.org; 7 Mar 2023 16:18:14 +0000 Original-Received: from localhost ([127.0.0.1]:47056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZa0z-0002Wx-Hm for submit@debbugs.gnu.org; Tue, 07 Mar 2023 11:18:13 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54378) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZa0x-0002Wk-Pf for 62027@debbugs.gnu.org; Tue, 07 Mar 2023 11:18:12 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZa0r-0005rQ-Fn; Tue, 07 Mar 2023 11:18:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=1IQeEw9CgdXkuRIJvx+Km3vfwYdgjbzTXe6iiPY4sCc=; b=RxyxAxm/IMbk0+t2Cxl+ CPt8vzwpsSBByGk5wfjZ/Q+kyNVXlvSRlcq/xq5sR4r9bPWPmNW+peph+6Ik2VRNT0vC2OQ+Fz/ry FHDVpVQJUfQtOe26wkHO5IZihBGmc+0MeIp/kdrIwPRYxyICBZE0JJt9XGqZfncdWxJCxqvLcQXHL azIi6/fMzjBmMpJ6shA07zDd+hFodOQbdzxRz1xo74/TPVpPeI6od9b3RndTUQJz/8N1/w+deI7r0 eOVOz8VUX7jJQXW2YBnS0ZZtiJLW4YW4R/ml1BgZuWlJKzz+RpnXf12YFKhOy0sg6Zg9p2cFY6U/O FQAZPsDsE1qujA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZa0m-0002kX-NV; Tue, 07 Mar 2023 11:18:04 -0500 In-Reply-To: <87ttywbl59.fsf@ledu-giraud.fr> (message from Manuel Giraud on Tue, 07 Mar 2023 17:07:14 +0100) 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:257483 Archived-At: > From: Manuel Giraud > Cc: Daniel Martín , > 62027@debbugs.gnu.org, > simenheg@runbox.com > Date: Tue, 07 Mar 2023 17:07:14 +0100 > > Eli Zaretskii writes: > > [...] > > >> I'm all for reverting to the traditional return values of the sentence > >> commands, specially if they don't complicate the new command much. The > >> return value was not documented, but Hyrum's Law > >> (https://www.hyrumslaw.com/) tells us that there is an unknown amount of > >> code out there that depends on the traditional return value, anyway. > > > > Agreed. > > Ok. I've tried to fix this. I've done some testing, it works for me™. > If it is ok, I think it should go in emacs-29 (if this is still > possible). Yes, please. This command is new in Emacs 29, so it needs to be corrected there. > Subject: [PATCH] Revert 'forward-sentence-default-function' to return the > point > > * lisp/textmodes/paragraphs.el > (forward-sentence-default-function): Revert to return the point > position. > (count-sentences): Adapt to this change. Don't forget to mention the bug number in the commit log message when you install this. Thanks.