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 18:44:29 +0800 Message-ID: <87bl1iqh9u.fsf@yahoo.com> References: <87bl1imhnd.fsf@gnus.org> <87r1aetgdn.fsf@localhost> <871r2eryaz.fsf@yahoo.com> <87o85itbiw.fsf@localhost> <87sfuuqic1.fsf@yahoo.com> <87ilvqtasn.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9436"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux) Cc: Lars Ingebrigtsen , emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 15 12:41:04 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 1mxSed-0002FW-V4 for ged-emacs-devel@m.gmane-mx.org; Wed, 15 Dec 2021 12:41:03 +0100 Original-Received: from localhost ([::1]:33474 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxSec-0002ia-WB for ged-emacs-devel@m.gmane-mx.org; Wed, 15 Dec 2021 06:41:03 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42298) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxRm3-0003wt-O6 for emacs-devel@gnu.org; Wed, 15 Dec 2021 05:44:39 -0500 Original-Received: from sonic302-21.consmr.mail.ne1.yahoo.com ([66.163.186.147]:41449) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mxRm1-00045t-NV for emacs-devel@gnu.org; Wed, 15 Dec 2021 05:44:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1639565076; bh=QfKc+3M0UZSxuZC9wRRmh98/rHhb06+ad0RGMi5f8Sc=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=Q3UzUB4+ju8pQUO4Oqg2KckuVKTWdKxDSDcXlhApMnJgkhfvKh8QpmneUw/CUKoBAbUOnhc1OJjH+jY3MNjVFa0L0KPkWgtJbq3cWtWEGAFElZ/j+utKhUbgnJmvYDcDg2Vj8eMT3yCJTTbSuN23wDd1BuwuonopsHRUJ/KXZrWipVbQgxeAzvvhlVhES88iwdvCMdJGjhy7VZcEgEs0FGKO2F7FK6luzT/CkF6LCsWY1qsLaRrSdcky3CHGsbwgAZ9vAuKFkTMPDPqyfElxKjfzVZ1HmlgkSrVhUahgioRIGYkij9d70mUKTv31k+Y9HyElBqEHgA6DLUJERSaAcQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1639565076; bh=5HzZ3nZu1EV7Mb5zsLbg6dOP/D7/4JD9yGf1cYzRg2Z=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=XJYsuEHX/PGcj2TCuNpTwktLrxIIAar+vcMSGMndUF+4GrA+LelEEMWG6pNKs3NRXJFhK2F4DI9ehxuXypZInPeIVRNl46qjhF/+/aNoPZ9fKF1UkZjGDkbFV/7Nf4bLagZPsfD/oTzh+/opsoYh2SbxAAlPIsoNBIUfd7YuzV8BfpYdr7fIJkzdycQtSK8ohDwd1RcQ/pHJ7PZG2SqD0iQIdweHkMt/wScrfnuJJ4n/64DcN/ihMhAk9HwXh9nPdiJ/bAcdSztAgchALRKgU9cNpebNt4tzRtEl9XqFP4/VvKemfnpkBYLDxI4663H468MLW7i6aeOy9kmhmRYRpQ== X-YMail-OSG: 43QnW8gVM1kb_rHOHEDujkNciCzFMwObILSpW2DvI.xOV.B.q7X.a7ZH5q8Ng0S Sy7MHd3wGpgiKWNJf0tF465NKO5Ohpgy12rnK1ogHGa8feCWIChgs26XdRTxF752.qOSsPX_Lgiy 1heMDrpuBdCKkZNO99GHLRkrWEn1Iu_PeMfgNHyWr1xSz.uXWOczbM.SWmwA6TShy9InnxX_5PaQ 5b7LEcEwGUU6o0XwcG_jQl.g9Czh9ld_zcHmBq1MepD2KbUjaxTtE4qE_P3VnRDC3oNUwoFRtE0Q 19G6SKYIEC30LPNzLWMOOLduWUbH3.CaWwtfk_Z9RnHp8Czj8C1r0f3eMbyU.CYGhQXxE_5EVCRO A_0LYLtJex981WNh1AHiByaXhHpW80vts1dwJ5Cs9IXujrlqjEtflzXLcFsMGmXhKdL9GRyWRUVV 8Ya.zO19F1bwq7P3CbNUIBwO2sqgu2JKte820FCNufoO9yFGYW9P67qmvjd2864zyLP40FnWyCgx g1HV2xP_RMnamnb3IFUxABnvazDunorkzVqYReGz2OGws2XQ5HuJO0IodAOmznqE8lmYlWd5hq6u ZZTA3J9VVlSjIcrfY_FhTSL9aeTjvi8gwi18tzAjnhalMOhmkYo8Yvo2zy4yrJx0x9cMBfArjDsD IcwjC5c.znnzBgkuclPwjl2jUrBi59QrEUkWj1uQ5wXzTGxNw2ycC5Um8lWXwHGoirihwrAmccho jijAnq7A_2gCjqi7LyF_6TnYC88b_336WPvT24hOsvOroApgbt_fZFyWj2nhn.YVBsQJ8RfXshtV wGMK.4V35n2upng0M9M0WmVTWRgu1oWkLkhEFNDtfr X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.ne1.yahoo.com with HTTP; Wed, 15 Dec 2021 10:44:36 +0000 Original-Received: by kubenode518.mail-prod1.omega.sg3.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID c25bc1b5bc2b3014f38fd88021e7aa73; Wed, 15 Dec 2021 10:44:33 +0000 (UTC) In-Reply-To: <87ilvqtasn.fsf@localhost> (Ihor Radchenko's message of "Wed, 15 Dec 2021 18:36:08 +0800") 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.186.147; envelope-from=luangruo@yahoo.com; helo=sonic302-21.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-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:282012 Archived-At: Ihor Radchenko writes: > I don't have strong opinion about print-unreadable vs. > print-throw-if-printing-unreadably, except that the latter feels too > long (which is not a big deal). > I am more interested in the ability to print nil (or something else) > instead of unreadable objects. My motivations is org-element-cache where > we cannot currently store buffer objects because they cannot be restored > from printed cache while not increasing the write time significantly (it > is bad enough as it is). Maybe we could have a `print-unreadable-function' that accepts `printcharfun' as an argument. That would be very nice indeed.