From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#74616: 30.0.92; tmm always displays the *Completions* buffer Date: Sun, 15 Dec 2024 09:44:00 +0200 Organization: LINKOV.NET Message-ID: <87o71d2xxb.fsf@mail.linkov.net> References: <878qt1w7c6.fsf@daniel-mendler.de> <86wmgl9mfz.fsf@gnu.org> <86ldwrirf1.fsf@gnu.org> <87wmgbftih.fsf@daniel-mendler.de> <87jzca2bg5.fsf@daniel-mendler.de> <87wmg8llw1.fsf@mail.linkov.net> <877c88k51i.fsf@daniel-mendler.de> <868qsod3h3.fsf@gnu.org> <87o71kfvgu.fsf@daniel-mendler.de> <86zfl3btx0.fsf@gnu.org> <87ikrqb58x.fsf@daniel-mendler.de> <86ldwiv9mn.fsf@gnu.org> <87pllusd3j.fsf@daniel-mendler.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4415"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) Cc: Eli Zaretskii , 74616@debbugs.gnu.org, monnier@iro.umontreal.ca To: Daniel Mendler Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 15 08:50:14 2024 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 1tMjOI-0000xl-1g for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Dec 2024 08:50:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMjO9-0006cl-C0; Sun, 15 Dec 2024 02:50:05 -0500 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 1tMjO7-0006cS-Jx for bug-gnu-emacs@gnu.org; Sun, 15 Dec 2024 02:50:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tMjO7-0002rZ-Af for bug-gnu-emacs@gnu.org; Sun, 15 Dec 2024 02:50:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=t6jJu0D5fdD9BQHwtcpQSdWQ1r5kfgbOCbDqj5X0nUs=; b=hpJnFwKJpvE1RN+pikZs/PujdpPQ7QKq0xuW71iKD7s74q7tXTdQ1a/Wgg/WNxZjEI/jo69/HskWBsbDnojZqKJJVhqjzoTT8dAnNhWyccQ3up+dQ0hAR2CT2FwgZjH0iBFS7vPDTEh62s192E277PjSktcrD/w6FGclJAJlVuMEkre0/ev2dpsXgoy7A5q4AUZPlwfdOSuE4KahpfC0klfAD5DHQnoQwelYaQiOdS0UCBk6a2QyTtpebVeF570vq9pA1cWQoXqGJBBompaQplGUoeYAx66w7BuSU75EE2XEcCrTlTBMFmUMyTHBDzmNgKSnnvdk+fSJR1t6yPK1PQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tMjO6-0006ZT-77 for bug-gnu-emacs@gnu.org; Sun, 15 Dec 2024 02:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Dec 2024 07:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74616 X-GNU-PR-Package: emacs Original-Received: via spool by 74616-submit@debbugs.gnu.org id=B74616.173424896225190 (code B ref 74616); Sun, 15 Dec 2024 07:50:02 +0000 Original-Received: (at 74616) by debbugs.gnu.org; 15 Dec 2024 07:49:22 +0000 Original-Received: from localhost ([127.0.0.1]:49461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMjNR-0006YD-Hf for submit@debbugs.gnu.org; Sun, 15 Dec 2024 02:49:21 -0500 Original-Received: from relay9-d.mail.gandi.net ([217.70.183.199]:57173) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tMjNP-0006Xs-26 for 74616@debbugs.gnu.org; Sun, 15 Dec 2024 02:49:19 -0500 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id 5321EFF804; Sun, 15 Dec 2024 07:48:50 +0000 (UTC) In-Reply-To: <87pllusd3j.fsf@daniel-mendler.de> (Daniel Mendler's message of "Sat, 14 Dec 2024 12:44:48 +0100") X-GND-Sasl: juri@linkov.net 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:297089 Archived-At: > Thanks for finding this. The problem was that `initial-input' was passed > directly to `completion-metadata'. I replaced `initial-input' with `(or > initial-input "")'. See the updated patch attached to this mail. It seems this change caused another regression: 'ffap' on a file name fails with the error: Debugger entered--Lisp error: (wrong-type-argument stringp ("/tmp/file" . 6)) completion--embedded-envvar-table(("/tmp/file" . 6) file-exists-p metadata) complete-with-action(metadata completion--embedded-envvar-table ("/tmp/file" . 6) file-exists-p) read-file-name-internal(("/tmp/file" . 6) file-exists-p metadata) completion-metadata(("/tmp/file" . 6) read-file-name-internal file-exists-p) minibuffer-setup() completing-read-default("Find file or URL: " read-file-name-internal file-exists-p nil ("/tmp/file" . 5) file-name-history "/tmp/file" nil) read-file-name-default("Find file or URL: " "/tmp/" nil nil "file" nil) read-file-name("Find file or URL: " "/tmp/" nil nil "file") ffap-read-file-or-url("Find file or URL: " "./file") ffap-prompter() ffap() funcall-interactively(ffap) command-execute(ffap record) execute-extended-command(nil "ffap" "ffap") funcall-interactively(execute-extended-command nil "ffap" "ffap") command-execute(execute-extended-command)