From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#39484: 26.3; try-completion bug Date: Wed, 28 Oct 2020 10:35:05 +0100 Message-ID: <87tuuevgl2.fsf@gnus.org> References: <874kmf1peq.fsf@gnus.org> <87361zbi5x.fsf@igel.home> <87h7qfzdf8.fsf@gnus.org> <87y2jr9zwt.fsf@igel.home> <8fed8748-8331-5ca7-6c91-108c27945bb2@gmail.com> <87tuuf9xgp.fsf@igel.home> <87ft5y3i17.fsf@igel.home> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39010"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Wanrong Lin , Stefan Monnier , 39484@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 28 10:36:17 2020 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 1kXhsP-000A2A-6I for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Oct 2020 10:36:17 +0100 Original-Received: from localhost ([::1]:40724 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXhsO-0008Pq-8o for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Oct 2020 05:36:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53360) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kXhsA-0008O8-CR for bug-gnu-emacs@gnu.org; Wed, 28 Oct 2020 05:36:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35640) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kXhsA-0005A7-2s for bug-gnu-emacs@gnu.org; Wed, 28 Oct 2020 05:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kXhsA-0001Tg-07 for bug-gnu-emacs@gnu.org; Wed, 28 Oct 2020 05:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Oct 2020 09:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39484 X-GNU-PR-Package: emacs Original-Received: via spool by 39484-submit@debbugs.gnu.org id=B39484.16038777195630 (code B ref 39484); Wed, 28 Oct 2020 09:36:01 +0000 Original-Received: (at 39484) by debbugs.gnu.org; 28 Oct 2020 09:35:19 +0000 Original-Received: from localhost ([127.0.0.1]:47186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXhrT-0001Sk-4P for submit@debbugs.gnu.org; Wed, 28 Oct 2020 05:35:19 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:39496) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXhrQ-0001SV-Pf for 39484@debbugs.gnu.org; Wed, 28 Oct 2020 05:35:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=3BJQOgINgpjPAG5HRTD3dFLrZKyw1aJkgfDGSUuxb0k=; b=amYyxytYZG3yOaDlLN3/COmsu2 8LbvboKPODZjkbrprZdodYoajSrO66DwfBSIAJxMVHzA7fOSmvXMngEy6xd9zmzw1iilrk2K8nbAg 5J7jssC6yclHgmNT3qy6yWV/qCE8j936iAMUd0SMKfd3TwDK/5WjR+1NNH554M1IdetI=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kXhrG-0006Jy-K7; Wed, 28 Oct 2020 10:35:09 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEXT0caPWlY4Mir/ //9kTWJkAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+QKHAkHFEs0eocAAAGkSURBVCjPVdLBjtowEAbg sVUilVO3otHCfQ/kKcKhHHIKVSba+LSHBRU/BSAt0va0IIi0ObGVE+H/KTsGVLU+JP408cS/E6Lb UIAP96dwGf2L5IYvfyuDG6KAnzdcGmDNzGlvzmgmhA2MI7JoKiXoG2XdV2zuBXtTSNvcvhSK/BSM ZTdknytKNfgTUaHa9ILiWTMPjoKBxsyVZZWXpOi7rg3asuKp4NRtIciKTFAkGXAsp0+xwBgA62X2 thfIFF4tss1v/U6hcK++ZdFH31OvDz+k+LXX0DCkcqM8PozOpCWVPfi8fyhdAC92j7NsVbt4RtHu GY958qM+htirB+MHdsvGL2hFw0nZtEMueELryYtyy/mSWcLhzWtvAS5URTjNowWatuIlCB9pjFr2 1HrQeXYcQc4WRyuVXCX4bOGZjbyHEh9bzJkbQkrReYQz0ZgJRNpZnCh9uKIDnMauJPl2etuE8Dt7 AW7jf8iaGLDmCnWqW2APEx7THrWv3bgJiBpYX6J/xS+P9g5rWUhoEPnOYWXDgRiYtmu799CgGpeJ /BYsu+Y/5JjZYM8ec9AAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjAtMTAtMjhUMDk6MDc6MjArMDA6 MDDpuETQAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIwLTEwLTI4VDA5OjA3OjIwKzAwOjAwmOX8bAAA AABJRU5ErkJggg== X-Now-Playing: He Said's _Take Care_: "Halfway House" In-Reply-To: <87ft5y3i17.fsf@igel.home> (Andreas Schwab's message of "Wed, 28 Oct 2020 08:51:16 +0100") 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:191831 Archived-At: Andreas Schwab writes: > On Okt 27 2020, Wanrong Lin wrote: > >> The answer is not bad, matching at least one of the candidates. That mak= es >> the answer to my original example even more odd: >> (let ((completion-ignore-case t)) >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (try-completion "xyz" '("XyzD" "Xyz= Abc")) >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ) >> =3D=3D> "xyz" > > That also matches one of the candidates (since case doesn't matter). It does, but it's weird. I mean, this pair of return values don't make sense on any level: (let ((completion-ignore-case t)) (try-completion "xyz" '("XyzaD" "XyZabc"))) =3D> "Xyza" (let ((completion-ignore-case t)) (try-completion "xyz" '("XyZbD" "XyZabc"))) =3D> "xyz"=20=20 --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no