From unknown Sat Jun 21 05:09:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62676: Setting `scroll-bar-width` Doesn't Take Effect Immediately Resent-From: Shynur Xie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Apr 2023 08:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62676 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 62676@debbugs.gnu.org X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.168068299021820 (code B ref -1); Wed, 05 Apr 2023 08:24:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 Apr 2023 08:23:10 +0000 Received: from localhost ([127.0.0.1]:50822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjyQ9-0005fs-MT for submit@debbugs.gnu.org; Wed, 05 Apr 2023 04:23:09 -0400 Received: from lists.gnu.org ([209.51.188.17]:49578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjyQ7-0005fh-Fu for submit@debbugs.gnu.org; Wed, 05 Apr 2023 04:23:07 -0400 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 1pjyQ7-0008WR-01 for bug-gnu-emacs@gnu.org; Wed, 05 Apr 2023 04:23:07 -0400 Received: from mail-bn8nam12olkn20820.outbound.protection.outlook.com ([2a01:111:f400:fe5b::820] helo=NAM12-BN8-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pjyQ5-0001tE-0P for bug-gnu-emacs@gnu.org; Wed, 05 Apr 2023 04:23:06 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JWBUpSUvO30daWofXBqi0pUMi/CBFbMGNDbSIzsdmFSwAyRPcIrIE27hZf9GEc3d/+R4XiRhqR4MytRc61sxmL85PyEqQf7z0x9dk1D+x451qHU8Du3okE5C/sBaYMtuIi695Ya6UV46ODLZlgfCoxOyHEa7lgpdwx9ierE7DoZ4WGcs8psWzTKGxDL8fnolF+WizDP4MP1Vkj45bhZzuAAkHWTXlBaInL5KR33dnuPv9RtvKah7QMgQ5jPRD6wkEmeh3bpFtj1kKtEWQuXoWq8BSVvxEm+GqfYFTyxyDVi3oRNFIuMPtpXf6A+W4935pszMcYIUNXjGMkApRLx9fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=v9bhEX99u9U2FgaTiLaVXDC5U9TcP35s6uGtDgjReRE=; b=DR2PYc2PgWmwh9Tzk7pGY72E/QeYOc4wy7yweEusXd0iJZj5Nxbei1IYCHKITsY4PBXkh+pYJIbolzpvSL8jrRVTKYMG0XH2DKjG6XFyqBbMvvPjd+a+bPo8W/BsO0QtryST4KlsKfQH0Z0efc9JgU611XrTarnpsSyCI+uDgrk4l/ZgiO7AbEK5SejaswOMhst4kRG2oWvSpu842WFVOpdjlkl3NX44lhSvhz+ea6H5JZtFZpCXt/Vr6eEsCb75lKECEKPrRw2bXX/td+Dc1bVy0Iti634W6qT2F6SBdvv/yb9kyu9I4fEVQW1v4vsUtddZLJvTV553dUnhcdBifQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=v9bhEX99u9U2FgaTiLaVXDC5U9TcP35s6uGtDgjReRE=; b=WKnyaF6KMG4+avTtrebH2OKx5tnh9KeMaTjPVFYmIPqB+G7aOC9aBouvdx9hFHiwczjBaA+BfJb0la4yrx0usPmWBcYvZk7XvCKTjUx/5cm+01zF1Qtop7a/8aRYCY27t49UMGPFQEjaV9biq4lMoPK++motgBXxRFyYBM5ph/EQyYH9cBpKzAOdiRPE7N08SfdYPdaorcawAQAhFm/WpT40BvATS5rrWmpFgAqK4kpzHuNikIvsw4CzvaT5KBDUDrKOPjG4iXtwH2rq5mGgIEg6kPF8FfDgBide8Lv+rVMf/2vZHHn5UnpKgqfMHYcg0Ltfip334nkJ/hVDfYYNXQ== Received: from SA0PR04MB7433.namprd04.prod.outlook.com (2603:10b6:806:e2::8) by BN0PR04MB7983.namprd04.prod.outlook.com (2603:10b6:408:156::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6254.35; Wed, 5 Apr 2023 08:18:01 +0000 Received: from SA0PR04MB7433.namprd04.prod.outlook.com ([fe80::9fe0:ce70:5b47:8989]) by SA0PR04MB7433.namprd04.prod.outlook.com ([fe80::9fe0:ce70:5b47:8989%7]) with mapi id 15.20.6254.029; Wed, 5 Apr 2023 08:18:01 +0000 From: Shynur Xie Thread-Topic: Setting `scroll-bar-width` Doesn't Take Effect Immediately Thread-Index: AQHZZ5cLDG+5gb4KDEKiRLDjXiM65A== Date: Wed, 5 Apr 2023 08:18:00 +0000 Message-ID: Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [l58W/xtAsqe6/Uxlzx0VZFSDTXDEPtSD] x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SA0PR04MB7433:EE_|BN0PR04MB7983:EE_ x-ms-office365-filtering-correlation-id: 11d7ebcd-f56a-4603-0f55-08db35ae458a x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ox5jWdh7JSq/gd+5FHD0dK2w21G3wO12ZvlmoKLhX7bPgbPBOKCdixSYUIEyL0wuwLmGrxTWASupLLOgxWWAtPiAjCsIpwTH4OSGAnn9UOSxEejSnfoyMhntalFZn2+oGJ0lrZSPyL3rf9t2M8nQ8VCYDoPp1Q1/CjU/CWPU8FleUQxq0JfJ6DiHwlKN50H5YkXSaIwxvVpNfLBkAJr5sQzEYAaGdPhikaucEno3E41Xo3nzoKDc4BZ/OvDHVm8FCmKyTyMnuAMUT66NqKrpGqugbXiCKElxi8hN1hnRft0PTOA4iS3ZAG9td1mC0//seFcWuvDq2doFX5SUQvgJsZnIYGOENKhcbp9ui81xbMeG+vwqvajXpwDYx7EmiY7T5DbsxaCy+eGEHOrFXuTJnfR8VC7n41SEfbTmVtC20mKXkynEVQthRcLrtTCXJX6gvOIBCPAWzYXB3ZqRpZgIY33SpTEHOUHfL3S48+8AWz8RVkKvLGxxT9wwtfvn0oAYskHlMhMXzcyB6Gu/ivtsPiWjX3J0uD6nj39Llccng8K+fhIsGRzSNgAnVa9jcI9b x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: P7bhdUCgM6APNVgpWFWuxBkAGzDGqtARR07bw1K0AqczGxohJos08VHBPMljG2rqTZoTOCIaE2vXd2ncmiKr/753BN5kwMq4h76NcFZx682yBdH+LpP6apWhzolyQv2pGhfkbu4wxXiE1xwprOUKcbTjT5Y3wmKzWiGcJbkdAPWt09sqZlI6srRj3IkY8xVnKSi6pcO3qzBx+yATxBD7WA0OhKqYrMhS+Kdj9K4ZpGVdK7fKpyM/2a41as9NrwhgdMgqu2xxnvQC02RGsIvFaFEiJjRr7E2kwwbjejE0mLGmxgEQNQjP2YlDJ3RfaNtRtC1xE3dblxOJZ+29fQCVYW8WRE3TzMTIIjN0MQo6Mt3C7BpdovIqdwdYinyr/DkZlCi77kQIN31efSu+m3PhDjcCDSYH03OdeyeCg87wGnQGdSUU9a1Tm1mJ7WtmKp1sGDCcWwi19kT76uH9Fgpzb4ZswMc5g0q5CendPNJVK2DOnhWguy6RosCGSsqZW5a3dOdzDVP/6ih0VUf+rt6cd/Nh4OaLH3NtXy+191dIIkVcjjQ58SG2eN38DeQNttvVIhSKwxB2yQBbnBa9siG6UJBeb2dWjx6O6x871zylU+Pe/jarisYgyeEIF6F8/jmzsifyJ0V5Ca1T2Ko1BZ64jPDKNK1rS5DzIfqC6+XIilGmoUOxJETIbZ/5WSZa+ZXAEbWgdRkLqAaIrgAGNelrjxxg5FW4P25Swg6nSgf2kIHFza1b9Ul2Dsvn27fOqqxEGgrl7Y4XoB4qwdaS5aZmw+dHUr1mew5luUBEgpbUoJdc46O5ApHgDws4zFsSWlk1T5HtDqf21Ss/ByA+WlJEsD3bRQyB8z+qAxhxwTZxDOtVced2xPbaAvdVwR1JbfBDEGucgY+Uqq7LzZJrXsNXpGgc53R0Yet0TzXgtXjDvujBtKQ1z6FexFHkldmYkGQCiR7sXLftuFreFjJUgoA7CkeuX+caurMzXAgV22TMAb807MQcWPm98yGFfpFnw+cPQeLjb9ajslQ1VM0qdqxMGdsmGJvLc9mCRNb6MhWbAtNrwwppFayk6F3BZHwfApnK3wVTzdtXL/RvcPwDjHP16GZqq+dHSQEPxnFVSbNJOLb8itajKSmrgfL/FwKx1V2fyPwALk8yYt4kJpR0LkG/Jrpv/vF/0qr+Vk05bU+1khS/TlMIWbzE5fzyXY9nbbC3 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA0PR04MB7433.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 11d7ebcd-f56a-4603-0f55-08db35ae458a X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Apr 2023 08:18:00.9953 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR04MB7983 Received-SPF: pass client-ip=2a01:111:f400:fe5b::820; envelope-from=one.last.kiss@outlook.com; helo=NAM12-BN8-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Example:=0A= =0A= ```=0A= $ emacs -Q=0A= ```=0A= =0A= Now the current buffer is "*scratch*", evaluating:=0A= =0A= ```=0A= (setq scroll-bar-width 50)=0A= ```=0A= =0A= changes nothing.=0A= =0A= Instead, user need to switch to another buffer and then switch back:=0A= =0A= ```=0A= (progn=0A= (setq scroll-bar-width 50)=0A= (switch-to-buffer "*Messages*")=0A= (switch-to-buffer "*scratch*"))=0A= ```=0A= =0A= ________________________________________=0A= =0A= emacs-version: 28.2=0A= system-configuration: x86_64-w64-mingw32=0A= From unknown Sat Jun 21 05:09:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62676: Setting `scroll-bar-width` Doesn't Take Effect Immediately Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Apr 2023 09:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62676 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Shynur Xie Cc: 62676@debbugs.gnu.org Received: via spool by 62676-submit@debbugs.gnu.org id=B62676.168068533226678 (code B ref 62676); Wed, 05 Apr 2023 09:03:01 +0000 Received: (at 62676) by debbugs.gnu.org; 5 Apr 2023 09:02:12 +0000 Received: from localhost ([127.0.0.1]:50881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjz1v-0006wE-V4 for submit@debbugs.gnu.org; Wed, 05 Apr 2023 05:02:12 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39778) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjz1u-0006vy-Lu; Wed, 05 Apr 2023 05:02:11 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pjz1p-00072W-5K; Wed, 05 Apr 2023 05:02:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=wb7RVeib1q9lhWtka1zZsOo8nEqnt84TOTftlhdbqSg=; b=PeNL7e+5kZQXC7X3svCu imGexE4dNALUTg+WJWajxYK8idi3vCEFodmts5Rq1XMeljgvHcdy4tDjul6KFouSInx+IsvZvBdAD TvH/8Es+YTZfGtU0r53SYm/bA/vq5VNAHI6HmMUx8tAio956XLvehn6PHO3rBsCZ4s0m4h84oLARn 4MTdZIuFPbDIEiXsArwXSkK2tTyqW5ZpfyXzkTYcxYQ4Vfi+IBwT62RI1GkVD/MQm1yokSJXHTvh7 sNN36feLcSwLJhVPnIInL1ZOc9KBm+QD8CO05LsLJtIjnoMzENhZh/5t3vWw8bZpu6BVuVWBDhehT N1KKfee/1rsvkg==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pjz1j-0003t3-CW; Wed, 05 Apr 2023 05:02:02 -0400 Date: Wed, 05 Apr 2023 12:02:25 +0300 Message-Id: <83pm8isnvi.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Shynur Xie on Wed, 5 Apr 2023 08:18:00 +0000) References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 62676 notabug thank > From: Shynur Xie > Date: Wed, 5 Apr 2023 08:18:00 +0000 > > Example: > > ``` > $ emacs -Q > ``` > > Now the current buffer is "*scratch*", evaluating: > > ``` > (setq scroll-bar-width 50) > ``` > > changes nothing. > > Instead, user need to switch to another buffer and then switch back: > > ``` > (progn > (setq scroll-bar-width 50) > (switch-to-buffer "*Messages*") > (switch-to-buffer "*scratch*")) > ``` This is the expected and documented behavior. From the ELisp Reference manual: If you do not specify a window’s scroll bar settings via ‘set-window-scroll-bars’, the buffer-local variables ‘vertical-scroll-bar’, ‘horizontal-scroll-bar’, ‘scroll-bar-width’ and ‘scroll-bar-height’ in the buffer being displayed control the window’s scroll bars. The function ‘set-window-buffer’ examines these variables. If you change them in a buffer that is already visible in a window, you can make the window take note of the new values by calling ‘set-window-buffer’ specifying the same buffer that is already displayed. Your last recipe calls set-window-buffer indirectly, so it succeeds where the original recipe failed. From unknown Sat Jun 21 05:09:42 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Shynur Xie Subject: bug#62676: closed (Re: bug#62676: Setting `scroll-bar-width` Doesn't Take Effect Immediately) Message-ID: References: <83lej6slfm.fsf@gnu.org> X-Gnu-PR-Message: they-closed 62676 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: notabug Reply-To: 62676@debbugs.gnu.org Date: Wed, 05 Apr 2023 09:55:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1680688503-9926-1" This is a multi-part message in MIME format... ------------=_1680688503-9926-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #62676: Setting `scroll-bar-width` Doesn't Take Effect Immediately which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 62676@debbugs.gnu.org. --=20 62676: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D62676 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1680688503-9926-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 62676-done) by debbugs.gnu.org; 5 Apr 2023 09:54:50 +0000 Received: from localhost ([127.0.0.1]:50923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjzqr-0002YL-St for submit@debbugs.gnu.org; Wed, 05 Apr 2023 05:54:50 -0400 Received: from eggs.gnu.org ([209.51.188.92]:32860) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjzqq-0002XX-Bn for 62676-done@debbugs.gnu.org; Wed, 05 Apr 2023 05:54:48 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pjzqk-0002sk-Sz; Wed, 05 Apr 2023 05:54:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=I+VbRIm5Ef+uWkG4mWRJRC5LPK0G7GwuXJ9bkV772Rw=; b=Kmq5VSyrmlpx I4q2bZwsPYbWgGnH4NZoMjpoSD9MnkJfJ8pF9UoiV2m2hnMy3skLsJXyNKlpzAFzlo+WUgwLgjib9 R1viQbH0ePeZbblrkyLBtMjInzmE/jiwk43apkHYTlMCIv+kPx8jg9APNTKnfeKENyw9aR4EGE4YH KN6sb1M4OyomuxG/NBuy45bMTH+G8+w29mH677io3FKjRf0YYOY08pFBs3UWNsc9fTnI53JViD+1u bbWk2LzzJ54BjZxpetUuzG/uwFWNl1CFR+SzRHyUTso6/Ex91pPubrP1RJ/QKqDn0QOppNxUFtnGz BLTJ2kk4XjRpbH3O3Da5pQ==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pjzqk-0001ph-E9; Wed, 05 Apr 2023 05:54:42 -0400 Date: Wed, 05 Apr 2023 12:55:09 +0300 Message-Id: <83lej6slfm.fsf@gnu.org> From: Eli Zaretskii To: Shynur Xie In-Reply-To: (message from Shynur Xie on Wed, 5 Apr 2023 09:18:58 +0000) Subject: Re: bug#62676: Setting `scroll-bar-width` Doesn't Take Effect Immediately References: <83pm8isnvi.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62676-done Cc: 62676-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Shynur Xie > Date: Wed, 5 Apr 2023 09:18:58 +0000 > > Thanks. No further questions. Thanks, closing. ------------=_1680688503-9926-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 5 Apr 2023 08:23:10 +0000 Received: from localhost ([127.0.0.1]:50822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjyQ9-0005fs-MT for submit@debbugs.gnu.org; Wed, 05 Apr 2023 04:23:09 -0400 Received: from lists.gnu.org ([209.51.188.17]:49578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pjyQ7-0005fh-Fu for submit@debbugs.gnu.org; Wed, 05 Apr 2023 04:23:07 -0400 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 1pjyQ7-0008WR-01 for bug-gnu-emacs@gnu.org; Wed, 05 Apr 2023 04:23:07 -0400 Received: from mail-bn8nam12olkn20820.outbound.protection.outlook.com ([2a01:111:f400:fe5b::820] helo=NAM12-BN8-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pjyQ5-0001tE-0P for bug-gnu-emacs@gnu.org; Wed, 05 Apr 2023 04:23:06 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JWBUpSUvO30daWofXBqi0pUMi/CBFbMGNDbSIzsdmFSwAyRPcIrIE27hZf9GEc3d/+R4XiRhqR4MytRc61sxmL85PyEqQf7z0x9dk1D+x451qHU8Du3okE5C/sBaYMtuIi695Ya6UV46ODLZlgfCoxOyHEa7lgpdwx9ierE7DoZ4WGcs8psWzTKGxDL8fnolF+WizDP4MP1Vkj45bhZzuAAkHWTXlBaInL5KR33dnuPv9RtvKah7QMgQ5jPRD6wkEmeh3bpFtj1kKtEWQuXoWq8BSVvxEm+GqfYFTyxyDVi3oRNFIuMPtpXf6A+W4935pszMcYIUNXjGMkApRLx9fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=v9bhEX99u9U2FgaTiLaVXDC5U9TcP35s6uGtDgjReRE=; b=DR2PYc2PgWmwh9Tzk7pGY72E/QeYOc4wy7yweEusXd0iJZj5Nxbei1IYCHKITsY4PBXkh+pYJIbolzpvSL8jrRVTKYMG0XH2DKjG6XFyqBbMvvPjd+a+bPo8W/BsO0QtryST4KlsKfQH0Z0efc9JgU611XrTarnpsSyCI+uDgrk4l/ZgiO7AbEK5SejaswOMhst4kRG2oWvSpu842WFVOpdjlkl3NX44lhSvhz+ea6H5JZtFZpCXt/Vr6eEsCb75lKECEKPrRw2bXX/td+Dc1bVy0Iti634W6qT2F6SBdvv/yb9kyu9I4fEVQW1v4vsUtddZLJvTV553dUnhcdBifQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=v9bhEX99u9U2FgaTiLaVXDC5U9TcP35s6uGtDgjReRE=; b=WKnyaF6KMG4+avTtrebH2OKx5tnh9KeMaTjPVFYmIPqB+G7aOC9aBouvdx9hFHiwczjBaA+BfJb0la4yrx0usPmWBcYvZk7XvCKTjUx/5cm+01zF1Qtop7a/8aRYCY27t49UMGPFQEjaV9biq4lMoPK++motgBXxRFyYBM5ph/EQyYH9cBpKzAOdiRPE7N08SfdYPdaorcawAQAhFm/WpT40BvATS5rrWmpFgAqK4kpzHuNikIvsw4CzvaT5KBDUDrKOPjG4iXtwH2rq5mGgIEg6kPF8FfDgBide8Lv+rVMf/2vZHHn5UnpKgqfMHYcg0Ltfip334nkJ/hVDfYYNXQ== Received: from SA0PR04MB7433.namprd04.prod.outlook.com (2603:10b6:806:e2::8) by BN0PR04MB7983.namprd04.prod.outlook.com (2603:10b6:408:156::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6254.35; Wed, 5 Apr 2023 08:18:01 +0000 Received: from SA0PR04MB7433.namprd04.prod.outlook.com ([fe80::9fe0:ce70:5b47:8989]) by SA0PR04MB7433.namprd04.prod.outlook.com ([fe80::9fe0:ce70:5b47:8989%7]) with mapi id 15.20.6254.029; Wed, 5 Apr 2023 08:18:01 +0000 From: Shynur Xie To: "bug-gnu-emacs@gnu.org" Subject: Setting `scroll-bar-width` Doesn't Take Effect Immediately Thread-Topic: Setting `scroll-bar-width` Doesn't Take Effect Immediately Thread-Index: AQHZZ5cLDG+5gb4KDEKiRLDjXiM65A== Date: Wed, 5 Apr 2023 08:18:00 +0000 Message-ID: Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [l58W/xtAsqe6/Uxlzx0VZFSDTXDEPtSD] x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SA0PR04MB7433:EE_|BN0PR04MB7983:EE_ x-ms-office365-filtering-correlation-id: 11d7ebcd-f56a-4603-0f55-08db35ae458a x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ox5jWdh7JSq/gd+5FHD0dK2w21G3wO12ZvlmoKLhX7bPgbPBOKCdixSYUIEyL0wuwLmGrxTWASupLLOgxWWAtPiAjCsIpwTH4OSGAnn9UOSxEejSnfoyMhntalFZn2+oGJ0lrZSPyL3rf9t2M8nQ8VCYDoPp1Q1/CjU/CWPU8FleUQxq0JfJ6DiHwlKN50H5YkXSaIwxvVpNfLBkAJr5sQzEYAaGdPhikaucEno3E41Xo3nzoKDc4BZ/OvDHVm8FCmKyTyMnuAMUT66NqKrpGqugbXiCKElxi8hN1hnRft0PTOA4iS3ZAG9td1mC0//seFcWuvDq2doFX5SUQvgJsZnIYGOENKhcbp9ui81xbMeG+vwqvajXpwDYx7EmiY7T5DbsxaCy+eGEHOrFXuTJnfR8VC7n41SEfbTmVtC20mKXkynEVQthRcLrtTCXJX6gvOIBCPAWzYXB3ZqRpZgIY33SpTEHOUHfL3S48+8AWz8RVkKvLGxxT9wwtfvn0oAYskHlMhMXzcyB6Gu/ivtsPiWjX3J0uD6nj39Llccng8K+fhIsGRzSNgAnVa9jcI9b x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?P7bhdUCgM6APNVgpWFWuxBkAGzDGqtARR07bw1K0AqczGxohJos08VHBPM?= =?iso-8859-1?Q?ljG2rqTZoTOCIaE2vXd2ncmiKr/753BN5kwMq4h76NcFZx682yBdH+LpP6?= =?iso-8859-1?Q?apWhzolyQv2pGhfkbu4wxXiE1xwprOUKcbTjT5Y3wmKzWiGcJbkdAPWt09?= =?iso-8859-1?Q?sqZlI6srRj3IkY8xVnKSi6pcO3qzBx+yATxBD7WA0OhKqYrMhS+Kdj9K4Z?= =?iso-8859-1?Q?pGVdK7fKpyM/2a41as9NrwhgdMgqu2xxnvQC02RGsIvFaFEiJjRr7E2kww?= =?iso-8859-1?Q?bjejE0mLGmxgEQNQjP2YlDJ3RfaNtRtC1xE3dblxOJZ+29fQCVYW8WRE3T?= =?iso-8859-1?Q?zMTIIjN0MQo6Mt3C7BpdovIqdwdYinyr/DkZlCi77kQIN31efSu+m3PhDj?= =?iso-8859-1?Q?cCDSYH03OdeyeCg87wGnQGdSUU9a1Tm1mJ7WtmKp1sGDCcWwi19kT76uH9?= =?iso-8859-1?Q?Fgpzb4ZswMc5g0q5CendPNJVK2DOnhWguy6RosCGSsqZW5a3dOdzDVP/6i?= =?iso-8859-1?Q?h0VUf+rt6cd/Nh4OaLH3NtXy+191dIIkVcjjQ58SG2eN38DeQNttvVIhSK?= =?iso-8859-1?Q?wxB2yQBbnBa9siG6UJBeb2dWjx6O6x871zylU+Pe/jarisYgyeEIF6F8/j?= =?iso-8859-1?Q?mzsifyJ0V5Ca1T2Ko1BZ64jPDKNK1rS5DzIfqC6+XIilGmoUOxJETIbZ/5?= =?iso-8859-1?Q?WSZa+ZXAEbWgdRkLqAaIrgAGNelrjxxg5FW4P25Swg6nSgf2kIHFza1b9U?= =?iso-8859-1?Q?l2Dsvn27fOqqxEGgrl7Y4XoB4qwdaS5aZmw+dHUr1mew5luUBEgpbUoJdc?= =?iso-8859-1?Q?46O5ApHgDws4zFsSWlk1T5HtDqf21Ss/ByA+WlJEsD3bRQyB8z+qAxhxwT?= =?iso-8859-1?Q?ZxDOtVced2xPbaAvdVwR1JbfBDEGucgY+Uqq7LzZJrXsNXpGgc53R0Yet0?= =?iso-8859-1?Q?TzXgtXjDvujBtKQ1z6FexFHkldmYkGQCiR7sXLftuFreFjJUgoA7CkeuX+?= =?iso-8859-1?Q?caurMzXAgV22TMAb807MQcWPm98yGFfpFnw+cPQeLjb9ajslQ1VM0qdqxM?= =?iso-8859-1?Q?GdsmGJvLc9mCRNb6MhWbAtNrwwppFayk6F3BZHwfApnK3wVTzdtXL/RvcP?= =?iso-8859-1?Q?wDjHP16GZqq+dHSQEPxnFVSbNJOLb8itajKSmrgfL/FwKx1V2fyPwALk8y?= =?iso-8859-1?Q?Yt4kJpR0LkG/Jrpv/vF/0qr+Vk05bU+1khS/TlMIWbzE5fzyXY9nbbC3?= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA0PR04MB7433.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 11d7ebcd-f56a-4603-0f55-08db35ae458a X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Apr 2023 08:18:00.9953 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR04MB7983 Received-SPF: pass client-ip=2a01:111:f400:fe5b::820; envelope-from=one.last.kiss@outlook.com; helo=NAM12-BN8-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Example:=0A= =0A= ```=0A= $ emacs -Q=0A= ```=0A= =0A= Now the current buffer is "*scratch*", evaluating:=0A= =0A= ```=0A= (setq scroll-bar-width 50)=0A= ```=0A= =0A= changes nothing.=0A= =0A= Instead, user need to switch to another buffer and then switch back:=0A= =0A= ```=0A= (progn=0A= (setq scroll-bar-width 50)=0A= (switch-to-buffer "*Messages*")=0A= (switch-to-buffer "*scratch*"))=0A= ```=0A= =0A= ________________________________________=0A= =0A= emacs-version: 28.2=0A= system-configuration: x86_64-w64-mingw32=0A= ------------=_1680688503-9926-1--