From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.bugs 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 Message-ID: References: <8335mhsrv3.fsf@gnu.org> Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23512"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) Cc: 52785@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 24 21:05:36 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n0qop-0005ud-VV for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 Dec 2021 21:05:35 +0100 Original-Received: from localhost ([::1]:46316 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n0qoo-0000bI-7G for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 Dec 2021 15:05:34 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46496) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n0qoI-0000bA-J7 for bug-gnu-emacs@gnu.org; Fri, 24 Dec 2021 15:05:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54803) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n0qoI-0007pH-93 for bug-gnu-emacs@gnu.org; Fri, 24 Dec 2021 15:05:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n0qoI-0000CC-2M for bug-gnu-emacs@gnu.org; Fri, 24 Dec 2021 15:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Sam Steingold Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Dec 2021 20:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52785 X-GNU-PR-Package: emacs Original-Received: via spool by 52785-submit@debbugs.gnu.org id=B52785.1640376296736 (code B ref 52785); Fri, 24 Dec 2021 20:05:02 +0000 Original-Received: (at 52785) by debbugs.gnu.org; 24 Dec 2021 20:04:56 +0000 Original-Received: from localhost ([127.0.0.1]:38116 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0qo5-0000Bg-0y for submit@debbugs.gnu.org; Fri, 24 Dec 2021 15:04:56 -0500 Original-Received: from mail-qt1-f176.google.com ([209.85.160.176]:37610) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n0qo1-0000BN-8v for 52785@debbugs.gnu.org; Fri, 24 Dec 2021 15:04:47 -0500 Original-Received: by mail-qt1-f176.google.com with SMTP id f9so8366876qtk.4 for <52785@debbugs.gnu.org>; Fri, 24 Dec 2021 12:04:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:in-reply-to:references:user-agent :return-receipt-to:reply-to:date:message-id:mime-version; bh=7HyKGPNIlUhDtppEQ6w5iJI+fKYNY+J8cDrnEnZPMMo=; b=IRC2R8767MNdacDtk8wFVKfVKZwbHmDvpfHzr9PivFiST0irAUF0qm/ZVkWuCIxZgv Fn4aj1TNCQ2D4PsWDFF9U/CbSGHexMDC9zjtiw/xExC7RoCYIk8Wh/ycwTbSQmIKVB3b wR6DjpNVDRhrvJMN4KjBK8rCxQNwkexhYDtFH87iFWMejr2avADGZHoBd0JudPgWJGbs WpwUveQGmBMdsJjhxxcwbMhQ/9QykGGXushkmu8qlFMi/V0pVix1V1sdNrH4qEramw2v 35q1J1ncnunKae2Vt31R3i3od+grWXFeuAmCMKSEOfq5zUttU1rvjBaee7RW+fs4Vxha YukA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:in-reply-to:references :user-agent:return-receipt-to:reply-to:date:message-id:mime-version; bh=7HyKGPNIlUhDtppEQ6w5iJI+fKYNY+J8cDrnEnZPMMo=; b=AQd5f5kCAWI4+S4yu0y/CeH+i+Aly93nW1fkTue95wwxnRD30guz7kqyVPXpY8nYSY fLpFSDQT+XL+C5jV8tncJuy6fzCykPeE1J0LVqxo4qHGKx8g6TEvOWh6Al4ULIT8kw4P lgJGNg8NjGEmHANDrsBj5UKRNqvpIOS2eDAAlBBo84znqEu/dVh2aVxHdqRG68bwiRkR ++qyKoj01F3zKbQ0vpqzFCzYumtzWhpv/6BomfuS1Z8XoLQJ3kh8qpmdBVd/Aos1IhB6 Lq+lQem+DIBAYmF7vybcPSMoXdIIWaurGySLbKIRNBIckrng2d5PDyWhtSN150w6OnwT BJ2w== X-Gm-Message-State: AOAM5304vs7YWUYMA++AGyStpZgXTpepYraOVXWmbXSL6uN8Ejdg4azx JUvF9GijXBHfJlTHTX5Agw== X-Google-Smtp-Source: ABdhPJycuGaDRWzEeXdS0hJLBT0Gy89xbHZTrmsPQ8ZoG/h39SCCKfEMlfKe4TpIqIkm5YzaFIDE4Q== X-Received: by 2002:ac8:59d1:: with SMTP id f17mr6926368qtf.430.1640376279527; Fri, 24 Dec 2021 12:04:39 -0800 (PST) Original-Received: from 3c22fb11fdab.ant.amazon.com (pool-108-30-23-113.nycmny.fios.verizon.net. [108.30.23.113]) by smtp.gmail.com with ESMTPSA id q196sm4206015qke.18.2021.12.24.12.04.38 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 24 Dec 2021 12:04:39 -0800 (PST) In-Reply-To: <8335mhsrv3.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 24 Dec 2021 21:52:16 +0200") X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:223067 Archived-At: > * Eli Zaretskii [2021-12-24 21:52:16 +0200]: > >> From: Sam Steingold >> 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?