From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dario Gjorgjevski Newsgroups: gmane.emacs.bugs Subject: bug#45474: Icomplete exhibiting in recursive minibuffer when it =?UTF-8?Q?shouldn=E2=80=99t?= Date: Sun, 27 Dec 2020 18:44:40 +0100 Message-ID: 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="29682"; mail-complaints-to="usenet@ciao.gmane.io" To: 45474@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 27 18:45:35 2020 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 1kta6p-0007d7-Ez for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Dec 2020 18:45:35 +0100 Original-Received: from localhost ([::1]:59090 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kta6o-0007VF-Cb for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Dec 2020 12:45:34 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51778) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kta6I-0007Us-Nr for bug-gnu-emacs@gnu.org; Sun, 27 Dec 2020 12:45:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50118) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kta6I-0000Wd-Ga for bug-gnu-emacs@gnu.org; Sun, 27 Dec 2020 12:45:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kta6I-0007It-Fk for bug-gnu-emacs@gnu.org; Sun, 27 Dec 2020 12:45:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dario Gjorgjevski Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Dec 2020 17:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45474 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160909108828036 (code B ref -1); Sun, 27 Dec 2020 17:45:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Dec 2020 17:44:48 +0000 Original-Received: from localhost ([127.0.0.1]:33431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kta64-0007I8-61 for submit@debbugs.gnu.org; Sun, 27 Dec 2020 12:44:48 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:53004) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kta62-0007I0-B4 for submit@debbugs.gnu.org; Sun, 27 Dec 2020 12:44:46 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51762) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kta62-0007Od-3B for bug-gnu-emacs@gnu.org; Sun, 27 Dec 2020 12:44:46 -0500 Original-Received: from mail-ej1-x62d.google.com ([2a00:1450:4864:20::62d]:41607) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kta5z-0000Ur-To for bug-gnu-emacs@gnu.org; Sun, 27 Dec 2020 12:44:45 -0500 Original-Received: by mail-ej1-x62d.google.com with SMTP id ce23so11633482ejb.8 for ; Sun, 27 Dec 2020 09:44:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=tyNHBk7QBLgSPde0o0vBGDEG8YxYI98Xiz5p38cfVKQ=; b=kAfvJYy5Wj/o6qqpwydTEnq5CIvGmvTPhBa+EYg+mXNQ1qBLc/XOhQlSOLWPYGlRK0 CRjBlKLnXdtQOL8eh9QH0ApU1vwss1xTuMZg1zdXN7RpEZS1WN0MRuy8uVlu01XS9y+A TYNAkcEHhxNQvLo56UNix+UmRIKzenY2IVDl0sDXalPZNHiS5KETTIi88ivHBY95r/z2 3cMi6YpYoeibyquVkVzv5nhItZfDpK+jYdsZRWPhlYUWDhyBINCti8Kbymeldg5bHi8X p2QIKAzXfi7kdM43pjIJS8E3RUBu8HDJxLC6+p99QW41XvEWSvAuiZ71G2+tcSJCXVYV 57cQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=tyNHBk7QBLgSPde0o0vBGDEG8YxYI98Xiz5p38cfVKQ=; b=VFET69aGz/OUzxLT+3RfVLlPcitTPl3JX4MC0Bwy5ZDpijm+IUc40gEuZ7AXYGoG6P edxP4XtlnwYndJ/tlYdMAhK+VsFK7YVVEcG9dQ+sPj5KIiIUE4Guac2+Y06ydsER25vn oe/2E9rrV/tiA+pkt81CXLz5IaJ0WFh2Etsn5XL2DMSvXDr8WayJr5GQC1lWTwnyQEZV 3pEPks7pn7YEL/pc29Kq5URr5RoF/sFfS4BensB0EUr0qpHCstbct0JyKwuRIrqECA1e Ftdu4miMYExgm5NyTYlo9dVlBLgwnBCu7k7TrL9+bguwUXAwWduRiU8xsEiVUC28yYCg wZIA== X-Gm-Message-State: AOAM53259RWP2wYxPcEAiFIQC8IcjBBHMY9grKxSTWUpNa69d8SjByqJ UXkYEbm0gXkahEYMbaCrroYx6tt4qWc= X-Google-Smtp-Source: ABdhPJz4EU+5Kpu1qi3RIMRXGT0e7WNHtWVnjJPtFTYQIVj5LDFe4bZRGsmFzvSzcS5WD8U4V4kMqg== X-Received: by 2002:a17:907:4271:: with SMTP id nq1mr38547120ejb.358.1609091081374; Sun, 27 Dec 2020 09:44:41 -0800 (PST) Original-Received: from ZALANDO-31298 ([79.140.122.235]) by smtp.gmail.com with ESMTPSA id pg9sm16216827ejb.102.2020.12.27.09.44.40 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 27 Dec 2020 09:44:40 -0800 (PST) Received-SPF: pass client-ip=2a00:1450:4864:20::62d; envelope-from=dario.gjorgjevski@gmail.com; helo=mail-ej1-x62d.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:196809 Archived-At: How to reproduce from emacs -Q: (setq enable-recursive-minibuffers t) (setq icomplete-show-matches-on-no-input t) M-x icomplete-mode RET C-x C-f [Icomplete now exhibits some filenames in the minibuffer] M-: [Icomplete shouldn=E2=80=99t exhibit anything here but it still exhibits the filenames from the previous step and even allows you to complete them with C-j] You can replace C-x C-f with other similar commands, e.g., C-x b or M-x. I=E2=80=99m not sure if this bug comes from how Icomplete configures itself= or the implementation of recursive minibuffers. It appears that icomplete-simple-completing-p returns t when the M-: is happening in a recursive minibuffer, even though it should return nil so that Icomplete doesn=E2=80=99t configure itself. If the M-: is not in a recursive minibuffer, everything is OK since icomplete-simple-completing-p returns nil. Best regards, Dario =20=20 --=20 $ keyserver=3Dhkps://hkps.pool.sks-keyservers.net $ keyid=3D744A4F0B4F1C9371 $ gpg --keyserver $keyserver --search-keys $keyid