* Desktop-mode between Emacs 22.3 and 23.2
@ 2010-10-28 17:01 Pingouin
2010-12-10 21:18 ` Peter Dyballa
0 siblings, 1 reply; 2+ messages in thread
From: Pingouin @ 2010-10-28 17:01 UTC (permalink / raw)
To: help-gnu-emacs
Hello,
I am using Emacs on a 64-bit RedHat Linux box. Our IT admin just
upgraded, this morning, from Emacs 22.3 to Emacs 23.2.
I am turning on desktop-mode in my .emacs file. Here is the relevant
code:
(setq desktop-save-mode t)
(add-hook 'desktop-save-hook
'(lambda ()
(desktop-truncate search-ring 3)
(desktop-restore-eager 10)
(desktop-truncate regexp-search-ring 3)))
(desktop-load-default)
(desktop-read)
That ran fine in 22.3 but in 23.2 when Emacs starts to read the
desktop file, at some point (always the same point) it reads a "*.tex"
file. At that point I see in the mini buffer "Applying style
hooks ... done", then Emacs freezes, the only way out is by killing
it???
If I remove the "(desktop-read)" line above Emacs starts OK but, of
course, the desktop file is not read?
Any ideas,
Gérald
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Desktop-mode between Emacs 22.3 and 23.2
2010-10-28 17:01 Desktop-mode between Emacs 22.3 and 23.2 Pingouin
@ 2010-12-10 21:18 ` Peter Dyballa
0 siblings, 0 replies; 2+ messages in thread
From: Peter Dyballa @ 2010-12-10 21:18 UTC (permalink / raw)
To: Pingouin; +Cc: help-gnu-emacs
Am 28.10.2010 um 19:01 schrieb Pingouin:
> If I remove the "(desktop-read)" line above Emacs starts OK but, of
> course, the desktop file is not read?
I neither use (desktop-load-default)
desktop-load-default is a compiled Lisp function in `desktop.el'.
(desktop-load-default)
This function is obsolete since 22.1;
use `desktop-save-mode' instead.
nor do I use (desktop-read)
desktop-read is an interactive compiled Lisp function in `desktop.el'.
and my desktop gets saved and loaded.
--
Greetings
Pete
If it should exist, it doesn't.
– Arnold's First Law of Documentation
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-12-10 21:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-28 17:01 Desktop-mode between Emacs 22.3 and 23.2 Pingouin
2010-12-10 21:18 ` Peter Dyballa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).