From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#54486: 29.0.50; Eshell `escaped' string property can "leak" into output Date: Mon, 21 Mar 2022 22:00:00 +0200 Message-ID: <83cziff54v.fsf@gnu.org> References: <4246ce24-e48e-4bdf-4918-412bf6c0e595@gmail.com> <834k3rfqfk.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32221"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 54486@debbugs.gnu.org To: Jim Porter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 21 21:01:11 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 1nWODG-0008GG-V8 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Mar 2022 21:01:11 +0100 Original-Received: from localhost ([::1]:52424 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nWODF-000805-Jv for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 21 Mar 2022 16:01:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56730) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWOD8-0007zv-6r for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2022 16:01:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44578) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nWOD7-0007Ok-UO for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2022 16:01:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nWOD7-0000Ln-IA for bug-gnu-emacs@gnu.org; Mon, 21 Mar 2022 16:01:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Mar 2022 20:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54486 X-GNU-PR-Package: emacs Original-Received: via spool by 54486-submit@debbugs.gnu.org id=B54486.16478928381297 (code B ref 54486); Mon, 21 Mar 2022 20:01:01 +0000 Original-Received: (at 54486) by debbugs.gnu.org; 21 Mar 2022 20:00:38 +0000 Original-Received: from localhost ([127.0.0.1]:38475 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nWOCj-0000Kr-Jd for submit@debbugs.gnu.org; Mon, 21 Mar 2022 16:00:37 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50890) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nWOCh-0000Ke-S5 for 54486@debbugs.gnu.org; Mon, 21 Mar 2022 16:00:36 -0400 Original-Received: from [2001:470:142:3::e] (port=47576 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWOCc-0007LH-GM; Mon, 21 Mar 2022 16:00:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=L7j0uvBY4tWl5ASoQPmm0xzko7Z4zFDzC02usvaGChg=; b=sWXPbQZK2tC7 2renQPUjCxYP58x6uv6sWD4KKrZ7xToBYW4h01mX1CY7X4oyAQeTIAW41Fyx1s443yKRcr240oFpF OyhrUJGwsxeaDNe0k/P0cCSacTF/qed2G7nqarBvJFxs3o0iERJBiNOChuVhd8/KyjIr4cWC2+2Zq VKgkj9Mrt2VWpNjaZJxzr6H33BvA8Co0r3kNibosoGQQNnEbuIBoCagr3mnm5ZkXjScDHwlo47BRB //Btx7C0o5TNQE9s+UxSUDV6d5YiRaTNHCDTApAUqDsixsDIADHlO94fwHCqUFObi8hP+3idlm4xT oGhoQ959jCkvdCjIAYiDGQ==; Original-Received: from [87.69.77.57] (port=2526 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWOCN-0002qj-59; Mon, 21 Mar 2022 16:00:29 -0400 In-Reply-To: (message from Jim Porter on Mon, 21 Mar 2022 12:24:09 -0700) 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:228719 Archived-At: > Cc: 54486@debbugs.gnu.org > From: Jim Porter > Date: Mon, 21 Mar 2022 12:24:09 -0700 > > I didn't know `yank-excluded-properties' existed. I think that would be > a good thing to use for this. > > Besides that, I think it would be best if Eshell didn't show the > `escaped' property when printing things under normal circumstances. It's > really just for internal bookkeeping in Eshell, so I think users are > unlikely to want to see it in most cases. The best way to fix this might > be to rethink how Eshell (specifically `eshell-stringify') prints lists > by default. This is mentioned in bug#12689 (though that bug additionally > describes an unrelated issue with Eshell subcommands that I've since fixed). Eshell commands that print strings could remove that property. > Finally, maybe it would be good to change the name of the `escaped' > property to something like `eshell-escaped'. Yes, that'd be a good thing. But I'm worried that it could cause failures in existing code, couldn't it? We could do that as an experiment and see if anyone complains.