[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52785: 29.0.50; user-full-name: "Chop off everything after the first
From: |
Sam Steingold |
Subject: |
bug#52785: 29.0.50; user-full-name: "Chop off everything after the first comma" |
Date: |
Fri, 24 Dec 2021 15:04:38 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) |
> * Eli Zaretskii <ryvm@tah.bet> [2021-12-24 21:52:16 +0200]:
>
>> From: Sam Steingold <sds@gnu.org>
>> Date: Fri, 24 Dec 2021 14:35:00 -0500
>>
>> --8<---------------cut here---------------start------------->8---
>> /* Chop off everything after the first comma. */
>> q = strchr (p, ',');
>> full = make_string (p, q ? q - p : strlen (p));
>> --8<---------------cut here---------------end--------------->8---
>>
>> The result is that when full name is specified in the system as
>> "Steingold, Sam", `user-full-name' returns "Steingold".
>>
>> Are we really sure that this is still the intended behavior?
>
> Yes, I think so.
Why?
>> If yes, we might want to document it in the doc string and info.
>
> Feel free to suggest a documentation patch.
Sure, as soon as I understand the reason for this behavior (because it
has to be included in the doc!)
--
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.2022
http://childpsy.net http://calmchildstories.com http://steingoldpsychology.com
https://ij.org/ https://ffii.org https://mideasttruth.com
Daddy, why doesn't this magnet pick up this floppy disk?