From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: savehist-mode: invalid-read-syntax "#" Date: Thu, 05 Jan 2006 08:41:45 +0200 Organization: JURTA Message-ID: <87irsz9nx2.fsf@jurta.org> References: <87fyo469gn.fsf@jurta.org> <85psn8xo0r.fsf@lola.goethe.zz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1136444262 19754 80.91.229.2 (5 Jan 2006 06:57:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 5 Jan 2006 06:57:42 +0000 (UTC) Cc: hniksic@xemacs.org, reiner.steib@gmx.de, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 05 07:57:41 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EuP47-0006Iw-AP for ged-emacs-devel@m.gmane.org; Thu, 05 Jan 2006 07:57:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EuP5p-0008RJ-8d for ged-emacs-devel@m.gmane.org; Thu, 05 Jan 2006 01:59:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EuP0e-0007xY-JG for emacs-devel@gnu.org; Thu, 05 Jan 2006 01:54:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EuP0d-0007xJ-8c for emacs-devel@gnu.org; Thu, 05 Jan 2006 01:54:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EuP0c-0007xF-EA for emacs-devel@gnu.org; Thu, 05 Jan 2006 01:54:02 -0500 Original-Received: from [194.126.101.98] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EuP28-000572-HS; Thu, 05 Jan 2006 01:55:36 -0500 Original-Received: from mail.neti.ee (80-235-34-108-dsl.mus.estpak.ee [80.235.34.108]) by Relayhost1.neti.ee (Postfix) with ESMTP id 51DD25D73; Thu, 5 Jan 2006 08:52:22 +0200 (EET) Original-To: David Kastrup In-Reply-To: <85psn8xo0r.fsf@lola.goethe.zz> (David Kastrup's message of "Wed, 04 Jan 2006 11:53:24 +0100") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee 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:48743 Archived-At: >> Perhaps Emacs should provide a general purpose function (like >> `desktop-value-to-string') to print Lisp-readable expressions. > > You can't make buffers, windows, overlays, yes even markers > "Lisp-readable". They are just not restorable by the Lisp reader and > so one should find out what causes them to be in the history in the > first place. Please look at the functions `desktop-value-to-string' and `desktop-internal-v2s'. Surely, they can't keep and restore the values of buffers, windows, overlays and markers, but at least they don't create unreadable strings. -- Juri Linkov http://www.jurta.org/emacs/