From: Andy Moreton <andrewjmoreton@gmail.com>
To: emacs-devel@gnu.org
Subject: Problems with desktop.el after reecent local-mior-modes changes
Date: Thu, 11 Mar 2021 20:59:03 +0000 [thread overview]
Message-ID: <86pn05z9t4.fsf@gmail.com> (raw)
Hi,
Has anyone else observed recent problems with desktop.el ?
After updating master today (to commit 1d4195856b), I find that emacs
built from the emacs-27 branch fails to restore a desktop save file, and
complains that `local-minor-modes' is not defined as a variable.
Desktop save files used to work interchangeably between branches up
unito a few days ago, so there is a regression somewhere.
Adding this to init.el suppresses the problem in emacs-27:
(when (version< emacs-version "28")
(defvar-local local-minor-modes nil))
...however I'm not sure what saved state has not been restored.
Is there some rework needed for desktop-minor-mode-handlers etc ?
AndyM
next reply other threads:[~2021-03-11 20:59 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-11 20:59 Andy Moreton [this message]
2021-03-11 21:07 ` Problems with desktop.el after reecent local-mior-modes changes Lars Ingebrigtsen
2021-03-11 21:10 ` Lars Ingebrigtsen
2021-03-11 22:35 ` Andy Moreton
2021-03-11 22:42 ` Stefan Monnier
2021-03-11 23:03 ` Andy Moreton
2021-03-11 23:23 ` Lars Ingebrigtsen
2021-03-12 19:10 ` Andy Moreton
2021-03-12 20:39 ` Lars Ingebrigtsen
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=86pn05z9t4.fsf@gmail.com \
--to=andrewjmoreton@gmail.com \
--cc=emacs-devel@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.