GNU bug report logs - #34569
26.1.90; Zero wide scroll bars

Previous Next

Package: emacs;

Reported by: martin rudalics <rudalics <at> gmx.at>

Date: Tue, 19 Feb 2019 09:09:02 UTC

Severity: normal

Found in version 26.1.90

Fixed in version 27.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #29 received at 34569 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 34569 <at> debbugs.gnu.org
Subject: Re: bug#34569: 26.1.90; Zero wide scroll bars
Date: Mon, 25 Feb 2019 11:13:13 +0100
>> 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




This bug report was last modified 6 years and 52 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.