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

[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: Eli Zaretskii
Subject: bug#52785: 29.0.50; user-full-name: "Chop off everything after the first comma"
Date: Fri, 24 Dec 2021 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.

> If yes, we might want to document it in the doc string and info.

Feel free to suggest a documentation patch.





reply via email to

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