From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Shynur Xie Newsgroups: gmane.emacs.bugs Subject: bug#62676: Setting `scroll-bar-width` Doesn't Take Effect Immediately Date: Wed, 5 Apr 2023 08:18:00 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37385"; mail-complaints-to="usenet@ciao.gmane.io" To: 62676@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 05 10:24:16 2023 Return-path: Envelope-to: geb-bug-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 1pjyRC-0009Yg-VJ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 Apr 2023 10:24:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pjyR2-0000Bu-9l; Wed, 05 Apr 2023 04:24:04 -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 1pjyR0-0000BE-Jp for bug-gnu-emacs@gnu.org; Wed, 05 Apr 2023 04:24:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pjyR0-0003oz-Bk for bug-gnu-emacs@gnu.org; Wed, 05 Apr 2023 04:24:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pjyQz-0005h2-QQ for bug-gnu-emacs@gnu.org; Wed, 05 Apr 2023 04:24:01 -0400 X-Loop: help-debbugs@gnu.org 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-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Original-Received: via spool by submit@debbugs.gnu.org id=B.168068299021820 (code B ref -1); Wed, 05 Apr 2023 08:24:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 5 Apr 2023 08:23:10 +0000 Original-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 Original-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 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 1pjyQ7-0008WR-01 for bug-gnu-emacs@gnu.org; Wed, 05 Apr 2023 04:23:07 -0400 Original-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== Original-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 Original-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 Thread-Topic: Setting `scroll-bar-width` Doesn't Take Effect Immediately Thread-Index: AQHZZ5cLDG+5gb4KDEKiRLDjXiM65A== Accept-Language: en-US, zh-CN Content-Language: en-US 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+5FHD0dK2w21G3wO12ZvlmoKLhX7bPgbPBOKCdixSYUIEy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OdzDVP/6ih0VUf+rt6cd/Nh4OaLH3NtXy+191dIIkVcjjQ58SG2eN38DeQNttvVIhSKwxB2yQBbnBa9siG6UJBeb2dWjx6O6x871zylU+Pe/jarisYgyeEIF6F8/jmzsifyJ0V5Ca1T2Ko1BZ64jPDKNK1rS5DzIfqC6+XIilGmoUOxJETIbZ/5WSZa+ZXAEbWgdRkLqAaIrgAGNelrjxxg5FW4P25Swg6nSgf2kIHFza1b9Ul2Dsvn27 fOqqxEGgrl7Y4XoB4qwdaS5aZmw+dHUr1mew5luUBEgpbUoJdc46O5ApHgDws4zFsSWlk1T5HtDqf21Ss/ByA+WlJEsD3bRQyB 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:259255 Archived-At: 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=