From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Towards a cleaner build: eieio Date: Sun, 16 Jun 2019 21:03:32 -0400 Message-ID: References: <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="229987"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 17 03:03:45 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 1hcg3k-000xiZ-9V for ged-emacs-devel@m.gmane.org; Mon, 17 Jun 2019 03:03:44 +0200 Original-Received: from localhost ([::1]:43524 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcg3i-0001wo-Lo for ged-emacs-devel@m.gmane.org; Sun, 16 Jun 2019 21:03:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47382) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcg3c-0001wR-VS for emacs-devel@gnu.org; Sun, 16 Jun 2019 21:03:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hcg3b-0006PU-T7 for emacs-devel@gnu.org; Sun, 16 Jun 2019 21:03:36 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:31657) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hcg3b-0006Oo-Mq for emacs-devel@gnu.org; Sun, 16 Jun 2019 21:03:35 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 17DE5100C30; Sun, 16 Jun 2019 21:03:34 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id EA1651009BB; Sun, 16 Jun 2019 21:03:32 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1560733412; bh=FskGRv9lbWWJChFjVvdhwG+4J3YMrdSj7ntZaA8Hkfk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=UVR6FStH455CDzk/5zvxTYbNfQcqzFIB7kw9+RkZ8fe9kwXwtZIEpeNYFJ2TrdgMY 7ut+qZtKW4I/naQk2oAX6zmv85/hWu6RnJDN+U5QSbV3pHwsQ3uGrY1ClQvRVwlBYc V4d1XLylpb7TKryFPQJ09uNki8PQAjDFbrRqcXFWispDFGczJ5nYmWoGJBvYylDt4y vSeC35aFtXE5pw3KgmfXYbRSwootJegOjTmMhWrkbTtlIZSSRknHaxfcMZBfMhK8rK 00ez01eFX/3XNzUgoM/X1I10KRdzgU4fVCCCf4JJNBkiov/EsHnp8LcgGSTWYTfbIp C1srYiaLxn9Iw== Original-Received: from alfajor (unknown [157.52.10.58]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id BC8981202C2; Sun, 16 Jun 2019 21:03:32 -0400 (EDT) In-Reply-To: (Lars Ingebrigtsen's message of "Mon, 17 Jun 2019 00:44:03 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 132.204.25.50 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:237760 Archived-At: >> Hmm... how does this code result in >> >> # > > (eieio-object-name obj) > => "#" > > and it just appends whatever string you give to it after the object... Ha! Cool! >> This said, I'm not sure why we should care very much about preserving >> the detailed output in this particular case, since I don't think the >> rest of code will ever do much with it (it's only for human consumption >> and it's not particularly good at it). > > No, we probably don't care much in this particular instance, but it was > a really simple one to use as a test case. LGTM, Stefan