GNU bug report logs -
#60623
30.0.50; Add forward-sentence with tree sitter support
Previous Next
Reported by: Theodor Thornhill <theo <at> thornhill.no>
Date: Sat, 7 Jan 2023 11:55:02 UTC
Severity: normal
Found in version 30.0.50
Fixed in version 30.1
Done: Theodor Thornhill <theo <at> thornhill.no>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Theodor Thornhill <theo <at> thornhill.no>
>> Cc: mardani29 <at> yahoo.es, bug-gnu-emacs <at> gnu.org, 60623 <at> debbugs.gnu.org,
>> casouri <at> gmail.com, monnier <at> iro.umontreal.ca, juri <at> linkov.net
>> Date: Sun, 08 Jan 2023 20:35:58 +0100
>>
>> Eli Zaretskii <eliz <at> gnu.org> writes:
>>
>> >> From: Theodor Thornhill <theo <at> thornhill.no>
>> >> Cc: 60623 <at> debbugs.gnu.org, casouri <at> gmail.com, eliz <at> gnu.org,
>> >> monnier <at> iro.umontreal.ca,Juri Linkov <juri <at> linkov.net>
>> >> Date: Sun, 08 Jan 2023 14:29:08 +0100
>> >>
>> >> @Eli, what doc changes do you see as needed here?
>> >
>> > More or less. They need some polishing, like a few words about what
>> > does "sentence" mean in the tree-sitter context. But we can make
>> > these changes after this is in the repository.
>> >
>> > Thanks.
>>
>>
>> Ok, so in other words, this patch is good to go?
>
> Yes, I think so.
>
Great!
>> I omitted the additions to java-ts-mode and c-ts-mode. I can make a
>> separate commit to add some values that makes sense for multiple modes
>> after?
>
> SGTM.
>
Nice. Will you install this for me?
>> Will the changes to the manual lie in "26.2 Sentences"? in the Emacs
>> manual?
>
> No, because these are not really sentences in some human-readable
> language, these are program parts. As such they should be somewhere
> under "27 Programs", possibly in "Defuns".
>
> However, "Sentences" might mention that programming modes have their
> own interpretation of "sentence" and corresponding movement commands.
Yeah, that makes sense. Should I make an attempt at such formulations,
or will you do it at a later time?
Theo
This bug report was last modified 2 years and 131 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.