GNU bug report logs - #76676
30.1.50; C-M-b in c-ts-mode moves too far

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Sun, 2 Mar 2025 08:55:02 UTC

Severity: normal

Found in version 30.1.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #22 received at 76676-done <at> debbugs.gnu.org (full text, mbox):

From: Yuan Fu <casouri <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 76676-done <at> debbugs.gnu.org, Juri Linkov <juri <at> linkov.net>
Subject: Re: bug#76676: 30.1.50; C-M-b in c-ts-mode moves too far
Date: Tue, 4 Mar 2025 15:16:23 -0800

> On Mar 3, 2025, at 11:37 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> 
>> From: Juri Linkov <juri <at> linkov.net>
>> Cc: 76676 <at> debbugs.gnu.org,  casouri <at> gmail.com
>> Date: Mon, 03 Mar 2025 19:56:32 +0200
>> 
>>>>> But in fact, point moves to the first character of 'if' before that:
>>>>> 
>>>>>  if ((0 < scroll_conservatively
>>>>> 
>>>>> Let me know if I can supply more information.
>>>>> 
>>>>> In GNU Emacs 30.1.50 (build 9, i686-pc-mingw32)
>>>> 
>>>> This is already fixed in GNU Emacs 31.0.50.
>>> 
>>> Thanks, good to know.
>>> 
>>>> Should this fix be backported into 30.1.50?
>>> 
>>> Can you point me to the commit(s) which fixed that?  If they are safe,
>>> I will backport them.
>> 
>> There are too many commits during the previous 5 months.
>> Maybe easier would be to sync whole treesit.c, treesit.el
>> and ts-mode files to emacs-30?
> 
> No, that's too many non-trivial changes for my palate.  I thought you
> knew which changeset on master fixed that, but if you don't, then the
> fix will have to wait till Emacs 31.
> 
> Thanks.

Yes, to add to that, I made some significant changes to how indentation works on master which requires changes in c-ts-common.el.

Yuan



This bug report was last modified 38 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.