From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#29220: 26.0.90; eieio-persistent-read fail to restore saved object. Date: Fri, 01 Dec 2017 09:25:06 -0800 Message-ID: <87lgimpdhp.fsf@ericabrahamsen.net> References: <87y3nga0lv.fsf@killashandra.ballybran.fr> <87po8s8k02.fsf@ericabrahamsen.net> <87zi7udorn.fsf@killashandra.ballybran.fr> <8760aim2a5.fsf@ericabrahamsen.net> <87375j2tzd.fsf@users.sourceforge.net> <87inecwl1v.fsf@killashandra.ballybran.fr> <87y3n81eq7.fsf@users.sourceforge.net> <87h8ts1cfp.fsf@users.sourceforge.net> <87zi7kyzcf.fsf@ericabrahamsen.net> <87efov1zzn.fsf@users.sourceforge.net> <87h8trzc6e.fsf@ericabrahamsen.net> <87bmjz0xez.fsf@users.sourceforge.net> <87zi7cpooo.fsf@killashandra.ballybran.fr> <87h8tkzgef.fsf@users.sourceforge.net> <87zi76f5hj.fsf@killashandra.ballybran.fr> <87shcycavk.fsf@ericabrahamsen.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1512154313 9835 195.159.176.226 (1 Dec 2017 18:51:53 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 1 Dec 2017 18:51:53 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 29220@debbugs.gnu.org, Pierre =?UTF-8?Q?T=C3=A9choueyres?= , Noam Postavsky To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 01 19:51:47 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eKqPX-00021Q-UT for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Dec 2017 19:51:44 +0100 Original-Received: from localhost ([::1]:59686 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eKqPc-0004Be-Ae for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Dec 2017 13:51:51 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40090) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eKp5d-0000kq-Om for bug-gnu-emacs@gnu.org; Fri, 01 Dec 2017 12:27:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eKp5b-0005KV-4r for bug-gnu-emacs@gnu.org; Fri, 01 Dec 2017 12:27:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59891) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eKp5a-0005JI-Ud for bug-gnu-emacs@gnu.org; Fri, 01 Dec 2017 12:27:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eKp5a-0004AS-DH for bug-gnu-emacs@gnu.org; Fri, 01 Dec 2017 12:27:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Dec 2017 17:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29220 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29220-submit@debbugs.gnu.org id=B29220.151214921916012 (code B ref 29220); Fri, 01 Dec 2017 17:27:02 +0000 Original-Received: (at 29220) by debbugs.gnu.org; 1 Dec 2017 17:26:59 +0000 Original-Received: from localhost ([127.0.0.1]:40339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eKp5X-0004AC-Hs for submit@debbugs.gnu.org; Fri, 01 Dec 2017 12:26:59 -0500 Original-Received: from mail.ericabrahamsen.net ([50.56.99.223]:47884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eKp5V-0004A4-ND for 29220@debbugs.gnu.org; Fri, 01 Dec 2017 12:26:57 -0500 Original-Received: from localhost (71-212-22-173.tukw.qwest.net [71.212.22.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 1B8D0C04DA; Fri, 1 Dec 2017 17:26:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mail.ericabrahamsen.net; s=mail; t=1512149216; bh=2WHglqnJZYNNvPTMmW/c2ehMdRq54znvIdeucMZl3dI=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=DD1CQWk9G0eN6nsQfFYE5uRB0jIhsbM2R64NWgUgDU4hybL66wdS1nW95V4kIDP/w r8GF0+jUs+xx50j1PWiAjzgPfAEL25ibzScJT0h42juMRtvuIFKdM4vgH5F5YFImks 5WhFt80k2flwqSnQTR1SbLhYbI84X0mvj4pulLzQ= In-Reply-To: (Stefan Monnier's message of "Wed, 29 Nov 2017 10:15:28 -0500") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:140590 Archived-At: On 11/29/17 10:15 AM, Stefan Monnier wrote: >> That's exactly what Noam was saying! The implementation of objects >> changed from 25 to 26, and thus their printed representation also >> changed. > > Indeed. But the subject mentions "...eieio-persistent-read..." and > eieio-persistent was designed specifically to try and avoid dependence > on how Emacs represents EIEIO objects. The problem here is that > eieio-persistent doesn't support hash-tables, so the EIEIO objects in > the hash-tables are printed with `princ` (i.e. in all their internal > glory) rather than going through eieio-persistent. > > So I think the real fix here is to extend eieio-persistent with support > for hash-tables. Just hash tables? How about vectors? There seem to be many places where objects could be hiding...