all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bauke Jan Douma <bjdouma@xs4all.nl>
To: help-gnu-emacs@gnu.org
Subject: desktop-save: DESKTOP-BUFFER-POINT for current buffer always becomdes 1
Date: Fri, 08 Jun 2007 08:03:36 +0200	[thread overview]
Message-ID: <4668F138.1060902@xs4all.nl> (raw)

OK, this has been irritiating me or some time: I have desktop-save-mode t
but always find that when I restart emacs, the previous session's current
buffer (at exit) always gets its DESKTOP-BUFFER-POINT set to 1.

Yesterday tried to correct that, but I cannot get it to work correctly.
The desktop file, ~/.emacs.desktop ad far as I can tell is perfectly
correct, it's just that it has 1 for DESKTOP-BUFFER-POINT for the current
buffer.

Here's what I'm doing, at the very end of ~/.emacs:

(require 'desktop)
(setq desktop-save t)
(setq desktop-save-mode t)
(setq history-length t)
(add-to-list 'desktop-globals-to-save '(minibuffer-history command-history file-name-history extended-command-history))
(setq desktop-save-mode t)
(desktop-read)

Any thoughts?
Thanks.


bjd

             reply	other threads:[~2007-06-08  6:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-08  6:03 Bauke Jan Douma [this message]
2007-06-08  9:18 ` desktop-save: DESKTOP-BUFFER-POINT for current buffer always becomdes 1 Peter Dyballa
2007-06-10  9:25 ` Peter Dyballa
2007-06-10 22:17 ` Bauke Jan Douma
     [not found] <mailman.1765.1181282624.32220.help-gnu-emacs@gnu.org>
2007-06-10 22:11 ` Glenn Morris

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=4668F138.1060902@xs4all.nl \
    --to=bjdouma@xs4all.nl \
    --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.