From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Bug: Invalid content in publishing cache: Printed representation of hash table [6.36trans] Date: Thu, 20 May 2010 09:39:00 +0200 Message-ID: <005E9642-15D4-49DE-9828-5460A8DC354D@gmail.com> References: <8739xomkd0.wl%dmaus@ictsoc.de> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=58369 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OF3OW-0000Al-KU for emacs-orgmode@gnu.org; Thu, 20 May 2010 06:54:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OF3OM-0000MD-1w for emacs-orgmode@gnu.org; Thu, 20 May 2010 06:54:28 -0400 Received: from mail-ew0-f216.google.com ([209.85.219.216]:52319) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OF3OL-0000Lh-P0 for emacs-orgmode@gnu.org; Thu, 20 May 2010 06:54:17 -0400 Received: by ewy8 with SMTP id 8so2347490ewy.8 for ; Thu, 20 May 2010 03:54:16 -0700 (PDT) In-Reply-To: <8739xomkd0.wl%dmaus@ictsoc.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: David Maus Cc: emacs-orgmode@gnu.org On May 19, 2010, at 9:16 AM, David Maus wrote: > > Remember to cover the basics, that is, what you expected to happen and > what in fact did happen. You don't know how to make a good report? =20= > See > > http://orgmode.org/manual/Feedback.html#Feedback > > Your bug report will be posted to the Org-mode mailing list. > = ------------------------------------------------------------------------ > > While trying to publish a web page project Org publish throws an > error: > > ,---- > | Debugger entered--Lisp error: (invalid-read-syntax "#") > | eval-buffer(# nil "/home/dmaus/.org-timestamps/=20 > ictsoc-base-dyn.cache" nil t) ; Reading at buffer position 28 > `---- > > The problem is that the .cache file for the publishing project > contains the printed representation of a hash table: > > ,----[ ictsoc-base-dyn.cache ] > | (setq org-publish-cache > | #) > `---- > > What is invalid according to the manual ("Hash notation cannot be read > at all, so the Lisp reader signals the error invalid-read-syntax > whenever it encounters =91#<=92.", 2.1: Printed Representation and = Read > Syntax). Actually - this seems to work for me just fine... Don't know why, because I know that statement in the Emacs Lisp manual =20= as well. Ah, maybe there are different Emacs versions in play? 23.1.90.1 is the =20= one I jut now tried. It does not work in Emacs 22. I would like to still support Emacs 22, so I think we should change =20 how the hash is written out, my using maphash to draw out the key/=20 value pairs when writing, and puthash to build the cache when reading. - Carsten - Carsten