GNU bug report logs -
#54237
Disabling `scroll-bar-mode' fails when setting `default-frame-alist'
Previous Next
Reported by: Tor Kringeland <tor.a.s.kringeland <at> ntnu.no>
Date: Thu, 3 Mar 2022 14:46:02 UTC
Severity: normal
Tags: moreinfo
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Tor Kringeland <tor.a.s.kringeland <at> ntnu.no> writes:
>> `scroll-bar-mode' disables itself by altering default-frame-alist, so I
>> think what you're seeing is predictable?
>
> I see, I didn't know. Can I disable `scroll-bar-mode' via
> `default-frame-alist' directly?
Yes, for new frames, you can just set:
(setq default-frame-alist '((vertical-scroll-bars)))
> The problem arose since `set-cursor-color' doesn't work when starting
> Emacs as a server so I changed `default-frame-alist' but that enabled
> `scroll-bar-mode' ...
>
> Feel free to close this as it's not a bug, then.
Perhaps this quirk should be documented in the scroll-bar-mode doc
string, though?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 3 years and 136 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.