From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.bugs Subject: bug#59956: 29.0.60: Failure when completing arguments in Eshell after variable interpolation Date: Sat, 10 Dec 2022 17:25:53 -0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22254"; mail-complaints-to="usenet@ciao.gmane.io" Cc: arstoffel@gmail.com To: 59956@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 11 02:27:22 2022 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 1p4B7i-0005dP-4S for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 11 Dec 2022 02:27:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4B7Q-0003zX-W3; Sat, 10 Dec 2022 20:27: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 1p4B7P-0003zJ-CC for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2022 20:27:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p4B7P-00040G-2x for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2022 20:27:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p4B7O-0002UW-Hx; Sat, 10 Dec 2022 20:27:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: arstoffel@gmail.com, bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Dec 2022 01:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59956 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: arstoffel@gmail.com Original-Received: via spool by submit@debbugs.gnu.org id=B.16707219639566 (code B ref -1); Sun, 11 Dec 2022 01:27:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Dec 2022 01:26:03 +0000 Original-Received: from localhost ([127.0.0.1]:45990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4B6Q-0002UE-P5 for submit@debbugs.gnu.org; Sat, 10 Dec 2022 20:26:02 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:46348) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4B6N-0002Tq-0u for submit@debbugs.gnu.org; Sat, 10 Dec 2022 20:26:00 -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 1p4B6M-0003uX-SA for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2022 20:25:58 -0500 Original-Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p4B6L-0003h3-D5 for bug-gnu-emacs@gnu.org; Sat, 10 Dec 2022 20:25:58 -0500 Original-Received: by mail-pl1-x634.google.com with SMTP id p24so8659473plw.1 for ; Sat, 10 Dec 2022 17:25:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:subject:from:to:content-language :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=Ga6QaDzIfyUsJoN8X4GTq7eDQKvAtOSVVBsdlFYAtzY=; b=EhUOce4x7fUqx+YRcRCp3qygUc9fN94EWMbM/AfoBqZuWn/hQOzsS3H8ymuJul1gT8 80yoCZvGGy2ZmMhTfuRqViIteTfX4LVi4N/vmFiLL5VqJKY1JxrcM4Geu2LKnsyWUkbC nAe6tcUPvQ2KULepZ8Q7l+Hc3cT4s27tCW2VgL4HGaqTZ979wAGbNcQoUdEL265fSJam IR1uc9UFhrBsC1RgiKDfMRDK2Zed9v8675INiTbVZ6bcEBFhBPku5YupmMta9AVRN6WO vbjJLdXEHKZU84BcjjGF91D5KqK4hSGhO4kqqTUV89RfQOoMrHKWSZ8hrBEQc8p5ISXe bqog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:subject:from:to:content-language :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=Ga6QaDzIfyUsJoN8X4GTq7eDQKvAtOSVVBsdlFYAtzY=; b=2SO7C9d8tmRm3mqE8XweZbRnqAC7MJyatQCQThkWASBihAlpEBHjAFuTpyjrbVc6D2 ZtMpEEmKCTqFm7P6tbMoYQ6AXiFVK8ypRXdIKPnJEYNFQbhwlpw+0hge4v5dfJGcpUSe YwGG9yE4qWpfQarzgE0sq8nuler6kDNJl2SRTrd2nBErxbrJARBcywsw3lUg09C0pjMv oGXfz701G/7CF8jA+/OGhMYdjq5tn+XrW8nL3MD+3OfqQn8XwAr48C/7rOOjHg3drC8b zuuoq+DtTxEuztEFkKiJUDli/Ch1NNKmZMfaYrhCtYYz2mdduW1LWa/C7s9SaeEWrJ6K Dqyg== X-Gm-Message-State: ANoB5pkZSLbVcBULFOx1jS3ybybWcl+zguPT63o8xqDUvtgQ/GC7ABz1 isGpDIaJ9uFZp2jnpJvxaWUUx8Mcy4c= X-Google-Smtp-Source: AA0mqf5nRdXxyqGbnqTKicVxOuSGIq5ERlBSVPVDQs2FCXLieQEqHiTrDdRJSeuahNyaxQB/Nbmi+w== X-Received: by 2002:a17:90b:3591:b0:219:bf1a:7cbe with SMTP id mm17-20020a17090b359100b00219bf1a7cbemr11237344pjb.27.1670721955213; Sat, 10 Dec 2022 17:25:55 -0800 (PST) Original-Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id mt15-20020a17090b230f00b002191a64b5d5sm3149537pjb.18.2022.12.10.17.25.53 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 10 Dec 2022 17:25:54 -0800 (PST) X-Mozilla-News-Host: news://news.gmane.io:119 Content-Language: en-US Received-SPF: pass client-ip=2607:f8b0:4864:20::634; envelope-from=jporterbugs@gmail.com; helo=mail-pl1-x634.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:250571 Archived-At: X-Debbugs-CC: arstoffel@gmail.com Starting from "emacs -Q -f -eshell", type "echo $exec-path " (note the trailing space), and then hit TAB. The result is this error: pcomplete-match: Wrong type argument: stringp, ("/usr/bin" ...) This is a regression from Emacs 28, and it looks like it's due to 'pcomplete-here-using-help' assuming that all the pcomplete args are strings. However, 'exec-path' is a list (and Eshell reports it this way to pcomplete), so the completion fails. I think all that's necessary is checking that the pcomplete args are strings in 'pcomplete-here-using-help', but I know next to nothing about pcomplete...