Re: [PATCH] docs: Extend and refactor index of further kernel docs

Randy Dunlap
2024-06-12T23:10:37Z

On 6/12/24 4:07 PM, Randy Dunlap wrote:
>
>
> On 6/12/24 3:17 PM, Randy Dunlap wrote:
>>
>>
>> On 6/1/24 8:03 AM, Carlos Bilbao wrote:
>>> Extend the Index of Further Kernel Documentation by adding entries for the
>>> Rust for Linux website, the Linux Foundation's YouTube channel, and notes
>>> on the second edition of Billimoria's kernel programming book. Also,
>>> perform some refactoring: format the text to 75 characters per line and
>>> sort per-section content in chronological order of publication.
>>>
>>> Signed-off-by: Carlos Bilbao <carlos.bilbao.osdev@gmail.com>
>>> ---
>>>  Documentation/process/kernel-docs.rst | 68 +++++++++++++++++----------
>>>  1 file changed, 44 insertions(+), 24 deletions(-)
>>>
>>> diff --git a/Documentation/process/kernel-docs.rst
>>> b/Documentation/process/kernel-docs.rst
>>
>> The 2 lines above should be on one line, but fixing that doesn't fix everything.
>> 'patch' still says that it's a malformed patch.
>>
>> Carlos, please check Documentation/process/email-clients.rst section on
>> Thunderbird, especially for line length and line wrap.
>>
>> I'm still looking...
>
> I don't know what is causing it, but there are a bunch of non-ASCII characters
> in the patch file. Specifically 0xc2 at the beginning of many lines. E.g., when
> I copy/paste only the "Index of Further" & ===== lines into a small text file:
>
>> hd docs-chars.txt
> 000000 c2 a0 49 6e 64 65 78 20 6f 66 20 46 75 72 74 68 >..Index of Furth<
> 000010 65 72 20 4b 65 72 6e 65 6c 20 44 6f 63 75 6d 65 >er Kernel Docume<
> 000020 6e 74 61 74 69 6f 6e 0a c2 a0 3d 3d 3d 3d 3d 3d >ntation...======<
> 000030 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d >================<
> 000040 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0a >===============.<
>

Ah, C2 A0 is a non-break space. My guess is that Thunderbird
is doing something here.

>
>>
>>> index 8660493b91d0..6f3e290abd22 100644
>>> --- a/Documentation/process/kernel-docs.rst
>>> +++ b/Documentation/process/kernel-docs.rst
>>> @@ -3,27 +3,27 @@
>>>  Index of Further Kernel Documentation
>>>  =====================================
>>
>>
>

--
~Randy