all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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: Tue, 15 Sep 2009 11:37:56 +0200	[thread overview]
Message-ID: <f7ccd24b0909150237ne9a16f5yddcac76a5da7ccf@mail.gmail.com> (raw)
In-Reply-To: <4AAF5D4C.2040402@mousecar.com>

On Tue, Sep 15, 2009 at 11:24, ken <gebser@mousecar.com> wrote:

> My (uneducated) hunch is that desktop-create-buffer doesn't like the
> first argument.  This argument is a number (which in my email client is
> displayed as an 'I' with a diacritical mark above it). When the above
> Debugger output is displayed in emacs the number is '\315'.  If I look
> at this ~/.emacs.desktop file with the "less" command, it is displayed
> as "<81><CD>"... for every instance of a buffer.  (?)
>
> According to the emacs doc on "desktop-create-buffer", this first arg is
> "desktop-file-version"; I don't know what that is and have no idea why
> the function "desktop-file-version" doesn't like it.
>
> Anybody able to figure out what this problem is?

Can you edit the desktop file and change these Í to 205 (the literal
string "205", I mean)? The version number should be a literal, for
example:

(desktop-create-buffer 206
  "c:/my-file"
  ... etc)

Can you move aside your current desktop file and recreate one with
`desktop-save' (or `desktop-save-in-desktop-dir') to see whether it is
correctly created?

    Juanma




  reply	other threads:[~2009-09-15  9:37 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 [this message]
2009-09-16  8:14       ` ken
2009-09-16  8:30         ` Juanma Barranquero
2009-09-16  8:39         ` Juanma Barranquero
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=f7ccd24b0909150237ne9a16f5yddcac76a5da7ccf@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.