From unknown Mon Aug 18 11:30:26 2025 X-Loop: help-debbugs@gnu.org Subject: bug#59779: string-equal-ignore-case's docstring is misleading Resent-From: Nicolas Graner Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 02 Dec 2022 16:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59779 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 59779@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167000022628541 (code B ref -1); Fri, 02 Dec 2022 16:58:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Dec 2022 16:57:06 +0000 Received: from localhost ([127.0.0.1]:47710 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p19LV-0007QH-TB for submit@debbugs.gnu.org; Fri, 02 Dec 2022 11:57:06 -0500 Received: from lists.gnu.org ([209.51.188.17]:37852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p19LT-0007QB-Br for submit@debbugs.gnu.org; Fri, 02 Dec 2022 11:57:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p19LT-0008Jt-7I for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2022 11:57:03 -0500 Received: from smtp-out-126.di.u-psud.fr ([129.175.213.126]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p19LQ-0005ZA-5j for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2022 11:57:02 -0500 Received: from smtp-out-2.di.u-psud.fr (localhost [127.0.0.1]) by smtp-out-2.di.u-psud.fr (UPS-MTA-OUT) with ESMTP id 4NNzcm6rJCz1YBM for ; Fri, 2 Dec 2022 17:56:56 +0100 (CET) Received: from pmx2.di.u-psud.fr (pmx2.di.u-psud.fr [129.175.212.153]) by smtp-out-2.di.u-psud.fr (UPS-MTA-OUT) with ESMTP id 4NNzcm6pCGzc0nF for ; Fri, 2 Dec 2022 17:56:56 +0100 (CET) Received: from smtp-in-2.di.u-psud.fr (localhost [127.0.0.1]) by localhost (UPS-PMX) with SMTP id 4NNzcm6lndz1r0RZ for ; Fri, 2 Dec 2022 17:56:56 +0100 (CET) Received: from hypra-graner (client-172-18-66-253.clients.u-psud.fr [172.18.66.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp-in-2.di.u-psud.fr (UPS-MTA) with ESMTPS id 4NNzcm55MSz7T5 for ; Fri, 2 Dec 2022 17:56:56 +0100 (CET) Authentication-Results: smtp-in-2.di.u-psud.fr; none From: Nicolas Graner Date: Fri, 02 Dec 2022 17:57:15 +0100 Message-ID: <86k039spzo.fsf@graner.name> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4NNzcm55MSz7T5 X-Rspamd-Action: no action Received-SPF: pass client-ip=129.175.213.126; envelope-from=SRS0=PF0xmrzs=4A=graner.name=nicolas@universite-paris-saclay.fr; helo=smtp-out-126.di.u-psud.fr X-Spam_score_int: -39 X-Spam_score: -4.0 X-Spam_bar: ---- X-Spam_report: (-4.0 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) The docstring for string-equal-ignore-case reads: Like =E2=80=98string-equal=E2=80=99, but case-insensitive. However, string-equal accepts symbols and strings as arguments, while string-equal-ignore-case accepts only strings. This can be confusing to people familiar with string-equal. Either string-equal-ignore-case should be made to accept symbols as arguments, or the doc should be clarified. Nicolas From unknown Mon Aug 18 11:30:26 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Nicolas Graner Subject: bug#59779: closed (Re: bug#59779: string-equal-ignore-case's docstring is misleading) Message-ID: References: <83359xg2c9.fsf@gnu.org> <86k039spzo.fsf@graner.name> X-Gnu-PR-Message: they-closed 59779 X-Gnu-PR-Package: emacs Reply-To: 59779@debbugs.gnu.org Date: Fri, 02 Dec 2022 17:10:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1670001002-29065-1" This is a multi-part message in MIME format... ------------=_1670001002-29065-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #59779: string-equal-ignore-case's docstring is misleading which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 59779@debbugs.gnu.org. --=20 59779: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D59779 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1670001002-29065-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 59779-done) by debbugs.gnu.org; 2 Dec 2022 17:09:28 +0000 Received: from localhost ([127.0.0.1]:47773 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p19XU-0007YN-8N for submit@debbugs.gnu.org; Fri, 02 Dec 2022 12:09:28 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p19XS-0007Y5-5z for 59779-done@debbugs.gnu.org; Fri, 02 Dec 2022 12:09:27 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p19XK-0000TW-Ql; Fri, 02 Dec 2022 12:09:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=EV4ZTpjwVyR6I85evKWQ1s3QOjPc05Tp7NQ7XKTxoek=; b=PF79DprfWq2BUhmYh2UG i66mYD/JoYhc2Q8kdtTUOEGfm6Dwkb2OX8AZfhhbv01Fa4oksvc7TumhVfWiL4cpma6HPPU1LOCzn gPauJ4ldr/XLgfYG5UcwEuNas7Sa5MyCGjqQnw3hpNbYvf9RfixfCWBtWurhM3yALhLdD7oOmyhpZ nulyyOSb8FkHH3K9XwRs3L+iiQIRwqN/9bCws8wT679k5EcUlDy+wf3Y0sV1kmmsM76Js0B7sUcCu II8w2MpXCy5rjHiYbU73zwUXP9nOa++PqZ6VrrshSw2a7xjOHsRbjWNpCovfD9CKar/rp0FuuZVY2 cXBWzlqApJA8cQ==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p19XK-0005vI-9b; Fri, 02 Dec 2022 12:09:18 -0500 Date: Fri, 02 Dec 2022 19:08:54 +0200 Message-Id: <83359xg2c9.fsf@gnu.org> From: Eli Zaretskii To: Nicolas Graner In-Reply-To: <86k039spzo.fsf@graner.name> (message from Nicolas Graner on Fri, 02 Dec 2022 17:57:15 +0100) Subject: Re: bug#59779: string-equal-ignore-case's docstring is misleading References: <86k039spzo.fsf@graner.name> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 59779-done Cc: 59779-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Nicolas Graner > Date: Fri, 02 Dec 2022 17:57:15 +0100 > > The docstring for string-equal-ignore-case reads: > Like ‘string-equal’, but case-insensitive. > > However, string-equal accepts symbols and strings as arguments, while > string-equal-ignore-case accepts only strings. This can be confusing to > people familiar with string-equal. > > Either string-equal-ignore-case should be made to accept symbols as > arguments, or the doc should be clarified. I fixed the documentation, thanks. ------------=_1670001002-29065-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 2 Dec 2022 16:57:06 +0000 Received: from localhost ([127.0.0.1]:47710 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p19LV-0007QH-TB for submit@debbugs.gnu.org; Fri, 02 Dec 2022 11:57:06 -0500 Received: from lists.gnu.org ([209.51.188.17]:37852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p19LT-0007QB-Br for submit@debbugs.gnu.org; Fri, 02 Dec 2022 11:57:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p19LT-0008Jt-7I for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2022 11:57:03 -0500 Received: from smtp-out-126.di.u-psud.fr ([129.175.213.126]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p19LQ-0005ZA-5j for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2022 11:57:02 -0500 Received: from smtp-out-2.di.u-psud.fr (localhost [127.0.0.1]) by smtp-out-2.di.u-psud.fr (UPS-MTA-OUT) with ESMTP id 4NNzcm6rJCz1YBM for ; Fri, 2 Dec 2022 17:56:56 +0100 (CET) Received: from pmx2.di.u-psud.fr (pmx2.di.u-psud.fr [129.175.212.153]) by smtp-out-2.di.u-psud.fr (UPS-MTA-OUT) with ESMTP id 4NNzcm6pCGzc0nF for ; Fri, 2 Dec 2022 17:56:56 +0100 (CET) Received: from smtp-in-2.di.u-psud.fr (localhost [127.0.0.1]) by localhost (UPS-PMX) with SMTP id 4NNzcm6lndz1r0RZ for ; Fri, 2 Dec 2022 17:56:56 +0100 (CET) Received: from hypra-graner (client-172-18-66-253.clients.u-psud.fr [172.18.66.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp-in-2.di.u-psud.fr (UPS-MTA) with ESMTPS id 4NNzcm55MSz7T5 for ; Fri, 2 Dec 2022 17:56:56 +0100 (CET) Authentication-Results: smtp-in-2.di.u-psud.fr; none From: Nicolas Graner To: bug-gnu-emacs@gnu.org Subject: string-equal-ignore-case's docstring is misleading Date: Fri, 02 Dec 2022 17:57:15 +0100 Message-ID: <86k039spzo.fsf@graner.name> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4NNzcm55MSz7T5 X-Rspamd-Action: no action Received-SPF: pass client-ip=129.175.213.126; envelope-from=SRS0=PF0xmrzs=4A=graner.name=nicolas@universite-paris-saclay.fr; helo=smtp-out-126.di.u-psud.fr X-Spam_score_int: -39 X-Spam_score: -4.0 X-Spam_bar: ---- X-Spam_report: (-4.0 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) The docstring for string-equal-ignore-case reads: Like =E2=80=98string-equal=E2=80=99, but case-insensitive. However, string-equal accepts symbols and strings as arguments, while string-equal-ignore-case accepts only strings. This can be confusing to people familiar with string-equal. Either string-equal-ignore-case should be made to accept symbols as arguments, or the doc should be clarified. Nicolas ------------=_1670001002-29065-1--