unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Gerd Möllmann" <gerd.moellmann@gmail.com>
To: 56156@debbugs.gnu.org
Subject: bug#56156: 29.0.50; Options/Save not saving desktop-save-mode
Date: Thu, 23 Jun 2022 11:14:43 +0200	[thread overview]
Message-ID: <m2mte3d9mk.fsf@Mini.fritz.box> (raw)

[-- Attachment #1: Type: text/plain, Size: 193 bytes --]

Select Options/Save State Between Sessions, then Options/Save Options.

This does not save the value of desktop-save-mode.  M-x customize-group
shows that it has been changed.

Patch attaches


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Patch --]
[-- Type: text/x-patch, Size: 861 bytes --]

From b505a909a6d761fce303c8ecd7771d7e3e20ff15 Mon Sep 17 00:00:00 2001
From: Gerd Moellmann <gerd.moellmann@gmail.com>
Date: Thu, 23 Jun 2022 10:54:05 +0200
Subject: [PATCH] Save desktop-save-mode when changed from menu

* lisp/menu-bar.el (menu-bar-options-save): Save desktop-save-mode.
---
 lisp/menu-bar.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/menu-bar.el b/lisp/menu-bar.el
index 488bf05f3a..4a943d2528 100644
--- a/lisp/menu-bar.el
+++ b/lisp/menu-bar.el
@@ -792,6 +792,7 @@ menu-bar-options-save
     (dolist (elt '(scroll-bar-mode
 		   debug-on-quit debug-on-error
 		   ;; Somehow this works, when tool-bar and menu-bar don't.
+                   desktop-save-mode
 		   tooltip-mode window-divider-mode
 		   save-place-mode uniquify-buffer-name-style fringe-mode
 		   indicate-empty-lines indicate-buffer-boundaries
-- 
2.36.1


             reply	other threads:[~2022-06-23  9:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-23  9:14 Gerd Möllmann [this message]
2022-06-23 12:38 ` bug#56156: 29.0.50; Options/Save not saving desktop-save-mode 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

  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=m2mte3d9mk.fsf@Mini.fritz.box \
    --to=gerd.moellmann@gmail.com \
    --cc=56156@debbugs.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).