From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Save and load window states Date: Tue, 20 Dec 2011 10:53:00 -0800 Message-ID: <6B835243FDE041899C5BA02F1CF40FB1@us.oracle.com> References: <4ef0b02d.0d0a0e0a.60bc.080d@mx.google.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1324407209 18299 80.91.229.12 (20 Dec 2011 18:53:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 20 Dec 2011 18:53:29 +0000 (UTC) To: "'Michael Bach'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 20 19:53:25 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rd4oV-0007qd-Jb for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Dec 2011 19:53:23 +0100 Original-Received: from localhost ([::1]:37812 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rd4oU-0006dh-Lq for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Dec 2011 13:53:22 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:53162) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rd4oM-0006dQ-01 for help-gnu-emacs@gnu.org; Tue, 20 Dec 2011 13:53:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rd4oH-0001vs-UC for help-gnu-emacs@gnu.org; Tue, 20 Dec 2011 13:53:13 -0500 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:51602) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rd4oH-0001vm-O8 for help-gnu-emacs@gnu.org; Tue, 20 Dec 2011 13:53:09 -0500 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id pBKIr6e2027134 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 20 Dec 2011 18:53:07 GMT Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id pBKIr5Rv004721 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 20 Dec 2011 18:53:06 GMT Original-Received: from abhmt120.oracle.com (abhmt120.oracle.com [141.146.116.72]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id pBKIr5KA030486; Tue, 20 Dec 2011 12:53:05 -0600 Original-Received: from dradamslap1 (/10.159.57.98) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 20 Dec 2011 10:53:05 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <4ef0b02d.0d0a0e0a.60bc.080d@mx.google.com> Thread-Index: Acy/QSaziu6WmSfsTyG6Jy/Rp8voAgABr/yA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-CT-RefId: str=0001.0A020209.4EF0D994.0061,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 141.146.126.227 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83232 Archived-At: > I am trying to get saving and loading window states to work. > I am using the new `window-state-get' and `window-state-put' > functions from emacs 24:... > Saving works this way. The file has the same contents shown in the > *Messages* buffer when doing a manual `window-state-get'. On > loading, I get either "Invalid read syntax #" or "End of file > during parsing". In the documentation of the `window-state-get' > function it says: Sounds like a bug: `M-x report-emacs-bug'. My guess is it's trying to read something like this, contained your overall sexp, and is choking on the #))