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

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

bug#61736: closed (Fix typos in docstrings in c-ts-common.el)


From: GNU bug Tracking System
Subject: bug#61736: closed (Fix typos in docstrings in c-ts-common.el)
Date: Sat, 25 Feb 2023 04:52:02 +0000

Your message dated Fri, 24 Feb 2023 20:50:48 -0800
with message-id <CAECA17D-48E3-41A1-B443-3B0100D752E6@gmail.com>
and subject line Re: bug#61736: Fix typos in docstrings in c-ts-common.el
has caused the debbugs.gnu.org bug report #61736,
regarding Fix typos in docstrings in c-ts-common.el
to be marked as done.

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


-- 
61736: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61736
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: Fix typos in docstrings in c-ts-common.el Date: Thu, 23 Feb 2023 18:32:58 +0100
Tags: patch


I've attached a patch to fix a couple of typos in c-ts-common.el.

Attachment: 0001-Fix-typos-in-docstrings-in-c-ts-common.el.patch
Description: Text Data


--- End Message ---
--- Begin Message --- Subject: Re: bug#61736: Fix typos in docstrings in c-ts-common.el Date: Fri, 24 Feb 2023 20:50:48 -0800
Eli Zaretskii <eliz@gnu.org> writes:

>> Date: Thu, 23 Feb 2023 18:32:58 +0100
>> From:  Daniel Martín via "Bug reports for GNU Emacs,
>>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>> 
>> I've attached a patch to fix a couple of typos in c-ts-common.el.
>
> Thanks.
>
>>  (defun c-ts-common-statement-offset (node parent &rest _)
>> -  "This anchor is used for children of a statement inside a block.
>> +  "Return an offset for children of a statement inside a block.
>
> Is the new text really accurate?  The rest of the doc string doesn'
> mention "offset" even once, and without explaining what kind of
> "offset" is this, the first sentence could mislead and confuse.
>
> So I think this part of the patch "needs more work".
>
> I installed the first part, thanks.

The second part is valid. I applied it with some minor change, thanks!

Yuan


--- End Message ---

reply via email to

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