From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Towards a cleaner build: eieio Date: Thu, 13 Jun 2019 15:40:08 +0200 Message-ID: References: <83zhn6zkgf.fsf@gnu.org> <83a7eo9nsh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="22541"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 13 16:27:02 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hbQgv-0005gK-AH for ged-emacs-devel@m.gmane.org; Thu, 13 Jun 2019 16:27:01 +0200 Original-Received: from localhost ([::1]:40370 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbQgt-0001PM-TF for ged-emacs-devel@m.gmane.org; Thu, 13 Jun 2019 10:26:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54531) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hbPxn-0003mg-Ml for emacs-devel@gnu.org; Thu, 13 Jun 2019 09:40:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hbPxk-0005QJ-Po for emacs-devel@gnu.org; Thu, 13 Jun 2019 09:40:23 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:52350) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hbPxf-0005KA-9n for emacs-devel@gnu.org; Thu, 13 Jun 2019 09:40:17 -0400 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hbPxY-0000Jd-RL for emacs-devel@gnu.org; Thu, 13 Jun 2019 15:40:11 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEWKgoDr5+S0q6dSLikp DAxmXFu1o8AQAAACa0lEQVQ4jU2TwbaqMAxFA9o5rZd5Gy9zMe3ctyjzQs3//8pNKvqMC1h2k5Oc tMDAAIZrYuba2f8BAwAwF1/6HoO1vDEH0ykoUIqwwgwC8lxXLA2IkKyWwkZfxFCpC01Kl6GgR9QM QfiuYbgAS/HEnXNuQOzRoYWRRUpC790v8z5tW+Lb0ZX0pVU6P6Ub7fdk7g00Jxqbil9vRw0R0ZZk HdRgoPoGNSWurFdJFifwLzCmd2mu1Qf85WtwyQYYd62caCGizVs857wOgAOMZTdsQKPO0kSWsGJF AHjWvmQsnYsnBYDyG+8YrpSqss3RVcFSE8DoeXenVLguz9nRbwNECUbszW5IZpF4HtJT1tdKiWF8 TL3LiZ+F0zY2kHMhAUZ8S8cJELuLgueyGiKZbmnu0Js6D8VQ/nlcjNYo6g/qiajOCP0Ux8fPImDg 9BotP/PssPfkHiOL1CAW5Em1xjxbNBDt4iCuYK0L9iG7ey6Q+BMVLHK/3RF13jR4mVJA38s/N52X W149AObFOXkj9DLQEWwU7bzqgIna6UE9QEMD297hhB5OCsDo+RJQa+5SaRVX3VM5L3J3YC997qLI Il4FSBF/SF1MnqOcBZnjIsDsso1BM66U/0U97HxqUjKWJuVqTTLlZippRz20xsCVgv3br0ggiCW9 HJTPHHb5iAy8UsDpjlGO+rhbsW7RWac1ZOdrIo04f3+cAiLRBzgMYiW40DKUxK8MZ6EIeC/HL6kT tww61GZ8p8iuHV2R3ONdvhv9cnXrD7DQq90jwcPh44gDeG3rBaTOFzj37gW0IYpi/v7pSp3HrF0d UuED/gC6e8GtCTaUYgAAAABJRU5ErkJggg== In-Reply-To: (Lars Ingebrigtsen's message of "Thu, 13 Jun 2019 14:09:19 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 80.91.231.51 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:237511 Archived-At: In toplevel form: emacs-lisp/eieio.el:851:13:Warning: `object-print' is an obsolete function (as of 26.1); use `cl-print-object' instead. It's this code. (cl-defmethod cl-print-object ((object eieio-default-superclass) stream) "Default printer for EIEIO objects." ;; Fallback to the old `object-print'. (princ (object-print object) stream)) But: (cl-defgeneric object-print (this &rest _strings) "Pretty printer for object THIS. [...] (declare (obsolete cl-print-object "26.1")) (format "%S" this)) Can't cl-print-object for eieio-default-superclass just call format directly? Am I missing something subtle here? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no