From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#64351: probabe bug associated with =?UTF-8?Q?=E2=80=9Ccompletion-regexp-list=E2=80=9D?= Date: Fri, 30 Jun 2023 15:02:07 -0400 Message-ID: References: <83v8f5sc6p.fsf@gnu.org> Reply-To: Stefan Monnier 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="22242"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , "64351@debbugs.gnu.org" <64351@debbugs.gnu.org> To: Shynur Xie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 30 21:03:17 2023 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 1qFJOm-0005XQ-Sj for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Jun 2023 21:03:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qFJOa-0003zC-8Z; Fri, 30 Jun 2023 15:03:04 -0400 Original-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 1qFJOY-0003yn-ES for bug-gnu-emacs@gnu.org; Fri, 30 Jun 2023 15:03:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qFJOY-0006yc-3G for bug-gnu-emacs@gnu.org; Fri, 30 Jun 2023 15:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qFJOX-0006hn-UZ for bug-gnu-emacs@gnu.org; Fri, 30 Jun 2023 15:03:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Jun 2023 19:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64351 X-GNU-PR-Package: emacs Original-Received: via spool by 64351-submit@debbugs.gnu.org id=B64351.168815173725721 (code B ref 64351); Fri, 30 Jun 2023 19:03:01 +0000 Original-Received: (at 64351) by debbugs.gnu.org; 30 Jun 2023 19:02:17 +0000 Original-Received: from localhost ([127.0.0.1]:55789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFJNp-0006gm-5r for submit@debbugs.gnu.org; Fri, 30 Jun 2023 15:02:17 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:7432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFJNn-0006ga-8W for 64351@debbugs.gnu.org; Fri, 30 Jun 2023 15:02:15 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 032CE8077C; Fri, 30 Jun 2023 15:02:10 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id A43978008E; Fri, 30 Jun 2023 15:02:08 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1688151728; bh=dTY5xQpEJg37Aj9m76b5ZxgXAe4JeQiHCmm5HlUWKG8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=QtCXCAf8V7jP8c5a23eqi8NdUAozsHP7rdXr/RKYVKmOl+PJHrAjkmv+3CUVD3mm+ Xo/4RyKvajqAABiYNXQ8Iv3I2MBlNbh0iMhLqe9hlRN4dQ6ZtfO3cPBla8gj45nIwf iA4UVqgh82InL/rboB5ULSLantFwyrM+IOJ7ISWWK1Riikk3kFTl5BKSp6SI26y/RI IAHW7bWbgQDVUQsyk/Sx3jRalZ28Vw6GNJ7KV1KPCzfHDrYrhsPGzbWXHvtgbVu8Oy 8cAihp8YqT5/6lFHXs7umDLd7bSdOSxE6aKgnyIlhMqQVs1aTmJo/wsBkhYy8vwEYw U+fti1i04npRQ== Original-Received: from pastel (69-165-155-162.dsl.teksavvy.com [69.165.155.162]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 7CB041202BD; Fri, 30 Jun 2023 15:02:08 -0400 (EDT) In-Reply-To: (Shynur Xie's message of "Fri, 30 Jun 2023 18:45:04 +0000") 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:264333 Archived-At: >> Shynur> Evaluate this: >> Shynur> (setq completion-regexp-list '("^[^-]")) >> Stefan> Bad idea. > > I have to say that it is not a bad idea to write this _meaningless_ > and _short_ expression. I just want to find a short enough expression > to show the issue. FWIW, the main problem is setting this var while minibuffer.el functions are called (so setting globally is definitely a problem). This var is usually expected to be let-bound next to your own calls to `try/all/test-completion`. But as I say, this is actually not documented, it's just what I have found to be general assumptions is various packages that implement completion UIs (including the one I wrote :-) > If I post a _long_ code snippet and say =E2=80=9CHey, > there=E2=80=99s a bug=E2=80=9D, nobody wants to see it. :-) I know what you men. I'd be interested to hear about your use-case, tho. Maybe I can provide a good alternative. Stefan