Subject: bug#59779: closed (Re: bug#59779: string-equal-ignore-case's docstring is misleading)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 02 Dec 2022 17:10:02 +0000

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 [email-masked].

-- 
59779: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59779
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#59779: string-equal-ignore-case's docstring is misleading
From: Eli Zaretskii <[email-masked]>
To: Nicolas Graner <[email-masked]>
Cc: [email-masked]
Date: Fri, 02 Dec 2022 19:08:54 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

> From: Nicolas Graner <[email-masked]>
> 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.

Subject: string-equal-ignore-case's docstring is misleading
From: Nicolas Graner <[email-masked]>
To: [email-masked]
Date: Fri, 02 Dec 2022 17:57:15 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

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.

Nicolas