From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#34569: 26.1.90; Zero wide scroll bars Date: Mon, 25 Feb 2019 11:13:13 +0100 Message-ID: <5C73BFB9.8010109@gmx.at> References: <5C6BC77F.6020104@gmx.at> <83sgweq1d6.fsf@gnu.org> <5C715252.1060104@gmx.at> <83lg26phzg.fsf@gnu.org> <5C725939.5010208@gmx.at> <83y365np7i.fsf@gnu.org> <5C72E313.8080205@gmx.at> <83d0nhnh3t.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="54683"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 34569@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 25 11:14:17 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gyDH6-000E5w-Nr for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Feb 2019 11:14:16 +0100 Original-Received: from localhost ([127.0.0.1]:34620 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gyDH5-0002nI-Cv for geb-bug-gnu-emacs@m.gmane.org; Mon, 25 Feb 2019 05:14:15 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59146) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gyDGt-0002kq-Dk for bug-gnu-emacs@gnu.org; Mon, 25 Feb 2019 05:14:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gyDGs-0004EA-Oj for bug-gnu-emacs@gnu.org; Mon, 25 Feb 2019 05:14:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37308) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gyDGs-0004E0-Kc for bug-gnu-emacs@gnu.org; Mon, 25 Feb 2019 05:14:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gyDGs-0003fV-Fy for bug-gnu-emacs@gnu.org; Mon, 25 Feb 2019 05:14:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Feb 2019 10:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34569 X-GNU-PR-Package: emacs Original-Received: via spool by 34569-submit@debbugs.gnu.org id=B34569.155108960614015 (code B ref 34569); Mon, 25 Feb 2019 10:14:02 +0000 Original-Received: (at 34569) by debbugs.gnu.org; 25 Feb 2019 10:13:26 +0000 Original-Received: from localhost ([127.0.0.1]:50848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gyDGH-0003dz-SQ for submit@debbugs.gnu.org; Mon, 25 Feb 2019 05:13:26 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:52219) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gyDGF-0003dl-Bl for 34569@debbugs.gnu.org; Mon, 25 Feb 2019 05:13:23 -0500 Original-Received: from [192.168.1.101] ([46.125.250.50]) by mail.gmx.com (mrgmx001 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MDhny-1gnhFz0Bji-00H5Y7; Mon, 25 Feb 2019 11:13:17 +0100 In-Reply-To: <83d0nhnh3t.fsf@gnu.org> X-Provags-ID: V03:K1:zBZQOM6YRhh7wAEauzAFDoULdo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nu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:155761 Archived-At: >> You didn't answer that question: >> >> > Note that x_report_frame_params inserts the >> > zero value automatically via >> > >> > store_in_alist (alistptr, Qscroll_bar_width, >> > (! FRAME_HAS_VERTICAL_SCROLL_BARS (f) >> > ? make_fixnum (0) >> > : FRAME_CONFIG_SCROLL_BAR_WIDTH (f) > 0 >> > ? make_fixnum (FRAME_CONFIG_SCROLL_BAR_WIDTH (f)) >> > /* nil means "use default width" >> > for non-toolkit scroll bar. >> > ruler-mode.el depends on this. */ >> > : Qnil)); >> > >> > What should we use instead? > > I thought I did. Maybe I didn't understand what exactly you are > asking. I wanted to know which value to assign when a frame does not have vertical scroll bars. We could try with store_in_alist (alistptr, Qscroll_bar_width, (FRAME_CONFIG_SCROLL_BAR_WIDTH (f) > 0 ? make_fixnum (FRAME_CONFIG_SCROLL_BAR_WIDTH (f)) /* nil means "use default width" for non-toolkit scroll bar. ruler-mode.el depends on this. */ : Qnil)); but I'm not sure whether that's what you meant. martin