From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.help Subject: Re: problem reading ~/.emacs.desktop Date: Sun, 20 Sep 2009 05:29:40 +0200 Message-ID: References: <4AAECA72.4050103@mousecar.com> <4AAF054D.8010300@mousecar.com> <4AAF5D4C.2040402@mousecar.com> <4AB09E80.40904@mousecar.com> <4AB59BC3.1000006@mousecar.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1253417442 2981 80.91.229.12 (20 Sep 2009 03:30:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 20 Sep 2009 03:30:42 +0000 (UTC) Cc: GNU Emacs List To: gebser@mousecar.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 20 05:30:35 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MpD8C-0006Qe-Rr for geh-help-gnu-emacs@m.gmane.org; Sun, 20 Sep 2009 05:30:33 +0200 Original-Received: from localhost ([127.0.0.1]:57103 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MpD8B-00044u-P4 for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Sep 2009 23:30:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MpD7n-000429-NX for help-gnu-emacs@gnu.org; Sat, 19 Sep 2009 23:30:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MpD7i-0003v7-Df for help-gnu-emacs@gnu.org; Sat, 19 Sep 2009 23:30:07 -0400 Original-Received: from [199.232.76.173] (port=55348 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MpD7i-0003uu-9e for help-gnu-emacs@gnu.org; Sat, 19 Sep 2009 23:30:02 -0400 Original-Received: from mail-fx0-f205.google.com ([209.85.220.205]:36704) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MpD7h-00024B-UL for help-gnu-emacs@gnu.org; Sat, 19 Sep 2009 23:30:02 -0400 Original-Received: by fxm1 with SMTP id 1so1702913fxm.31 for ; Sat, 19 Sep 2009 20:30:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=ZC0dk0lCrvy/v2qfw3PFbIdUAO+2GGV8zcxqhMmClDM=; b=Mi8UmfnNZG+kJXA3HGwXV+AD/OMyrXNo3YCsJ+khYcZU4znr9v7VFVcJXWZcGhlHaP CzvhDtshCp9VeCnIG85gFTJsT/enUquU+Ct1Sx9WJcTYB/GlsQrDiPjLL5JkLTgMu+jm CYCogiRvTqZPiAATzkl0gw2Y7+Qfk/wociJLI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=ItrsIrHEG4dADog6Hr4n/QqF71eVjg2Xi6t/syF3plXBlr2Bai21e22uNBKYANuW9m AICwxgGw8XGtOJI0eZ8AorpFVjpRMnBvy8iuwsMbe7B4XJTB5S8OKtpnQ60x3nvSA42+ ONhGbYz5FMYCX1zWVU7C0Jy8FR0z5uJwVQuBI= Original-Received: by 10.239.170.18 with SMTP id q18mr236999hbe.50.1253417400116; Sat, 19 Sep 2009 20:30:00 -0700 (PDT) In-Reply-To: <4AB59BC3.1000006@mousecar.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:68317 Archived-At: On Sun, Sep 20, 2009 at 05:04, ken wrote: > Very cool idea. =C2=A0Here's what happened. > After exiting emacs and going back in with "emacs -Q -f desktop-load", I > got the error message in the minibuffer > > Symbol's function definition is void: desktop-load > If, however, I do "M-x desktop-read" test.txt is loaded as expected. Yeah, my mistake, I meant desktop-read. This test shows that your Emacs setup does not have any trouble reading or writing desktop files. So the one that gives you trouble must have some formatting problem or somesuch. I'd suggest just deleting it and recreating it (by loading the files you want to have and then M-x desktop-save'ing). > Hey, you're good. =C2=A0Yeah, I've got some of that in one of my files. = =C2=A0But > what's the "suffix" that's missing? It means that Emacs thinks that the Local Variables section has a format problem; that's why I ask about CRLF vs LF. The Local Variables section is a bit strict about formatting. Entries can have prefixes, for example: -- Local Variables: -- mode: text -- tab-width: 4 -- End: If the Local Variables line has a prefix, all of them must too. Similarly, if there's a suffix: -- Local Variables: =3D=3D -- mode: text =3D=3D -- tab-width: 5 =3D=3D -- End: =3D=3D will work, but -- Local Variables: =3D=3D -- mode: text =3D=3D -- tab-width: 5 =3D -- End: =3D=3D will produce the "missing suffix" error. > Not likely, but, yeah, possible. =C2=A0Occasionally I'll work on a file t= hat > came from Windows. =C2=A0Do you mean an emacs configuration file? =C2=A0G= iven the > results above, is it relevant? It could be relevant in the Local Variables problem. Juanma