From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii 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 20:37:23 +0300 Message-ID: <835z0coqb0.fsf@gnu.org> 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> .fsf-monnier+emacs@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13485"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gregory@heytings.org, 45474@debbugs.gnu.org, dario.gjorgjevski@gmail.com, juri@linkov.net To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 23 19:40:14 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 1lZzmo-0003Oa-Au for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Apr 2021 19:40:14 +0200 Original-Received: from localhost ([::1]:40830 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZzmn-0001cM-9r for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Apr 2021 13:40:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZzkg-0000wt-R3 for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2021 13:38:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55463) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lZzkg-0005ml-Jb for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2021 13:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lZzkg-0003NN-FV for bug-gnu-emacs@gnu.org; Fri, 23 Apr 2021 13:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Apr 2021 17:38: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.161919946012948 (code B ref 45474); Fri, 23 Apr 2021 17:38:02 +0000 Original-Received: (at 45474) by debbugs.gnu.org; 23 Apr 2021 17:37:40 +0000 Original-Received: from localhost ([127.0.0.1]:38776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZzkK-0003Mm-CJ for submit@debbugs.gnu.org; Fri, 23 Apr 2021 13:37:40 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZzkI-0003Mb-Pd for 45474@debbugs.gnu.org; Fri, 23 Apr 2021 13:37:39 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58958) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZzkB-0005Y7-Q1; Fri, 23 Apr 2021 13:37:31 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3918 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lZzkB-0006nN-57; Fri, 23 Apr 2021 13:37:31 -0400 In-Reply-To: (message from Stefan Monnier on Fri, 23 Apr 2021 11:18:48 -0400) 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:204752 Archived-At: > From: Stefan Monnier > Cc: gregory@heytings.org, dario.gjorgjevski@gmail.com, > 45474@debbugs.gnu.org, juri@linkov.net > Date: Fri, 23 Apr 2021 11:18:48 -0400 > > > 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. Your original opinion sounded like a general objection to passing information via let-binding of dynamic variables. I wanted to voice my disagreement with such a general POV. I wasn't saying anything about this particular use of dynamic binding.