A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://lists.gnu.org/archive/html/emacs-devel/2022-11/msg01440.html below:

Re: master e494ca4f4d 6/7: Fix treesit_record_change in casify_region

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] From: Yuan Fu Subject: Re: master e494ca4f4d 6/7: Fix treesit_record_change in casify_region Date: Tue, 22 Nov 2022 11:16:29 -0800
> On Nov 22, 2022, at 1:35 AM, Po Lu <luangruo@yahoo.com> wrote:
> 
> Yuan Fu <casouri@gmail.com> writes:
> 
>> #ifdef HAVE_TREE_SITTER
>> -      treesit_record_change (start_byte, old_end_byte, CHAR_TO_BYTE (end));
>> +      treesit_record_change (start_byte, old_end_byte, CHAR_TO_BYTE 
>> (orig_end + added));
>> #endif
>> -    }
>> 
>>   return orig_end + added;
>> }
> 
> This is 88 columns!  Would you please fill it to 80?

Sure, but now I’m confused. IIRC some style changes made to treesit.c unwraps 
some lines into long lines, which is why I didn’t wrap this line. What exactly 
is our policy?

Yuan


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4