From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs-desktop insists on having 13-pixel scrollbars at startup
Date: Mon, 29 Apr 2024 09:55:19 +0300 [thread overview]
Message-ID: <86wmogslns.fsf@gnu.org> (raw)
In-Reply-To: <12e17f83-5ac9-52c7-f7e8-a6199ba4f652@magnaspesmeretrix.org> (message from PierGianLuca on Sun, 28 Apr 2024 22:13:07 +0200)
> Date: Sun, 28 Apr 2024 22:13:07 +0200
> From: PierGianLuca <luca@magnaspesmeretrix.org>
> Cc: Rahguzar <rahguzar@zohomail.eu>
>
> Thank you. The problem is that the desktop is *not* using the recorded value of 'scroll-bar-width' (which is one frame parameter) from the session exited previously. Instead, it replaces it with 13 pixels, no matter what it was in the previous session.
>
> In other words:
>
> 1. Suppose I have one frame that has width 90 (characters), height 14, and scroll-bar-width 30 pixels.
>
> 2. Now I close the Emacs session and the desktop is saved automatically.
>
> 3. I restart Emacs; desktop should restore the previous configuration:
>
> – I expect: width 90, height 14, scroll-bar-width 30
>
> – Instead I get: width 90, height 14, scroll-bar-width 13
>
> This is why I see this as a bug.
I cannot reproduce this in Emacs 30: with the above recipe I get the
same scroll-bar-width as the value I set before quitting the session.
So please verify that Emacs restores the desktop from the correct file
(it could be modified via desktop-path), and if it does, then perhaps
this is specific to your Emacs configuration and/or the toolkit you
are using, or perhaps to some of your customizations. I've reviewed
the code in frameset.el, and I don't see there anything that would
explain why scroll-bar-width frame-parameter would not be applied when
restoring the desktop.
next prev parent reply other threads:[~2024-04-29 6:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-28 19:57 Emacs-desktop insists on having 13-pixel scrollbars at startup Rahguzar
2024-04-28 20:13 ` PierGianLuca
2024-04-29 6:55 ` Eli Zaretskii [this message]
2024-04-29 7:16 ` PierGianLuca
2024-04-29 8:20 ` Eli Zaretskii
2024-04-29 8:11 ` Rahguzar
2024-04-29 8:16 ` PierGianLuca
-- strict thread matches above, loose matches on Subject: below --
2024-04-20 12:31 PierGianLuca
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=86wmogslns.fsf@gnu.org \
--to=eliz@gnu.org \
--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.
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.