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:38:34 +0200 Organization: JURTA Message-ID: <87oe2rb2mt.fsf@jurta.org> References: <87fyo469gn.fsf@jurta.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1136444102 19418 80.91.229.2 (5 Jan 2006 06:55:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 5 Jan 2006 06:55:02 +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:55:00 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 1EuP1X-0005no-K8 for ged-emacs-devel@m.gmane.org; Thu, 05 Jan 2006 07:55:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EuP3C-000834-0Y for ged-emacs-devel@m.gmane.org; Thu, 05 Jan 2006 01:56:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EuP0V-0007we-6G for emacs-devel@gnu.org; Thu, 05 Jan 2006 01:53:56 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EuP0Q-0007w8-8j for emacs-devel@gnu.org; Thu, 05 Jan 2006 01:53:51 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EuP0P-0007w5-RT for emacs-devel@gnu.org; Thu, 05 Jan 2006 01:53:50 -0500 Original-Received: from [194.126.101.98] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EuP1v-00055F-KK; Thu, 05 Jan 2006 01:55:23 -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 2D0B5CB52; Thu, 5 Jan 2006 08:52:16 +0200 (EET) Original-To: rms@gnu.org In-Reply-To: (Richard M. Stallman's message of "Wed, 04 Jan 2006 22:46:12 -0500") 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:48742 Archived-At: > Perhaps Emacs should provide a general purpose function (like > `desktop-value-to-string') to print Lisp-readable expressions. > > Doesn't prin1-to-string do that? `read' still can fail with "invalid-read-syntax #" on a string returned by `prin1-to-string', e.g.: (read (prin1-to-string (current-buffer))) -- Juri Linkov http://www.jurta.org/emacs/