From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.pretest.bugs,gmane.emacs.devel Subject: Re: Loading an output from prin1 (savehist bug). Date: Thu, 25 May 2006 22:22:25 -0400 Message-ID: References: <874q07xfm5.fsf@lrde.org> <87odxoslsr.fsf@lrde.org> <8764jubadb.fsf@lrde.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1148610359 15925 80.91.229.2 (26 May 2006 02:25:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 26 May 2006 02:25:59 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, michael.cadilhac@lrde.org, emacs-devel@gnu.org Original-X-From: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Fri May 26 04:25:57 2006 Return-path: Envelope-to: gebp-emacs-pretest-bug@gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FjS1R-0000wC-So for gebp-emacs-pretest-bug@gmane.org; Fri, 26 May 2006 04:25:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FjS1R-0002ao-7G for gebp-emacs-pretest-bug@gmane.org; Thu, 25 May 2006 22:25:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FjRy7-0000Fu-4r for emacs-pretest-bug@gnu.org; Thu, 25 May 2006 22:22:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FjRy6-0000Fb-IS for emacs-pretest-bug@gnu.org; Thu, 25 May 2006 22:22:26 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FjRy6-0000FO-Dw; Thu, 25 May 2006 22:22:26 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FjS2t-0004Xg-Ny; Thu, 25 May 2006 22:27:23 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1FjRy5-0000ja-Jx; Thu, 25 May 2006 22:22:25 -0400 Original-To: Stefan Monnier In-reply-to: (message from Stefan Monnier on Thu, 25 May 2006 10:23:20 -0400) X-BeenThere: emacs-pretest-bug@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for CVS Emacs." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Errors-To: emacs-pretest-bug-bounces+gebp-emacs-pretest-bug=gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.pretest.bugs:12188 gmane.emacs.devel:55307 Archived-At: >> Solution #1 seems simplest; is there any reason why you need to put >> these markers in args to commands? I think those uses of prin1 really call for some way to reliably print data in a lisp-readable form. I.e. a variant of prin1 (or a way to tell prin1) that ignores print-depth and friends and which signals an error when it encounters an element that it can't print readably (e.g. a marker, a hash table, ...). This is a very complicated project, and I think that with the added complexity it would be a change for the worse.