From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: `unreadablep' Date: Wed, 15 Dec 2021 16:19:16 +0800 Message-ID: <87h7bas2kb.fsf@yahoo.com> References: <87bl1imhnd.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16962"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 15 09:21:33 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mxPXY-00049l-MX for ged-emacs-devel@m.gmane-mx.org; Wed, 15 Dec 2021 09:21:32 +0100 Original-Received: from localhost ([::1]:40198 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxPXX-00088B-M1 for ged-emacs-devel@m.gmane-mx.org; Wed, 15 Dec 2021 03:21:31 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59690) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxPVk-00062k-O4 for emacs-devel@gnu.org; Wed, 15 Dec 2021 03:19:40 -0500 Original-Received: from sonic315-22.consmr.mail.ne1.yahoo.com ([66.163.190.148]:35725) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mxPVV-0002P6-9M for emacs-devel@gnu.org; Wed, 15 Dec 2021 03:19:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1639556363; bh=d12GG57/A1kWzWXSnvF9UGsGTpkoI+ayIDRn/VCKPIE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=Yw7DVQ6qkG9jfn6zRJ2+Q4Af6/SuLY/50lAQYrp11WYDNCCmAcp+LFkY9fpWwIa5Z15Qc1onnqvyAW8HXdT/4/7eZnEMU+PwgowylMB+ewy5sBCcdTN28okYKCDXs7YvJTeLeZt6/6bYTgUbrRqfa2tIMJgZQwBrAdYGoWAaBKMzO7vHCXuJg5TlYzUXXdDo1Bci9PtsqawARvQlwTOlR8T1LXi71197U08NqNslSL2Q8HE4TfP6YJASKViI3EkyvV/tyiXVKa4I89x/0UkHgUWxLL1IbF1dtWk1la6dpnqWNztHUbk2kYpMgcT1tJxoHIee+SPyhT58hHixv/Q59Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1639556363; bh=8TxJsnBSrSG7UH7AZ69N4UYQB4jtdw5T9u0YTP6ZG3h=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=hSAdcxv1PqT7zixRSwBlwlQUJuZzGhyEkIZ3SpwObvD60/NjBhRR1VatKIXXJlVrZ9EPiljy8LD7DnY4MGRmwrGU3wVBkh2yWxZu8vNL73Lvi3qQkdbeEzFBdiMPZOmIoGdKZiHVzbDCVlSGAAnMdzsp5PCVbnJJTqGll7nK2ChsPb+gTaUrN64RuZ8OxJPxPqOGHzMSrfjX/KUnADJACNQZRpesIkkCLBO3SX6oBTd1OS5YqyZkZoJFHcZuyG9Yiuwnb1JRDSIRBQzFE+h3/9b0pebPf5gjN34h24YnauRBICCTfz3DfyXa+bTJotnAAchaGvU+DIV4ucqMCe6vmg== X-YMail-OSG: govdi1cVM1kqIRj_sZRNsPoLwMjt7VeJJ_fKJN6Xrh.aMgvN12n5HtzrnVZrkHG lVKPrf26V556jl0Uo_MrrzFwm6jyZogl0afIS4L.2_tIgyYGMYfn3bfMiiPDgy4Igm3w.7DRFMhH GyDAcJe6XniKHQinMaudFtFM6pS9H4k68YrdazJwiNHf3TpuxarBpkNOAo_1t76EqsL5hiBuaStC .IlTL6.46Ru_jWGoYAtxyHd6IXULg1SFh0ZfwJjw75sbDXwUzgX7T6BnViAPLYgKJnGMzpQSMvcs p_imc6v03Dz0sanZsC339EE2hU118KOgmDpnmzBY2MZsdOOoyMkHx90rIO0nk6MlpAVL6qV92edy 6QFB3F5UEKjooOIQhSNZ3mwdNxlseHAJEgu2Rw1N5o99VBdcA2UoJlMY_NCg8saMoPDfLxIigyE8 cNAx6SfD5FtNneALBc8o06YuE2HfbjxTpfPMtkuRkG0Yyv746RbV0.7Cnb9uxyET1nyQ__GSafpg T2c1nw04lKKbuQKGR8T__3tK3720cTnXk_au3iJGbYPdjZPcJoR_4RFTu_HpKIeoo1_dDYSXwenq hLLTbsBPE6Zyb0ZW0_U7BG2H4WpIvsfMjYqIjykTDaGQqHR4AJ6LJIKdUtX4Td2x_1rnhzBzfRS9 r_Wgm6vdTa.QAdaOSNsKBhl.CY9AD4BQxxW6wom2AIdvZkcgEMoCT3fj_RTF9Gdd_NLtJcxilwxz 49LpZTpDKTpcHlrdrWyLNkjhscgTAMbas2Y7pxckT1ZGC6jwiWjcGbyUMN28apjJl79.jKG2D06g 1C4FxO4r9.0V9Mp_yQuEDwL5vNYRmS3f5_2Cd1QD42 X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Wed, 15 Dec 2021 08:19:23 +0000 Original-Received: by kubenode504.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 24050c9dea24255c1201583aad6fe28c; Wed, 15 Dec 2021 08:19:20 +0000 (UTC) In-Reply-To: <87bl1imhnd.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 15 Dec 2021 08:49:58 +0100") X-Mailer: WebService/1.1.19415 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.190.148; envelope-from=luangruo@yahoo.com; helo=sonic315-22.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:281988 Archived-At: Lars Ingebrigtsen writes: > It would be nice to have such a function (i.e., that says whether it can > be read back after printing it). The problem is, of course, complex > structures that require recursing (and then checking for loops), etc, so > you basically have to implement it the way printing is done if you want > it to be fast, I think? Yes, it would be very convenient indeed. I think the best solution would be to allow `prin1' to optionally return whether or not any unreadable objects were printed, instead of the object itself.