emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#62027: closed (Subject: 29.0.60; Breaking change in forward-sentence


From: GNU bug Tracking System
Subject: bug#62027: closed (Subject: 29.0.60; Breaking change in forward-sentence/backward-sentence)
Date: Tue, 07 Mar 2023 19:33:01 +0000

Your message dated Tue, 07 Mar 2023 21:32:32 +0200
with message-id <83a60o5pdb.fsf@gnu.org>
and subject line Re: bug#62027: Subject: 29.0.60; Breaking change in 
forward-sentence/backward-sentence
has caused the debbugs.gnu.org bug report #62027,
regarding Subject: 29.0.60; Breaking change in 
forward-sentence/backward-sentence
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
62027: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62027
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: Subject: 29.0.60; Breaking change in forward-sentence/backward-sentence Date: Tue, 07 Mar 2023 08:31:49 +0100 User-agent: Gnus/5.13 (Gnus v5.13)
Hi.

Commit 460d5fd971489ba7b573d71a94cdaac2f9f1a767 introduced a new
function `count-sentences', which is nice, but it also silently changed
the return value of `forward-sentence' (and thus also
`backward-sentence') from returning the new value of point to returning
t/nil based on whether point moved or not.

I just discovered this because it caused one of my packages to break,
since it relies on the previous style return values from
`forward-sentence'/`backward-sentence'. It would be easy enough fix on
my part, but I'm wondering whether this change was intended, and if so,
whether it should be documented somewhere so package authors can adapt
more easily?

Or could perhaps the change in return values from
`forward-sentence'/`backward-sentence' be reverted to old behavior, and
the counting logic be left to `count-sentences' instead?

-- Simen



--- End Message ---
--- Begin Message --- Subject: Re: bug#62027: Subject: 29.0.60; Breaking change in forward-sentence/backward-sentence Date: Tue, 07 Mar 2023 21:32:32 +0200
> From: Manuel Giraud <manuel@ledu-giraud.fr>
> Cc: mardani29@yahoo.es,  62027@debbugs.gnu.org,  simenheg@runbox.com
> Date: Tue, 07 Mar 2023 20:07:44 +0100
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> [...]
> 
> > I tried, but it doesn't apply.  Did you produce the patch from the
> > emacs-29 branch or from some other branch?
> 
> Sorry, I produced it on master.  Here is the one for emacs-29.

Thanks, installed.

> Will this appear on master at a later time?

Yes, in a day or two.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]