all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* desktop-save: DESKTOP-BUFFER-POINT for current buffer always becomdes 1
@ 2007-06-08  6:03 Bauke Jan Douma
  2007-06-08  9:18 ` Peter Dyballa
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Bauke Jan Douma @ 2007-06-08  6:03 UTC (permalink / raw)
  To: help-gnu-emacs

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

^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <mailman.1765.1181282624.32220.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2007-06-10 22:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-08  6:03 desktop-save: DESKTOP-BUFFER-POINT for current buffer always becomdes 1 Bauke Jan Douma
2007-06-08  9:18 ` 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

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.