From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Rob Walker" Newsgroups: gmane.emacs.help Subject: Re: Wrong type argument:listp, \.\.\. Date: 27 Apr 2005 09:11:40 -0700 Organization: http://groups.google.com Message-ID: <1114618300.080410.130210@l41g2000cwc.googlegroups.com> References: <877jipigem.fsf@not.no> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1114618193 6041 80.91.229.2 (27 Apr 2005 16:09:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Apr 2005 16:09:53 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 27 18:09:51 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DQp67-0006FU-9U for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Apr 2005 18:09:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DQpC4-0001nL-B4 for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Apr 2005 12:15:20 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!l41g2000cwc.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-NNTP-Posting-Host: 217.140.108.2 Original-X-Trace: posting.google.com 1114618305 30687 127.0.0.1 (27 Apr 2005 16:11:45 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 27 Apr 2005 16:11:45 +0000 (UTC) User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: l41g2000cwc.googlegroups.com; posting-host=217.140.108.2; posting-account=xQkg6w0AAAD0Tth3-Skh_b1yaOwj5PoI Original-Xref: shelby.stanford.edu gnu.emacs.help:130521 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:26089 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26089 Try adding this to your .emacs: (defadvice save-place-alist-to-file (around save-place-alist-to-file-force-print-length activate) (let ((print-level nil) (print-length nil)) ad-do-it)) Whats happening is that something is setting print-level and print-length and not clearing them when it's finished (I usually find it's the elisp debugger). When save-place writes it's data, it gets printed out wrongly (i.e. not valid elisp). This hack forces save-place to use the correct values of print-level & print-length. Rob