GNU bug report logs -
#36193
26.2; 'set-window-scroll-bars' setting doesn't take effect in emacsclient session
Previous Next
Reported by: Andrea Greselin <greselin.andrea <at> gmail.com>
Date: Thu, 13 Jun 2019 14:59:01 UTC
Severity: minor
Tags: fixed
Found in version 26.2
Fixed in version 27.1
Done: martin rudalics <rudalics <at> gmx.at>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Trying to follow your suggestion I've written
>
> (defun hide-minibuffer-scrollbar (frame)
> (with-selected-frame frame
> (set-window-scroll-bars (minibuffer-window) 0 nil)))
> (if (daemonp)
> (add-hook 'after-make-frame-functions #'hide-minibuffer-scrollbar) ; Only for client sessions
> (set-window-scroll-bars (minibuffer-window) 0 nil))
>
> Now client sessions start without the minibuffer scrollbar, but as soon as
> I use the minibuffer it comes back and it isn't removed afterwards.
Scrollbar management in the minibuffer window might be unpredictable.
Also, GTK builds usually hide the scroll bar in a one line minibuffer
window automatically, so even the 'min-slider-length' might come into
play here.
To make sure we don't miss anything before proceeding further:
(1) Is this behavior special for the minibuffer window? That is, if
in 'after-make-frame-functions' you removed the scroll bar from any
other window, does it stay removed when you switch to that window
repeatedly?
(2) Does showing a message in the echo area suffice to make the scroll
bar reappear? With other words, what does "use" the minibuffer stand
for?
(3) I suppose "it isn't removed afterwards" means you can still remove
the scroll bar explicitly via 'set-window-scroll-bars' afterwards.
Right? And if you do that, does it come back after yet another "use"
of the minibuffer?
(4) Can you influence the behavior by customizing the variable
`resize-mini-windows'?
Thanks, martin
This bug report was last modified 5 years and 361 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.