From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Davis Herring" Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.50; savehist save invalid syntax Date: Tue, 4 Sep 2007 15:48:47 -0700 (PDT) Message-ID: <59217.128.165.123.18.1188946127.squirrel@webmail.lanl.gov> References: Reply-To: herring@lanl.gov NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1188946153 10148 80.91.229.12 (4 Sep 2007 22:49:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 Sep 2007 22:49:13 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, Leo To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 05 00:49:13 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IShCp-0007Q0-7N for ged-emacs-devel@m.gmane.org; Wed, 05 Sep 2007 00:49:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IShCn-0007Fz-SE for ged-emacs-devel@m.gmane.org; Tue, 04 Sep 2007 18:49:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IShCj-0007Bc-7T for emacs-devel@gnu.org; Tue, 04 Sep 2007 18:49:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IShCh-00078L-5N for emacs-devel@gnu.org; Tue, 04 Sep 2007 18:49:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IShCg-00077u-Vo for emacs-devel@gnu.org; Tue, 04 Sep 2007 18:49:03 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IShCg-0007gf-LE for emacs-devel@gnu.org; Tue, 04 Sep 2007 18:49:02 -0400 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IShCQ-00027m-SQ for emacs-pretest-bug@gnu.org; Tue, 04 Sep 2007 18:48:46 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1IShCc-0007g3-Vi for emacs-pretest-bug@gnu.org; Tue, 04 Sep 2007 18:49:02 -0400 Original-Received: from mailwasher.lanl.gov ([192.65.95.54] helo=mailwasher-b.lanl.gov) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IShCY-0007fY-Nm; Tue, 04 Sep 2007 18:48:55 -0400 Original-Received: from mailrelay3.lanl.gov (mailrelay3.lanl.gov [128.165.4.104]) by mailwasher-b.lanl.gov (8.13.8/8.13.6/(ccn-5)) with ESMTP id l84Mmqa9013153; Tue, 4 Sep 2007 16:48:52 -0600 Original-Received: from webmail1.lanl.gov (webmail1.lanl.gov [128.165.4.106]) by mailrelay3.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id l84MmmJw032154; Tue, 4 Sep 2007 16:48:48 -0600 Original-Received: from webmail1.lanl.gov (localhost.localdomain [127.0.0.1]) by webmail1.lanl.gov (8.12.11.20060308/8.12.11) with ESMTP id l84Mmmu7028912; Tue, 4 Sep 2007 16:48:48 -0600 Original-Received: (from apache@localhost) by webmail1.lanl.gov (8.12.11.20060308/8.12.11/Submit) id l84MmlMM028910; Tue, 4 Sep 2007 15:48:47 -0700 X-Authentication-Warning: webmail1.lanl.gov: apache set sender to herring@lanl.gov using -f Original-Received: from 128.165.123.18 (SquirrelMail authenticated user 196434) by webmail.lanl.gov with HTTP; Tue, 4 Sep 2007 15:48:47 -0700 (PDT) In-Reply-To: User-Agent: SquirrelMail/1.4.8-6.el3.2lanl X-Priority: 3 (Normal) Importance: Normal X-CTN-5-MailScanner-Information: Please see http://network.lanl.gov/email/virus-scan.php X-CTN-5-MailScanner: Found to be clean X-CTN-5-MailScanner-From: herring@lanl.gov X-Detected-Kernel: Linux 2.4-2.6 X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:77779 gmane.emacs.pretest.bugs:19735 Archived-At: > I think the best approach is to discard any element of command-history > that contains anything unreadable. If the arguments of a command > include a mouse event, repeating it in another session won't make much > sense anyway. With this much complexity, my temptation would be to provide a print-readable function (or an optional argument to an existing printer) that signalled if it were asked to print something that has no read syntax. Of course, this could be done in Lisp by recursively checking the type of every element of every sequence, but that would traverse the tree twice and would fail on circular structures unless `print-circle' were duplicated within it. Davis -- This product is sold by volume, not by mass. If it appears too dense or too sparse, it is because mass-energy conversion has occurred during shipping.