From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: PierGianLuca Newsgroups: gmane.emacs.help Subject: Re: Emacs-desktop insists on having 13-pixel scrollbars at startup Date: Mon, 29 Apr 2024 10:16:59 +0200 Message-ID: References: <87ttjls1gc.fsf@zohomail.eu> <12e17f83-5ac9-52c7-f7e8-a6199ba4f652@magnaspesmeretrix.org> <87plu8si20.fsf@zohomail.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31558"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Cc: help-gnu-emacs@gnu.org To: Rahguzar Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 29 10:18:04 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s1MD5-0007yQ-B9 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 29 Apr 2024 10:18:03 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s1MCJ-0006yC-9H; Mon, 29 Apr 2024 04:17:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s1MCH-0006xr-2r for help-gnu-emacs@gnu.org; Mon, 29 Apr 2024 04:17:13 -0400 Original-Received: from manu28.manufrog.com ([138.128.182.226]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s1MCF-0007ii-7M for help-gnu-emacs@gnu.org; Mon, 29 Apr 2024 04:17:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=magnaspesmeretrix.org; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=jnpn3/31dtoTpXl+MKDzLWROG3a/QU5ZGVr5U2RSgeo=; b=XSlCfBSIsFxG4u8+rQOYKj56Fv DEAmGgUk+B0rYp/9FfQbttLVl/HUk6WPP7vWlOHCoOt77r3ZrLGKyvsc2UwdS1iYEsj2dt+NWdifF ReTujqC05DH4hZSGRG9B31twy; Original-Received: from [51.174.11.164] (port=55362 helo=[192.168.10.171]) by manu28.manufrog.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96.2) (envelope-from ) id 1s1MCB-008ROE-0J; Mon, 29 Apr 2024 10:17:08 +0200 Content-Language: en-GB, en-US In-Reply-To: <87plu8si20.fsf@zohomail.eu> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - manu28.manufrog.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - magnaspesmeretrix.org X-Get-Message-Sender-Via: manu28.manufrog.com: authenticated_id: luca@magnaspesmeretrix.org X-Authenticated-Sender: manu28.manufrog.com: luca@magnaspesmeretrix.org Received-SPF: pass client-ip=138.128.182.226; envelope-from=luca@magnaspesmeretrix.org; helo=manu28.manufrog.com X-Spam_score_int: -45 X-Spam_score: -4.6 X-Spam_bar: ---- X-Spam_report: (-4.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, NICE_REPLY_A=-2.702, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:146499 Archived-At: Hi Rahguzar, actually my first email wasn't very clear. Also, thank you for the pointer to the useful section in the Emacs manual! I'll update after I test different compilation options. Cheers, Luca On 240429 10:11, Rahguzar wrote: > PierGianLuca writes: > >> 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. >> >> Let me know if I'm misunderstanding something. >> >> Cheers, >> Luca >> > > I indeed misunderstood the problem you were describing. Sorry about that. > > Rahguzar