From: Juanma Barranquero <lekktu@gmail.com>
To: gebser@mousecar.com
Cc: GNU Emacs List <help-gnu-emacs@gnu.org>
Subject: Re: problem reading ~/.emacs.desktop
Date: Wed, 16 Sep 2009 10:39:05 +0200 [thread overview]
Message-ID: <f7ccd24b0909160139x62fb514l52551db48997e413@mail.gmail.com> (raw)
In-Reply-To: <4AB09E80.40904@mousecar.com>
[sorry for the previous unfinished post]
On Wed, Sep 16, 2009 at 10:14, ken <gebser@mousecar.com> wrote:
> In the newly created ".emacs.desktop" file (created by the upgraded
> version of emacs), this same argument is displayed as an 'I' with a
> diacritical mark over it-- the same as the old one was in the Debugger.
> (?) The value of that character (as determined by "C-x =") is 205.
?? With Emacs 23.1, the version should be 206 in a newly created .desktop.
I'd like to know what happens when you do the following
- create an empty directory and cd to it
- set HOME to that directory
- create a test file (let's call it test.txt) with a couple lines
- then
emacs -Q test.txt
M-x desktop-save <RET> <RET> ; to create a new desktop file
C-x C-c
followed by
emacs -Q -f desktop-load
> So then I edited ".emacs.desktop" to replace the 'I' with the
> diacritical mark with "205" (without the quotes). And I comment out the
> code in ~/.emacs which invokes "desktop-read" and "desktop-save" and
> reload emacs and run these by hand.
You shouldn't use `desktop-save' and `desktop-read' in you ~/.emacs, just
(desktop-save-mode 1)
is enough.
> Debugger entered--Lisp error: (error "Local variables entry is missing
> the suffix")
> signal(error ("Local variables entry is missing the suffix"))
> error("Local variables entry is missing the suffix")
> This error isn't clear enough for me to figure out.
This is not related to desktop. Emacs is complaining about a problem
with the Local variables section in the file, i.e., the
Local Variables:
one-variable: whatever
another-variable: blah blah
End:
section near the end of the file.
Just out of curiosity: it is possible you're using CRLF files in a
context that does not expect them, or that some of the files have
mixed LF and CRLF line endings?
Juanma
next prev parent reply other threads:[~2009-09-16 8:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-14 22:57 error on start-up: font not defined ken
2009-09-15 3:09 ` problem reading ~/.emacs.desktop [was: Re: error on start-up: font not defined] ken
2009-09-15 9:24 ` problem reading ~/.emacs.desktop ken
2009-09-15 9:37 ` Juanma Barranquero
2009-09-16 8:14 ` ken
2009-09-16 8:30 ` Juanma Barranquero
2009-09-16 8:39 ` Juanma Barranquero [this message]
2009-09-20 3:04 ` ken
2009-09-20 3:29 ` Juanma Barranquero
2009-09-20 9:26 ` ken
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f7ccd24b0909160139x62fb514l52551db48997e413@mail.gmail.com \
--to=lekktu@gmail.com \
--cc=gebser@mousecar.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.