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.devel Subject: Re: case-insensitive string comparison Date: Tue, 26 Jul 2022 12:00:07 -0400 Message-ID: References: <87ilnsq4cr.fsf@gnu.org> <83o7xddw10.fsf@gnu.org> <83lesgc9ch.fsf@gnu.org> <83bktbdg5z.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17744"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jul 26 18:09:05 2022 Return-path: Envelope-to: ged-emacs-devel@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 1oGN7J-0004Q7-6U for ged-emacs-devel@m.gmane-mx.org; Tue, 26 Jul 2022 18:09:05 +0200 Original-Received: from localhost ([::1]:39442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oGN7H-0007xq-Cc for ged-emacs-devel@m.gmane-mx.org; Tue, 26 Jul 2022 12:09:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60658) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oGMys-0002eJ-3T for emacs-devel@gnu.org; Tue, 26 Jul 2022 12:00:22 -0400 Original-Received: from mail-oa1-f44.google.com ([209.85.160.44]:37424) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oGMyq-0004UN-CL; Tue, 26 Jul 2022 12:00:21 -0400 Original-Received: by mail-oa1-f44.google.com with SMTP id 586e51a60fabf-10e4449327aso1200434fac.4; Tue, 26 Jul 2022 09:00:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fsBdIbhi+u1MgtlW8Wr/ZDxnzK2RYnm561BeXfzCUl4=; b=rW/h8Sgu+LQyUQXB9GwTeTlYaRhzJ+1zWMwaG/9antXQ6wv+MBhhSFKmcFBnqSqZJT NlPuMmHe90xEpi9u+Ofpi9f2tSTsz7gLOpSi9KL2wINv2L4IJtkYJ+Fc0aLpToQQCDJ9 8TqHC9RJ3nX1oVf7hXtvmDd6juQ4PDB0iSCFQS+YrqoZOIV33HJp/ZrGi52CvAEYBbG/ 2qddgnU601kXR/erT1bcJG84RhkwePStt1BsLs69dArZ7y3ygrDXy2pAxgB78TpF1+0F ur5v9OOuz1M5J9IGXooHDZOo2vNV+NEV1KDm84wBTmGc7cxGLGHQHknmEobICWB4NQfp D4Uw== X-Gm-Message-State: AJIora9LUXLCj+16i68zzAwRwSRsh1V+GOQUevJOV0vmctEXvaoJ5YdE i+BC4wV7HoY0BDebJQTkZUxJGsdC9KjwC2zQv3H9TVGWRQ== X-Google-Smtp-Source: AGRyM1tyAR6wfGd/biS3g6j7f01l+ZsXIkXZaxD0DcFPBKeiO1AUs7WDgUniQVnkskLMtPMD65pyRhD+xF3cZnUuDMQ= X-Received: by 2002:a05:6870:a410:b0:10d:cd0f:572b with SMTP id m16-20020a056870a41000b0010dcd0f572bmr8716870oal.20.1658851218642; Tue, 26 Jul 2022 09:00:18 -0700 (PDT) In-Reply-To: <83bktbdg5z.fsf@gnu.org> Received-SPF: pass client-ip=209.85.160.44; envelope-from=sam.steingold@gmail.com; helo=mail-oa1-f44.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:292705 Archived-At: On Tue, 26 Jul 2022 at 11:53, Eli Zaretskii wrote: > > > From: Sam Steingold > > > > I think the need is sufficiently generic, e.g., BBDB provides such a > > wrapper, as, I am sure, do many other packages. > > Many core files can be simplified by using `string-equal-ignore-case' > > (just like with the `string-prefix-p'). > > I'm not convinced, but I won't mount the barricades if Lars and/or > others think we need this. Even though we already have completion--string-equal-p and bibtex-string= in core? (and also gnus-string-equal which is _almost_ identical) -- Sam Steingold