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: Fri, 23 Apr 2021 11:18:48 -0400 Message-ID: References: <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> <83tunxo7pn.fsf@gnu.org> <837dktnno1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1170"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: gregory@heytings.org, 45474@debbugs.gnu.org, dario.gjorgjevski@gmail.com, juri@linkov.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 23 17:20:16 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 1lZxbL-0000B7-I3 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Apr 2021 17:20:15 +0200 Original-Received: from localhost ([::1]:46976 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZxbK-0003nX-JQ for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Apr 2021 11:20:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZxb8-0003mY-Ek for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2021 11:20:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55258) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lZxb8-0004kS-67 for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2021 11:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lZxb8-0008IB-1F for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2021 11:20: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: Fri, 23 Apr 2021 15:20:01 +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.161919114231681 (code B ref 45474); Fri, 23 Apr 2021 15:20:01 +0000 Original-Received: (at 45474) by debbugs.gnu.org; 23 Apr 2021 15:19:02 +0000 Original-Received: from localhost ([127.0.0.1]:38529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZxa9-0008Ek-OB for submit@debbugs.gnu.org; Fri, 23 Apr 2021 11:19:02 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:62230) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZxa4-0008EF-HE for 45474@debbugs.gnu.org; Fri, 23 Apr 2021 11:19:00 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 20144801AB; Fri, 23 Apr 2021 11:18:51 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 845078088B; Fri, 23 Apr 2021 11:18:49 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1619191129; bh=k1Apy1bqVmVDktxeirfc0ZhObha2aSs09gwntjZzD0E=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=bPODPLupIkCdi2kKVKvVMXhnq3d+fjfo3W45QASavYR2583rn8bMNdKI7lUragI04 gh0PkSSpTPBsve4GCB5hYJoYEHWou5wHihMMAtWTPh9S0n6uYJH642rBFOWpE/vbmg 9ROcrKj0RnrkWqNEWM4OwLG85HiKcwDm0Fc5jyWFgAzyxzDc4pxyR47Zm7V2fZ31Pe Tj4KKrOKlx+PrkfnNWZEKVG5MfPHC4kooPgifPdBXbncsl5PpWpr+xsAUL3pCfh4BN 1c8KmEC8PkFc/3B2QoCYeI6ZcpL7OUjx3JDqRi+Sx5SDZXoE9y/KrZFrprWpZ0uFdo 4De+g4uS10epw== Original-Received: from alfajor (104-222-126-84.cpe.teksavvy.com [104.222.126.84]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 47ED2120249; Fri, 23 Apr 2021 11:18:49 -0400 (EDT) In-Reply-To: <837dktnno1.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 23 Apr 2021 16:19:42 +0300") 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:204742 Archived-At: >> >> > 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 >> > I don't agree. >> I don't know what that means, here. > It means I disagree that "all schemes using dynamic scoping to pass > the information are broken and messy". ;-) That's the part I understood, indeed. There are two aspects which make it rather unclear to me: - First, from where I stand, what I stated is not really a matter of opinion but a mere result of the underlying way the problem works. There's a admittedly some amount of "degree" that can depend on some of the details, which is why I said "similarly". - Second I don't know what it implies in terms of your opinion w.r.t the various potential problems with: - the current way of passing the information (just plain let-binding). - the way proposed by Gregory (let-binding of minibuffer-complete-* followed by let-binding to other-named vars followed by setq-local of minibuffer-complete-*, where the dance is performed in `read-from-minibuffer`). - the way I suggested (minibuffer-with-setup-hook + setq-local, done in `completing-read-default`). It seems to suggest that you may not find them all "similarly broken&messy", but even that is not sure. Stefan