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


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 34569 <at> debbugs.gnu.org
Subject: bug#34569: 26.1.90; Zero wide scroll bars
Date: Sun, 24 Feb 2019 09:43:37 +0100
>> But yes: One way to fix the aborts should be to disallow setting the
>> 'scroll-bar-width' frame parameter to zero.
>
> Then I think we should do that.

It means though that we have to do some non-standard surgery in the
frame parameters area.  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?

martin




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

Previous Next


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