From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Mendler Newsgroups: gmane.emacs.bugs Subject: bug#60021: 29.0.60; Eshell completion errors in the presence of buffer redirects Date: Tue, 13 Dec 2022 14:46:52 +0100 Message-ID: <12e425eb-1fdc-a014-cf9c-e3ccb026f3b0@daniel-mendler.de> References: <87pmconwnw.fsf@daniel-mendler.de> <17d95c0d-e0c5-b99d-c831-d9b815cbb25d@daniel-mendler.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33228"; mail-complaints-to="usenet@ciao.gmane.io" Cc: arstoffel@gmail.com, 60021@debbugs.gnu.org To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 13 14:48:51 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 1p55eN-0008RJ-CY for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 13 Dec 2022 14:48:51 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p55de-0007U7-1K; Tue, 13 Dec 2022 08:48:06 -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 1p55da-0007Ty-L5 for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2022 08:48: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 1p55da-0007SZ-Ct for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2022 08:48:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p55da-0003zB-7f for bug-gnu-emacs@gnu.org; Tue, 13 Dec 2022 08:48:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Mendler Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Dec 2022 13:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60021 X-GNU-PR-Package: emacs Original-Received: via spool by 60021-submit@debbugs.gnu.org id=B60021.167093922315179 (code B ref 60021); Tue, 13 Dec 2022 13:48:02 +0000 Original-Received: (at 60021) by debbugs.gnu.org; 13 Dec 2022 13:47:03 +0000 Original-Received: from localhost ([127.0.0.1]:60510 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p55cd-0003wl-0F for submit@debbugs.gnu.org; Tue, 13 Dec 2022 08:47:03 -0500 Original-Received: from server.qxqx.de ([178.63.65.180]:53347 helo=mail.qxqx.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p55ca-0003wE-DT for 60021@debbugs.gnu.org; Tue, 13 Dec 2022 08:47:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=qxqx.de; s=mail1392553390; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=MXCeyRlVjN53AG4QkA07vdxZu6se/HYG9LoAow81qts=; b=EXFj0YSY+u+EpBy83T1Bx6JAq4 8LBhfNcEFwRTiEYUPMlD2sou4eEf/HDzNPvhcPT7IMYCBN7dRTUnQVII3j3YD6lwyFETR1COaQPNa r2VIGdAmU1qbcRciO3bQQtg1Uyt3/aBSaaKE7A47sEW6jvjt5/hS7Yf673ZmDN1tRNlk=; Content-Language: en-US In-Reply-To: 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:250837 Archived-At: On 12/13/22 00:34, Gregory Heytings wrote: > >>> Thanks for your bug report. Can you check that the attached patch >>> fixes that bug, without introducing other obvious regressions? >> >> Yes, in my quick tests it fixes both issues. But I am not familiar with >> the code in question. Hard to tell if it introduces other regressions. >> Maybe Augusto (cc'ed) could also take a look please? >> > > He already did, and although it fixes the two reported recipes, it's alas > not a proper fix for that bug. Why is this not a proper fix? Is there some deep issue here? Is there a chance that this could be fixed in a better way? I have never looked deeply into the inner workings of Pcomplete, but from my experience the Pcomplete Capf unfortunately is one of the buggiest Capfs provided by Emacs. Nevertheless, I am a happy Eshell user. Completion in combination with my Corfu UI works quite well, but I also employ some advices which ignore errors in Pcomplete and prevent the Capf from modifying the buffer. Daniel