From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#45474: Icomplete exhibiting in recursive minibuffer when it =?UTF-8?Q?shouldn=E2=80=99t?= Date: Thu, 22 Apr 2021 19:24:30 -0400 Message-ID: References: <3ed97a9c53e0a5d4fef8@heytings.org> <87fszrz21d.fsf@mail.linkov.net> <3ed97a9c530093aca93d@heytings.org> <7dee3f4235d331cab291@heytings.org> <87r1jatd34.fsf@mail.linkov.net> <7dee3f423551aaf318cb@heytings.org> <87im4kzlfm.fsf@mail.linkov.net> <1869622e16546eafd9df@heytings.org> <871rb6np5j.fsf@mail.linkov.net> <87lf9cepqw.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6670"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Dario Gjorgjevski , 45474@debbugs.gnu.org, Juri Linkov To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 23 01:25:29 2021 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 1lZihM-0001S7-DR for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Apr 2021 01:25:28 +0200 Original-Received: from localhost ([::1]:48092 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZihL-0006jx-B0 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Apr 2021 19:25:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZigw-0006hE-QR for bug-gnu-emacs@gnu.org; Thu, 22 Apr 2021 19:25:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52495) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lZigw-0004m2-IT for bug-gnu-emacs@gnu.org; Thu, 22 Apr 2021 19:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lZigw-0003H0-F8 for bug-gnu-emacs@gnu.org; Thu, 22 Apr 2021 19:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Apr 2021 23:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45474 X-GNU-PR-Package: emacs Original-Received: via spool by 45474-submit@debbugs.gnu.org id=B45474.161913388712559 (code B ref 45474); Thu, 22 Apr 2021 23:25:02 +0000 Original-Received: (at 45474) by debbugs.gnu.org; 22 Apr 2021 23:24:47 +0000 Original-Received: from localhost ([127.0.0.1]:35808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZigh-0003GU-1K for submit@debbugs.gnu.org; Thu, 22 Apr 2021 19:24:47 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:23370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZigd-0003GF-Uw for 45474@debbugs.gnu.org; Thu, 22 Apr 2021 19:24:45 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 579E18033D; Thu, 22 Apr 2021 19:24:38 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id D7000801AB; Thu, 22 Apr 2021 19:24:31 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1619133871; bh=P6/p0ZZ32ZrJ8hEOIb6quUwQd1vL0UaAqrbNvixfp7A=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=XtE8roOLOG8Ck31kU0lCjMGUzaIrv058zY0hyGEgq0sqDjC6ZCh7gzoGnZoa95w7K Ti1gzU1DBxep+FZ3EgR2lqKpVJHrtaa2swZLr0cPeRzC1bG5xRoS4YNzmFYGYKTWdS 7WAOfUni8HuarK5Nb/BlXvaWUQTXOxUKDdIcSXEqx6P7TDxwbGN9YxxN23JvjeS4oh 6yAdz3nMkjwDzM/lKCfPnGcW17qf6LielYB2XmJFrdvU0H9qgmy2B4Kxzak97iNHDM ApowvxNRqauYgHrDF797eAZAvmPTaG+3UQM3miPxoUM9gkc/oDQu0+v/WEc/BCcT3j 2DI3iOTJVWXcg== Original-Received: from alfajor (104-222-126-84.cpe.teksavvy.com [104.222.126.84]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 9C0961201E0; Thu, 22 Apr 2021 19:24:31 -0400 (EDT) In-Reply-To: (Gregory Heytings's message of "Thu, 22 Apr 2021 19:04: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" Xref: news.gmane.io gmane.emacs.bugs:204726 Archived-At: >> I have the impression that I suffer from NIH syndrome with respect to your >> patch, so I'll refrain from commenting on it by and large > I'm not sure I understand what you mean here. I mean that I dislike your proposal but can't quite say why, so I suspect it's just a case of "Not Invented Here" syndrome. > Hmmm... That's not true, see the occurrences of > minibuffer_completing_file_name. Indeed, it's a hack trying to solve the exact same kind of problems we're trying to solve. >>> run_hook (Qminibuffer_setup_hook); >> As in my patch, you could use this hook to do the completion-specific part >> of the setup. > Indeed, but you said that 'minibuffer-with-setup-hook' is "fundamentally > broken and messy"... All schemes using dynamic scoping to pass the information are similarly broken&messy, so yes, I don't like using it, but at least it's not specific to completion. Stefan