Subject: bug#59956: closed (Re: bug#59956: 29.0.60: Failure when completing arguments in Eshell after variable interpolation)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 29 Dec 2022 22:03:02 +0000

Your bug report

#59956: 29.0.60: Failure when completing arguments in Eshell after variable interpolation

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
59956: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59956
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#59956: 29.0.60: Failure when completing arguments in Eshell after variable interpolation
From: Gregory Heytings <[email-masked]>
To: Jim Porter <[email-masked]>
Cc: John Wiegley <[email-masked]>, Eli Zaretskii <[email-masked]>, [email-masked], Stefan Monnier <[email-masked]>, [email-masked]
Date: Thu, 29 Dec 2022 22:02:45 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

No further comments in a week, pushed (dafa6d6bad) and closing.

Subject: 29.0.60: Failure when completing arguments in Eshell after variable interpolation
From: Jim Porter <[email-masked]>
To: [email-masked]
Date: Sat, 10 Dec 2022 17:25:53 -0800
List-Id: <debbugs-submit.debbugs.gnu.org>

X-Debbugs-CC: [email-masked]

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...