From unknown Fri Jun 20 07:15:33 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#41814 <41814@debbugs.gnu.org> To: bug#41814 <41814@debbugs.gnu.org> Subject: Status: defmethod cl-print-object is not entirely reliable Reply-To: bug#41814 <41814@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:15:33 +0000 retitle 41814 defmethod cl-print-object is not entirely reliable reassign 41814 emacs submitter 41814 akater severity 41814 normal tag 41814 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 11 16:28:55 2020 Received: (at submit) by debbugs.gnu.org; 11 Jun 2020 20:28:55 +0000 Received: from localhost ([127.0.0.1]:38190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjTol-0007AN-Go for submit@debbugs.gnu.org; Thu, 11 Jun 2020 16:28:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:33966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjTbS-0006q4-Vr for submit@debbugs.gnu.org; Thu, 11 Jun 2020 16:15:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41670) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjTbS-0004dl-Mp for bug-gnu-emacs@gnu.org; Thu, 11 Jun 2020 16:15:10 -0400 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:45943) by eggs.gnu.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jjTbQ-00084I-U9 for bug-gnu-emacs@gnu.org; Thu, 11 Jun 2020 16:15:10 -0400 Received: by mail-wr1-x432.google.com with SMTP id c3so7470934wru.12 for ; Thu, 11 Jun 2020 13:15:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=SxjArG5TzLXFF2Vl7s36ap/uf+70utIcMX1EoMl77fU=; b=foCI4Fu7CLudXpQE6+CQNLPSOt3Io5Ku5qN0+P9IZuxvSXshHg7317yhcEG/6rtVyL fJy3y0txuLgfVuJGPTi2OePPmJCtXYMTW4wH/fepHzzII/OiHx8dE5m01iFOrhZ0j3ma Ey+2hcLvz9QXbV1Qm/RlzAmsyUTSnR67DtqyPyj346K1U6xQZ0Gbsg+aprMK0O4p+6ak 0v/lhPVV+/6i2UIb8qZn9hmpn2hRwt7BSymiX/kgvBr6DBY8fksvJ+F75HfJBN6iVvYq UwMEYr+xseAdywElR1YnbJFjNE2KbsSi/zzUbOSh7FM5JkN4Zz8mBpr7ROJ+y8gU/URR miiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=SxjArG5TzLXFF2Vl7s36ap/uf+70utIcMX1EoMl77fU=; b=Dkthu9qw5PgVCcPr8UYgUv3hqnV/YC7gxji5gkKBxM/bQMEihUeDS8Hfajm2C/udH5 v9VLsQJ8k0Pgwsfl6eCOFcoHRcmKvPmpVxxdce08CqFqnwlVAMvujeQwsldzylH9JQu/ FBLt2fdQ7otp/ql7VHqMqMPEH91JiHlOayqj1pBoKigku503IirZ0lkt7BYI2W3QxVx5 zvxpjx0D93y5CJJB3ITLWIxh4ic1mYR9jrFuPDYZKFdAb8vUrvegDMxQlkQGlk0kL2sg 7Y890ckbnpaq8I7GmkRSS6fuzEmkyu3T2UIQOlhDpJThi69wQoe0ihEGq1Gm2EW4/Pgm Ozeg== X-Gm-Message-State: AOAM533Uw3qriXQbrshu5IkkkGdRk8C9qYZCTij6xI/OishsuEyG0kdH aLV7F816kGkL1DGZLCHF5cXkqCA4OUlYwg== X-Google-Smtp-Source: ABdhPJyk2oYQjORD0wr8gQgYpdu0iVTwrN0CSXqbM6CwI1UVEJ0sbO6R6ick+sKK9/hTcbMHAE+Vzg== X-Received: by 2002:adf:f789:: with SMTP id q9mr7651385wrp.251.1591906494561; Thu, 11 Jun 2020 13:14:54 -0700 (PDT) Received: from localhost (tor.iriseden.fr. [163.172.125.41]) by smtp.googlemail.com with ESMTPSA id i8sm6156866wru.30.2020.06.11.13.14.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jun 2020 13:14:53 -0700 (PDT) From: akater To: bug-gnu-emacs@gnu.org Subject: defmethod cl-print-object is not entirely reliable Date: Thu, 11 Jun 2020 20:05:38 +0000 Message-ID: <87ftb1qsfh.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=nuclearspace@gmail.com; helo=mail-wr1-x432.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 11 Jun 2020 16:28:54 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --==-=-= Content-Type: text/plain I'm on Emacs 28.0.50. I believe cl-print-object method code is not used when it should be. emacs -Q C-x b *scratch* RET (require 'eieio) C-x C-e RET (defclass test nil nil) C-x C-e RET (defmethod cl-print-object ((x test) s) (princ "#" s)) C-x C-e RET (make-feature 'test) RET C-u C-x C-e For me, this prints like a structure (?): #s(test) Now, C-x 3 M-x ielm RET (make-feature 'test) RET This does make use of cl-print-object method: # Structure method seems to also be used in org-babel evaluations. --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJe4o6YAAoJELK+sWGx7H9ERmEP/0meKR3T+/VzZx5m3Q8X8jat oHpwiER3gmVFMCWLsCbZczTkDxLCXwJ2YDXoE/b8eUVMb0f3+5pGzQ05t8dAAoye /nxVs9HNurPBziMCnJcPTG/zVUivG9pPzBHWZd8sIu064lZ9ctZycSpdmXDAOhHc OjJSXD45NVA7BFRru//XAJY4Y1tzIDw3bAH9u/b0oie5y7ugBJFRRA9YhqvVgL37 STa4187sW/FfM27zzpUx/z/+IXev7+c8BAELfJcME+9gXSxp2XdLkw8wFKGi2Yul x6/yI+8QpyzH/R+DFRBtAaUvghf8SAHYfueQ1F3zpTcDqTwXLZh4jRIfZvY45esV UifDy6GRG2Wb6NlJ7PHlNq/lKEzwTKH3VnCi97HGiUsNSclQhZ+8J1Apgn1OfV+9 N0MSoTjtJ7QBrd/1XboIsbv1cxOTJdn6CjWEpObxPIz3rxBw/zthFZTBsjxwjixc UuyvdMa5CNN14PJkaLvxFQp0rgw6JBOsFW+ZN3JYkmOL/pYWrTAJDRnwRZxmkaMp pww3uAk/vvfce3jhzBaWT9g1d1kq8cQo0c+NLBGujl58GGe+A4UdWXMrvNC+LnBL Av8h3ri73rqNTCVgWc7+ajyb1xhVfGD7CEt6r88O6m3E3FLEuvBNgXOeh8NIlDgq yt7A0sWpaK3Fu8KnyKqs =p1aD -----END PGP SIGNATURE----- --==-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 12 06:26:32 2020 Received: (at 41814) by debbugs.gnu.org; 12 Jun 2020 10:26:32 +0000 Received: from localhost ([127.0.0.1]:38910 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjgtL-0006xM-Vs for submit@debbugs.gnu.org; Fri, 12 Jun 2020 06:26:32 -0400 Received: from mout.web.de ([212.227.15.4]:38597) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjgtI-0006x6-Os for 41814@debbugs.gnu.org; Fri, 12 Jun 2020 06:26:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1591957581; bh=EwS02Teg/tvJwmNEd1mFxAoT8mrS0IQWb67FO5pQUpQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=iwacs+6g671nNqetn8Gu5e/0+tdam/a8eGssxNczDzBJAmjgskWbOBxneRrUrTgNY 6yz2BdYzVBYFgCronE33FJLvbUErIsfY4gC1VGgvBr6WkfolpI4ulGFJ2KO4OrV6re NQU66ols3SLpn41VzfnU/3mRfcUg8hKU1sMid3uM= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from drachen.dragon ([94.217.119.187]) by smtp.web.de (mrweb005 [213.165.67.108]) with ESMTPSA (Nemesis) id 1N9479-1ioraU22rf-0167Th; Fri, 12 Jun 2020 12:26:21 +0200 From: Michael Heerdegen To: akater Subject: Re: bug#41814: defmethod cl-print-object is not entirely reliable References: <87ftb1qsfh.fsf@gmail.com> Date: Fri, 12 Jun 2020 12:26:20 +0200 In-Reply-To: <87ftb1qsfh.fsf@gmail.com> (akater's message of "Thu, 11 Jun 2020 20:05:38 +0000") Message-ID: <878sgs4m2b.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:S9xYLI4wnaxwmDsJ5vku+VSXB3/QOIikgHpI8TfzNtolt7iVi84 HOuTx9KvKz5wOZyAIqr0dahdpPFpSFpeE/gM/ZQ5qEAmUvGfErOvIOAOT7LONOmCZDWBltu AdIX0biaCmy+Ic13Cqzwn6s8cec9/NYTnh3DzDboVp0ro4MnvfamcZvqqHZDrBKQb9SofmL pz6coc41Wi2RY46QQ6KIQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:KLosycSteyk=:KMIEEEcDwYmSIxUc3aW472 FXadZmuRuutWRei8BSR11DObvSsrK96nxK19DpUcGQ9b4vtai+hh+hdWFo8RXBRAPcLBjJ/uh a9OIffGrZDlMImeudy6P+ovAvkzGfUpIHXOdm2lFy2A+bYPF5OxnDeMLNeHCiusfgbY5RF0+O ckaAJLmuYIBN1nkcM6Q9nwUZ9WBTog+kL2UQwzE8pfjQ4pWedkvduqu8sw9nqsCDzv2BVbglQ 3Si8S/OW8VF76jR5zatRtu4PTuauaGT2PtKk8cGR+NJoSfX6fsI1pAw9sfljEGztLi86X8wmk SPuEZ3t+py8wCTj2FS98snw5hm43h/JnQw82DnwFwSPAcB+Xv8sp1pH2cL0ep+jcPgsMhalUV rfmPu/2BiD25ek/sYVDyoVlvO/ZtOsm6e4QkdUw7BNBjyjX4fLiJkX9rQxC3XtjdnpQyCMDnw xKSgt9lhtwt7hwYVDcciRTFfiT8wAlJBIQroyLOBum84Ym1UH5rA5XkLeBV0+aATiGpVTcuay 7GbdaiHKDcDARHCnSsFO9ddlCv/QNkKJXeSgJEc893DCvv4D0PyhSMVR+UTSPKXScPzvJMR9Q HAgWkwjRBVFfL56VljdfxPgH3jy1RHYJ11vWqDIcOcDZip8NtRLTL8bVNVVNOwC/Xte4Y16Ls qKEG/Z63hJGANEXcGasr3CaETNZcU59uomRRe8Fl8filbhRrXCwaysWt3XmPOwht1ASkCTXDZ f6ZEgc8tElQ9VOHIKJhpyDPZ8vxGDOjnYxY/pYPBQXKpl3e2c1v/tPAAUd6Oz5swb3pHU7BuD j0eg9Hg0PYFeW3NaI9tQ7uViZOV9AN6I3XjBwvSTtxYY3lCWu2On/E4SUqS5wLi7qrrL8DKYB VxLOAqQ7Bp7UEQib6I4JrHzwU6rdhyelIxaT23NUpx1/iDUDH5UyinOxYIy6qaqs9QkY1+r8v aMk5JvU9VsqZtOdYxcAHSCTT2RyarFD/I5jTq51FKPzKoucPJaV144sdsG0qr/fvswYcXPih7 CqThoeLbOWhoSTqw/tnEJScbFNQJw3ScmojkQNaa35X9ewMP9zUsZtYa2eNW6peRYf708K+YO jYGwY2dpmrDAJYCMNrOzAvGvT7qOkynmNQ8CcvWQVC/GGspN1yLyVNhwU7t5IGEt9UfvHBzmu 8nEimxLap9CwOncaY+tugUzTCZPHyONARvAZ1gHEBTe4KgJLlChox8kNkFvot0O8DJUBi+hh/ SxNSk8xnaITkh4cK2 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 41814 Cc: 41814@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) akater writes: > I'm on Emacs 28.0.50. I believe cl-print-object method code is not > used when it should be. > (make-feature 'test) RET C-u C-x C-e > > For me, this prints like a structure (?): #s(test) Yes, this doesn't use cl-print at all. And I think that makes sense: when inserting a value into a buffer, readability is important (that doesn't make a difference in your case, though). We have different printers now in Elisp, and implementing cl-print-object only has an effect when cl-print is used. I dunno if that fact could be better documented to avoid this kind of confusion. Michael. From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 06 15:10:43 2020 Received: (at 41814) by debbugs.gnu.org; 6 Jul 2020 19:10:43 +0000 Received: from localhost ([127.0.0.1]:34899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jsWVm-0006nn-Qc for submit@debbugs.gnu.org; Mon, 06 Jul 2020 15:10:42 -0400 Received: from mail-wr1-f51.google.com ([209.85.221.51]:42751) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jsWVl-0006nY-3E for 41814@debbugs.gnu.org; Mon, 06 Jul 2020 15:10:42 -0400 Received: by mail-wr1-f51.google.com with SMTP id o11so42413559wrv.9 for <41814@debbugs.gnu.org>; Mon, 06 Jul 2020 12:10:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=CjmytC5K6FCerN7aaztlWDRbL1mzXjcD920Jknj1zYA=; b=aHna/TsIzkXH85LUJL+jsYMu8ex+1bkUEe2qXU3bXwhls+uP7e/e/Eea1I08KAeb0i tprOGylrYZSLW63NdvoHSMJ/YgV/4t8ziJK/RUI1Sqe0HVNZy44VBFsBAVHWAcSW8JkH /vGKqNVCrhoXy7MRMDOAGQCXOKl//r9NNC0rvyphKO7s9nr4lU1YTh6QvRgTQwCzGp+i Eu75Ewkgsi0NY5a6Az0M8zs1vWDN4nKuXRBwGZrfCMU+mGzqvAWIRFrnQ2UbgXVT3tfO iJcKQRTtMOSa8H11k9RjGX7fBfPFzPBn+k3m/cQyDFMtHrinGu1v1+1BcUgSDN9Pwdkm 5yDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=CjmytC5K6FCerN7aaztlWDRbL1mzXjcD920Jknj1zYA=; b=W5uLrl1uNuhaTja8EmrPHZjKLJCsJV1bvjlm0uE6YJSNuAGXQ51SYrcVbEuCGIyaVo 18TjJ3i0oUT1lJiaBL1AeZjRWL+bjPDGSAIJrxCm2lXfPPXQpTe/nIh22h+BdggHdLDn s2PbKfinh6qtFsdPQamVl1Nu1hs2k5BiYXu06k/uLidGJqo3wareBWCgvrHCVsy1AiyC dHo3fqYEb+yTXCwHPvxZVftYzckaPDdEbB7n0iuG3GPrvHFIcMbtcKg7rpnUENkXxP+F hZrC09rIdD5mjhy+1Bv+msqV7t3p8NODLl8LvtZqVeWtMLFgHH3F1pVoMY8NvnRq7xwG UDkw== X-Gm-Message-State: AOAM533eBHyiLEyUaFQYdSXI4XQGMnbo1DFO9rbDpbhq3EucPiOxiXOp fSAec08n7M7aAUpfu/lefq8= X-Google-Smtp-Source: ABdhPJzhfQFIUZEpEcuzbgBEHFZweDzgM4tHEVo2ITW3ZbeIwxIivGwpt6/tR/ErnT9cPixWQUKEMw== X-Received: by 2002:a5d:6452:: with SMTP id d18mr49797530wrw.284.1594062635129; Mon, 06 Jul 2020 12:10:35 -0700 (PDT) Received: from localhost (ns31251136.ip-54-38-81.eu. [54.38.81.231]) by smtp.googlemail.com with ESMTPSA id g145sm581313wmg.23.2020.07.06.12.10.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Jul 2020 12:10:34 -0700 (PDT) From: akater To: Michael Heerdegen Subject: Re: bug#41814: defmethod cl-print-object is not entirely reliable In-Reply-To: <878sgs4m2b.fsf@web.de> References: <87ftb1qsfh.fsf@gmail.com> <878sgs4m2b.fsf@web.de> Date: Mon, 06 Jul 2020 19:01:12 +0000 Message-ID: <873664wjrb.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Michael Heerdegen writes: > Yes, this doesn't use cl-print at all. And I think that makes sense: > when inserting a value into a buffer, readability is important (that > doesn't make a difference in your case, though). Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.221.51 listed in list.dnswl.org] 1.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net [Blocked - see ] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (nuclearspace[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.221.51 listed in wl.mailspike.net] X-Debbugs-Envelope-To: 41814 Cc: 41814@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) Michael Heerdegen writes: > Yes, this doesn't use cl-print at all. And I think that makes sense: > when inserting a value into a buffer, readability is important (that > doesn't make a difference in your case, though). I'm afraid I disagree. Why would anyone write a printing method if they didn't aim for better readability in the first place? My example was an MWE. This behaviour concerns me because I have classes with plenty of slots, and I actually often return /a tree/ of corrsponding objects. It certainly looks less readable when cl-print is not used. The whole point of defining a printing method is to have fine-tuned printed represntations. If it's not actually used [everywhere, of course] I just don't understand why it's there at all. IELM, too, =E2=80=9Cinserts value into a buffer=E2=80=9D so I don't really = get this distinction either. I'd have my personal itch scratched if I could at least specify cl-print use in Org blocks but this doesn't feel right at all. Does Emacs have object inspector? If not, I'd guess its lack is the real reason behind the desire to keep overly detailed output in some places. From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 13 07:23:45 2021 Received: (at 41814) by debbugs.gnu.org; 13 Jun 2021 11:23:46 +0000 Received: from localhost ([127.0.0.1]:42773 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsODR-0001mA-K5 for submit@debbugs.gnu.org; Sun, 13 Jun 2021 07:23:45 -0400 Received: from quimby.gnus.org ([95.216.78.240]:52960) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsODO-0001lq-Q6 for 41814@debbugs.gnu.org; Sun, 13 Jun 2021 07:23:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=44DieeWUXpqWQrepFuv7D+FDBZsfwB1nl50Lz/sbfjY=; b=B+7vOzcIf53rii5Dr0lqvR8qZZ +8GaV8hskYFkEI8HKNxBVZpu6TZPHM1N8IVmeo9tQB2hWx1ZrTRX8LyVPoeRmBOzhC09m823eCdbU /K6OC28N/ggnYGaCFKL9iDeAr917PcF9rrOX2FQSYarqsPfMqhZEJwTtmU3ScYzeUqOc=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lsODG-0003NB-Ez; Sun, 13 Jun 2021 13:23:36 +0200 From: Lars Ingebrigtsen To: Michael Heerdegen Subject: Re: bug#41814: defmethod cl-print-object is not entirely reliable References: <87ftb1qsfh.fsf@gmail.com> <878sgs4m2b.fsf@web.de> X-Now-Playing: Boris with Merzbow's _Gensho (4)_: "Akuma no Uta" Date: Sun, 13 Jun 2021 13:23:33 +0200 In-Reply-To: <878sgs4m2b.fsf@web.de> (Michael Heerdegen's message of "Fri, 12 Jun 2020 12:26:20 +0200") Message-ID: <875yyi57pm.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Michael Heerdegen writes: > Yes, this doesn't use cl-print at all. And I think that makes sense: > when inserting a value into a buffer, readability is important (that > doesn't make a difference in your case, though). > > We [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 41814 Cc: akater , 41814@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Michael Heerdegen writes: > Yes, this doesn't use cl-print at all. And I think that makes sense: > when inserting a value into a buffer, readability is important (that > doesn't make a difference in your case, though). > > We have different printers now in Elisp, and implementing > cl-print-object only has an effect when cl-print is used. Yup -- I don't think there's a bug here. The standard Emacs eval/printing commands aren't affected by the cl print definitions, but instead uses a slew of different things to DWIM the printing, and we can't change that. > I dunno if that fact could be better documented to avoid this kind of > confusion. I don't think anything in our documentation (as far as I know) should lead anybody to think that doing something in cl-print should affect `C-u C-x C-e', so I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 13 07:23:49 2021 Received: (at control) by debbugs.gnu.org; 13 Jun 2021 11:23:49 +0000 Received: from localhost ([127.0.0.1]:42776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsODU-0001mQ-Sy for submit@debbugs.gnu.org; Sun, 13 Jun 2021 07:23:49 -0400 Received: from quimby.gnus.org ([95.216.78.240]:52976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsODT-0001lz-Hk for control@debbugs.gnu.org; Sun, 13 Jun 2021 07:23:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=XVienEbfOw3rzbSId4zLpzvDaQv+VIy/tBfOHJS/6Cs=; b=a2ayUWLKgxS73qt8OkH9zCsGWi HMrY4hkNUc6LJO0LQj01yyNa5RFFeyR22MoxJszUBlaaNWYmYToBa2f1b7Ej0B1bbW5XjP4tHu058 NJuxq47EJ55CUblmPiwkoP3i/y63dn3V9SVLkYXKwaojfp7HzeK7LkHMipfuPQ+qKsJA=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lsODM-0003NL-5b for control@debbugs.gnu.org; Sun, 13 Jun 2021 13:23:42 +0200 Date: Sun, 13 Jun 2021 13:23:39 +0200 Message-Id: <874ke257pg.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #41814 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 41814 notabug close 41814 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) tags 41814 notabug close 41814 quit From unknown Fri Jun 20 07:15:33 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 12 Jul 2021 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator