GNU bug report logs - #67884
30.0.50; fido-mode errors when case-fold-search is nil

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: parlando@HIDDEN; dated Mon, 18 Dec 2023 20:11:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 67884 <at> debbugs.gnu.org:


Received: (at 67884) by debbugs.gnu.org; 19 Dec 2023 19:18:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 19 14:18:18 2023
Received: from localhost ([127.0.0.1]:37456 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rFfbe-0000jo-56
	for submit <at> debbugs.gnu.org; Tue, 19 Dec 2023 14:18:18 -0500
Received: from smtp03.prod.qlmail.ch ([89.236.174.43]:42558)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <parlando@HIDDEN>) id 1rFfbW-0000jI-4k
 for 67884 <at> debbugs.gnu.org; Tue, 19 Dec 2023 14:18:16 -0500
Received: from [10.47.11.170] (213-193-119-218.static.cablecom.ch
 [213.193.119.218]) (Authenticated sender: parlando@HIDDEN)
 by smtp03.prod.qlmail.ch (Postfix) with ESMTPSA id 15759A0FA0;
 Tue, 19 Dec 2023 20:18:00 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intergga.ch;
 s=quickline2020; t=1703013480;
 bh=CUo3ToUVAS54ZWQNsaZ41smSWWMvisTeY2V2tkm5W6Y=;
 h=Date:Subject:To:Cc:References:From:In-Reply-To;
 b=BG0Xw2DDY3TC+zs18DxUu13rzhO+MGIe9RcI3g0Jc4nhIZsNmCE7NpU4ftWoiHmRJ
 exLpEy6aDX8Nfp5rqZ25mDCkxX7TcvzwSYMpl2bXwb81p/3xS/Qy6rFECi4N0rgOyl
 a21K6hQbTSe43zpkaL29F4uH3BAN+PKAAHMSzMeKGrFUPM2QFCkph/mjfEGrsIpafJ
 LfyPxN4YH5DXF0wtmLrvyYieKHwgywq+y88dRE3K1vHBeO1TvC7Ds0Yx59urbTEE7Q
 mMMkb8uu09VAk4kU1sN9M4AKK9CwmiNUcyyTtGd2eb5s3GWdpVBIpfdlAVjbyYnF71
 VjlUmgkA5GPqg==
Content-Type: multipart/alternative;
 boundary="------------mrSYXMUTVBPlB96VJgd5ZWgE"
Message-ID: <da461da2-0220-45a6-a5cd-3ba2b5d38be0@HIDDEN>
Date: Tue, 19 Dec 2023 20:17:59 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#67884: 30.0.50; fido-mode errors when case-fold-search is nil
To: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN>
References: <b588e504-fcf6-4ed4-8cce-a8ed1e1ea3bb@HIDDEN>
 <CALDnm511S7gP5HeoVJn5h_N8c7oqnX6VEW9o3WJescrHNxGkUg@HIDDEN>
 <CALDnm52PTVmTrKii0VwVvpKjjZXL2XLx5_MDDSN5bMhCXPoKbA@HIDDEN>
Content-Language: en-US
From: parlando@HIDDEN
In-Reply-To: <CALDnm52PTVmTrKii0VwVvpKjjZXL2XLx5_MDDSN5bMhCXPoKbA@HIDDEN>
X-Virus-Scanned: clamav-milter 0.103.7 at smtp03
X-Virus-Status: Clean
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 67884
Cc: 67884 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

This is a multi-part message in MIME format.
--------------mrSYXMUTVBPlB96VJgd5ZWgE
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit

On 12/19/2023 11:14 AM, João Távora wrote:
> close 67884
> thanks
>
> On Tue, Dec 19, 2023 at 9:50 AM João Távora<joaotavora@HIDDEN>  wrote:
>
>> Thanks.  Reproduced.  I think the error specifically was due to
>> recent changes in Emacs master.
> I fixed the recently introduced error in Emacs master (c0c79b0b4).
>
>> In Emacs 29, fido-mode doesn't
>> error, but doesn't respect case-fold-search either.
> I may have mislead you to think there was also a problem in Emacs 29,
> but there isn't.  Completion styles obey completion-ignore-case,
> not case-fold-search directly.
>
> Furthermore, while the flex completion style does obey it, fido-mode
> (which is a "Fake Ido" extension) always sets completion-ignore-case
> to t by default.  There are ways to get around it, admittedly
> not very practical, but not terrible either.
>
>    (defun joaot/minibuffer-setup-hook ()
>      (setq-local completion-ignore-case nil))
>    (add-hook 'minibuffer-setup-hook #'joaot/minibuffer-setup-hook t)
>
> João


Nice. Anyway, for me ignore case in minibuffer is the most suitable 
method, and maybe for most people too.

--------------mrSYXMUTVBPlB96VJgd5ZWgE
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    On 12/19/2023 11:14 AM, João Távora wrote:<br>
    <blockquote type="cite"
cite="mid:CALDnm52PTVmTrKii0VwVvpKjjZXL2XLx5_MDDSN5bMhCXPoKbA@HIDDEN">
      <pre class="moz-quote-pre" wrap="">close 67884
thanks

On Tue, Dec 19, 2023 at 9:50 AM João Távora <a class="moz-txt-link-rfc2396E" href="mailto:joaotavora@HIDDEN">&lt;joaotavora@HIDDEN&gt;</a> wrote:

</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">Thanks.  Reproduced.  I think the error specifically was due to
recent changes in Emacs master.
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
I fixed the recently introduced error in Emacs master (c0c79b0b4).

</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">In Emacs 29, fido-mode doesn't
error, but doesn't respect case-fold-search either.
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">
I may have mislead you to think there was also a problem in Emacs 29,
but there isn't.  Completion styles obey completion-ignore-case,
not case-fold-search directly.

Furthermore, while the flex completion style does obey it, fido-mode
(which is a "Fake Ido" extension) always sets completion-ignore-case
to t by default.  There are ways to get around it, admittedly
not very practical, but not terrible either.

  (defun joaot/minibuffer-setup-hook ()
    (setq-local completion-ignore-case nil))
  (add-hook 'minibuffer-setup-hook #'joaot/minibuffer-setup-hook t)

João</pre>
    </blockquote>
    <p><br>
    </p>
    <p><span style="white-space: pre-wrap">Nice. Anyway, for me ignore case in minibuffer is the most suitable method, and maybe for most people too.</span></p>
    <p><span style="white-space: pre-wrap">
</span></p>
  </body>
</html>

--------------mrSYXMUTVBPlB96VJgd5ZWgE--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#67884; Package emacs. Full text available.

Message received at 67884 <at> debbugs.gnu.org:


Received: (at 67884) by debbugs.gnu.org; 19 Dec 2023 10:15:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 19 05:15:15 2023
Received: from localhost ([127.0.0.1]:34460 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rFX86-0002wA-PG
	for submit <at> debbugs.gnu.org; Tue, 19 Dec 2023 05:15:15 -0500
Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]:43391)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <joaotavora@HIDDEN>) id 1rFX84-0002b0-OY
 for 67884 <at> debbugs.gnu.org; Tue, 19 Dec 2023 05:15:13 -0500
Received: by mail-lf1-x131.google.com with SMTP id
 2adb3069b0e04-50c04ebe1bbso5300167e87.1
 for <67884 <at> debbugs.gnu.org>; Tue, 19 Dec 2023 02:15:10 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1702980904; x=1703585704; darn=debbugs.gnu.org;
 h=content-transfer-encoding:cc:to:subject:message-id:date:from
 :in-reply-to:references:mime-version:from:to:cc:subject:date
 :message-id:reply-to;
 bh=iX9ffVwx+x3uckWvSwdhL5h+Y1SEOdm/xBZe/7Qp3e4=;
 b=f/PjIpSXyux5c7eJBw3hkedQsXYnvi8tEnwUp6rH7pDQeEMRnqYhs7PVrmlkeOL9XM
 cXJpPC8cHgVqeCIyTsiB5tPllPKFEffmk6NKJGI6t7exmX/u8TInuMuxARoW3zMPCOCl
 5vtVrztGmhB6m7Nj2aR8MAOfzDqss9xS+bA09/2YWCz2H/K0xGCLgF5h8B9EoLbh2tU1
 RFLn+lDrb8PUGYfCQNoyI2LGEegI+dOv5C97f/lz796pPkDLnxy3zRrSRLcTdeOwQJK7
 whmz/IBjVpooMpNlWuYoFXOvFdiy1QwUWfHh7JDd2M4SL372Z1Tpgs4AiQnlGJYJGCzG
 IFhg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1702980904; x=1703585704;
 h=content-transfer-encoding:cc:to:subject:message-id:date:from
 :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=iX9ffVwx+x3uckWvSwdhL5h+Y1SEOdm/xBZe/7Qp3e4=;
 b=lQVwNiBqPvqjAa3YGxfsKMRUj5GDvC0rNCx/PvouQgLZ8BJGBUME9BFdTzinXof0Tr
 7LTgZOz0i00BRUW7m682eZUILDg1dlPAvV2C7rwqSLhG8zodpZss2tsTJn6BlUMj1Nqx
 4hWfQelheu7GclCX2avpxroYCTZKWI3OI++uKhzAnxWC8rcmJA1VGddelpDLT9SlLXvS
 4vn6Le2Dt/jnfdkBWA39MRoCR7z6EOWviH0/KfRcovUfMmQUbHBMN+2uTqhsrpnF6TVr
 67Jm74nJGnCICjUA9aVd5XU/CAmqzSm25EmQxsd3SMpX1ClklU79u3wLBHZd7oMd3GOJ
 93WA==
X-Gm-Message-State: AOJu0Yxh7haU6+Qhm+g/5PU7ILdqBpQSEdSIN5AaJhDbnsodSShh/agC
 cj96qfjradE991SKPV6+SX0FOGbgmOnrMTuhJ8dshDDntF4=
X-Google-Smtp-Source: AGHT+IHy7xQ9pM7RgB+Z84rqpC5m9xHxCg+uYzqnL1MdbKkn16gD7OXgbw13YF7p1wthPlXHjUZL+BUFvTTed1TL5pw=
X-Received: by 2002:ac2:55ae:0:b0:50e:2ade:af45 with SMTP id
 y14-20020ac255ae000000b0050e2adeaf45mr404856lfg.29.1702980904036; Tue, 19 Dec
 2023 02:15:04 -0800 (PST)
MIME-Version: 1.0
References: <b588e504-fcf6-4ed4-8cce-a8ed1e1ea3bb@HIDDEN>
 <CALDnm511S7gP5HeoVJn5h_N8c7oqnX6VEW9o3WJescrHNxGkUg@HIDDEN>
In-Reply-To: <CALDnm511S7gP5HeoVJn5h_N8c7oqnX6VEW9o3WJescrHNxGkUg@HIDDEN>
From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN>
Date: Tue, 19 Dec 2023 10:14:52 +0000
Message-ID: <CALDnm52PTVmTrKii0VwVvpKjjZXL2XLx5_MDDSN5bMhCXPoKbA@HIDDEN>
Subject: Re: bug#67884: 30.0.50; fido-mode errors when case-fold-search is nil
To: parlando@HIDDEN
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 67884
Cc: 67884 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

close 67884
thanks

On Tue, Dec 19, 2023 at 9:50=E2=80=AFAM Jo=C3=A3o T=C3=A1vora <joaotavora@g=
mail.com> wrote:

> Thanks.  Reproduced.  I think the error specifically was due to
> recent changes in Emacs master.

I fixed the recently introduced error in Emacs master (c0c79b0b4).

> In Emacs 29, fido-mode doesn't
> error, but doesn't respect case-fold-search either.

I may have mislead you to think there was also a problem in Emacs 29,
but there isn't.  Completion styles obey completion-ignore-case,
not case-fold-search directly.

Furthermore, while the flex completion style does obey it, fido-mode
(which is a "Fake Ido" extension) always sets completion-ignore-case
to t by default.  There are ways to get around it, admittedly
not very practical, but not terrible either.

  (defun joaot/minibuffer-setup-hook ()
    (setq-local completion-ignore-case nil))
  (add-hook 'minibuffer-setup-hook #'joaot/minibuffer-setup-hook t)

Jo=C3=A3o




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#67884; Package emacs. Full text available.

Message received at 67884 <at> debbugs.gnu.org:


Received: (at 67884) by debbugs.gnu.org; 19 Dec 2023 09:50:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 19 04:50:26 2023
Received: from localhost ([127.0.0.1]:34416 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rFWk5-0006ow-Vi
	for submit <at> debbugs.gnu.org; Tue, 19 Dec 2023 04:50:26 -0500
Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]:45547)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <joaotavora@HIDDEN>) id 1rFWk4-0006oP-1Q
 for 67884 <at> debbugs.gnu.org; Tue, 19 Dec 2023 04:50:24 -0500
Received: by mail-lf1-x12d.google.com with SMTP id
 2adb3069b0e04-50c0f13ea11so5196929e87.3
 for <67884 <at> debbugs.gnu.org>; Tue, 19 Dec 2023 01:50:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1702979415; x=1703584215; darn=debbugs.gnu.org;
 h=content-transfer-encoding:cc:to:subject:message-id:date:from
 :in-reply-to:references:mime-version:from:to:cc:subject:date
 :message-id:reply-to;
 bh=yDjfdhfd8SCSsx5D0J8TJmacrPwztjjc7QlfKdJuRfw=;
 b=Hj1QiaMnuWU+fiXumWE9F8s3TRiyicHpYm91gWojq94P8RljYGV9ven0bTQQ2KEp52
 4CIFkefJy2mFQaz0gXm8ZKGFGO/W55wX+YvrMfhuTfWmFN7NAR3Mu6Ahd6DP2Fy5fUMx
 Txlgwjwl4dKQTVU4C2kNeiIZ16RHjWwUhdzRWFQdRrl6oClqzvdzUc2GEAH/liyS5s82
 UmZ4bieq+kLPXBaO3ZZBl3/yqY3183pm1Xb7BQMFpbXi2dVEMdiWF/at9tz6T/+8qEV2
 R1Q0Ho7bSLnBU7dubxNwHCtSnMdyg+Rmp64ysQ9KRAsv98Hkn7AjshGcKWLvo6HGG+Ba
 FRfw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1702979415; x=1703584215;
 h=content-transfer-encoding:cc:to:subject:message-id:date:from
 :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=yDjfdhfd8SCSsx5D0J8TJmacrPwztjjc7QlfKdJuRfw=;
 b=Z2BdsN4xxkyhmxQrZSOeNHB8ZFwRvaAG5FEie6uDOv10RIFOiz804Xoeiequn6anru
 mZYhUcQ4qNvzhG9d0LyFeMtOlMAfRQw0USgkw3ZpadWFQJNlqs27+bAkxEwYanmjGeav
 IuU3T643xk00ha8MoEeUHASrOMlV2qhnZ95SI0N1emcyNVD2ZKxv9l5DOng5oB8yvuoR
 RsfXqAW8DqWemNGkPY6SW7C81TlJto/p74sI6XJ2rFNZ3MMVUbpqBsAhDaY81ZvgZqhy
 0p9cK8OVD+Zcsf3l/+n5DUVfk+zwIGdq6JOf/ZUfh1nPYCIiaVNAceZIUMHlSsRI/PvY
 p4Xg==
X-Gm-Message-State: AOJu0Ywe7N4Mk/YxE6qtUgPsdvfIFmmR1HbhiwEq4X2DpqdCTp5BVQAD
 XWNbuFwkqputJSNKJPcN0zNF09j5y58wmsSxVbM=
X-Google-Smtp-Source: AGHT+IGCw4H9UssyxkyPAD27sq0wbswrSOCi5VmboDLX4KtsL0f5wjPS4Ri+lcQBHFflAvLJly4nY8V0T01MfnGVkio=
X-Received: by 2002:a05:6512:220a:b0:50d:fb23:840d with SMTP id
 h10-20020a056512220a00b0050dfb23840dmr7703441lfu.139.1702979415172; Tue, 19
 Dec 2023 01:50:15 -0800 (PST)
MIME-Version: 1.0
References: <b588e504-fcf6-4ed4-8cce-a8ed1e1ea3bb@HIDDEN>
In-Reply-To: <b588e504-fcf6-4ed4-8cce-a8ed1e1ea3bb@HIDDEN>
From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= <joaotavora@HIDDEN>
Date: Tue, 19 Dec 2023 09:50:03 +0000
Message-ID: <CALDnm511S7gP5HeoVJn5h_N8c7oqnX6VEW9o3WJescrHNxGkUg@HIDDEN>
Subject: Re: bug#67884: 30.0.50; fido-mode errors when case-fold-search is nil
To: parlando@HIDDEN
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 67884
Cc: 67884 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

tags 67884 confirm
thanks

On Mon, Dec 18, 2023 at 8:11=E2=80=AFPM parlando--- via Bug reports for GNU
Emacs, the Swiss army knife of text editors <bug-gnu-emacs@HIDDEN>
wrote:
>
> Hi,
>
> If global case-fold-search is nil, fido-mode throws errors when typing
> upper case letters or on candidates with upper case letters.
>
> Reproduce with: emacs -Q, then:
>
> (fido-mode 1)
> (toggle-case-fold-search)
>
> ;; then execute:
> ;; M-x <T or t or another pattern>
>
> Which produces messages like:
>  > Error in post-command-hook (icomplete-post-command-hook): (error
> "Internal error: \\`\\(.*?\\)T does not match cpp-parse-edit")
>  > Error in post-command-hook (icomplete-post-command-hook): (error
> "Internal error: \\`\\(.*?\\)t does not match LaTeX-mode")

Thanks.  Reproduced.  I think the error specifically was due to
recent changes in Emacs master.  In Emacs 29, fido-mode doesn't
error, but doesn't respect case-fold-search either.

Jo=C3=A3o




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#67884; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 18 Dec 2023 20:10:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 18 15:10:52 2023
Received: from localhost ([127.0.0.1]:33683 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rFJwy-0002Pp-3o
	for submit <at> debbugs.gnu.org; Mon, 18 Dec 2023 15:10:52 -0500
Received: from lists.gnu.org ([2001:470:142::17]:43616)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <parlando@HIDDEN>) id 1rFJwv-0002PS-7F
 for submit <at> debbugs.gnu.org; Mon, 18 Dec 2023 15:10:50 -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 <parlando@HIDDEN>)
 id 1rFJwi-0007f4-EN
 for bug-gnu-emacs@HIDDEN; Mon, 18 Dec 2023 15:10:39 -0500
Received: from smtp03.prod.qlmail.ch ([89.236.174.43])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <parlando@HIDDEN>)
 id 1rFJwe-0005DD-J4
 for bug-gnu-emacs@HIDDEN; Mon, 18 Dec 2023 15:10:35 -0500
Received: from [10.228.13.128] (95-145-16-94.dyn.cable.fcom.ch [94.16.145.95])
 (Authenticated sender: parlando@HIDDEN)
 by smtp03.prod.qlmail.ch (Postfix) with ESMTPSA id 102E9A0F25
 for <bug-gnu-emacs@HIDDEN>; Mon, 18 Dec 2023 21:10:25 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=intergga.ch;
 s=quickline2020; t=1702930226;
 bh=a7KlOz6YwUc8nRobIHlD8N6VNsZdxMyXpIu65ZhyeIQ=;
 h=Date:From:To:Subject;
 b=AUxKPq74i9UueKB+sg29vVnsO3XU0vZGwlYiM402ecPWe5j95P0gaGDDefTE/S4o7
 1L1JuN2rFgB1oLGbirU9at/W/5NhzYd68Z7ILXlIDF66DLjbINOKjmCsumrdKXTKYO
 rZMPtRd00e4ZmiiLyIuMIBP9mkhSAZOk7k1wl7wZ7Vga6k1edcX2tDrl8fRKp7Koz7
 hQJ3+T9VVHuTg7bhFmLJq52TyFLtTZzqUAS/Uvs2PBN1hH9me1OZyjs5/99qOQHSBu
 o5+epxA/rNchVjGHLuJDCqkQlqEn/kOq9DBq5p1gR9OJvdIjOM2JXpr5QwzybAJAwy
 yG9oVGEYbyPUQ==
Message-ID: <b588e504-fcf6-4ed4-8cce-a8ed1e1ea3bb@HIDDEN>
Date: Mon, 18 Dec 2023 21:10:24 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US
From: parlando@HIDDEN
To: bug-gnu-emacs@HIDDEN
Subject: 30.0.50; fido-mode errors when case-fold-search is nil
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Virus-Scanned: clamav-milter 0.103.7 at smtp03
X-Virus-Status: Clean
Received-SPF: pass client-ip=89.236.174.43; envelope-from=parlando@HIDDEN;
 helo=smtp03.prod.qlmail.ch
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)

Hi,

If global case-fold-search is nil, fido-mode throws errors when typing 
upper case letters or on candidates with upper case letters.

Reproduce with: emacs -Q, then:

(fido-mode 1)
(toggle-case-fold-search)

;; then execute:
;; M-x <T or t or another pattern>

Which produces messages like:
 > Error in post-command-hook (icomplete-post-command-hook): (error 
"Internal error: \\`\\(.*?\\)T does not match cpp-parse-edit")
 > Error in post-command-hook (icomplete-post-command-hook): (error 
"Internal error: \\`\\(.*?\\)t does not match LaTeX-mode")

Many thanks!

--
In GNU Emacs 30.0.50 (build 1, x86_64-w64-mingw32) of 2023-12-18 built
  on <hostname>
Repository revision: 14504fca8b5589c5c80a69dcab6e02681b196fa1
Repository branch: master
Windowing system distributor 'Microsoft Corp.', version 10.0.19045
System Description: Microsoft Windows 10 Pro (v10.0.2009.19045.3803)

Configured using:
  'configure --with-tree-sitter --with-native-compilation=aot 'CFLAGS=-O2
  -gdwarf-4 -g3 -fno-optimize-sibling-calls''

Configured features:
ACL DBUS GIF GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES
NATIVE_COMP NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XPM ZLIB

Important settings:
   value of $LANG: en_US.UTF-8
   locale-coding-system: cp1252

Major mode: Messages

Minor modes in effect:
   icomplete-mode: t
   fido-mode: t
   tooltip-mode: t
   global-eldoc-mode: t
   show-paren-mode: t
   electric-indent-mode: t
   mouse-wheel-mode: t
   tool-bar-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   minibuffer-regexp-mode: t
   buffer-read-only: t
   line-number-mode: t
   indent-tabs-mode: t
   transient-mark-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media puny dired
dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068
epg-config gnus-util time-date subr-x mm-decode mm-bodies mm-encode
mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
rfc2045 ietf-drums mm-util mail-prsvr mail-utils cl-print byte-opt gv
thingatpt help-fns radix-tree help-mode compile text-property-search
comint ansi-osc ansi-color ring comp-run bytecomp byte-compile
comp-common rx cus-start cus-load icomplete cl-loaddefs cl-lib rmc
iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type elisp-mode mwheel dos-w32 ls-lisp disp-table
term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu
timer select scroll-bar mouse jit-lock font-lock syntax font-core
term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads w32notify dbusbind w32 lcms2
multi-tty move-toolbar make-network-process native-compile emacs)

Memory information:
((conses 16 92115 20642) (symbols 48 8077 0) (strings 32 24764 1710)
  (string-bytes 1 674338) (vectors 16 15840)
  (vector-slots 8 336906 18454) (floats 8 33 11936)
  (intervals 56 299 17) (buffers 992 14))





Acknowledgement sent to parlando@HIDDEN:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#67884; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 20 Jan 2024 12:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.