unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Pingouin <gerald.jean@dgag.ca>
To: help-gnu-emacs@gnu.org
Subject: Desktop-mode between Emacs 22.3 and 23.2
Date: Thu, 28 Oct 2010 10:01:35 -0700 (PDT)	[thread overview]
Message-ID: <5fc857d5-2e1f-4d56-8f06-141074585a0f@g25g2000yqn.googlegroups.com> (raw)

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


             reply	other threads:[~2010-10-28 17:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-28 17:01 Pingouin [this message]
2010-12-10 21:18 ` Desktop-mode between Emacs 22.3 and 23.2 Peter Dyballa

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5fc857d5-2e1f-4d56-8f06-141074585a0f@g25g2000yqn.googlegroups.com \
    --to=gerald.jean@dgag.ca \
    --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.
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).