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
[Message part 1 (text/plain, inline)]
> As a temporary workaround you can try to set the buffer local values
> of 'scroll-bar-width' to zero in all buffers that might eventually
> show up in the minibuffer window, for example, thusly
>
> (progn
> (set-window-scroll-bars (minibuffer-window) 0 nil)
> (with-current-buffer (get-buffer-create " *Echo Area 0*")
> (setq scroll-bar-width 0))
> (with-current-buffer (get-buffer-create " *Echo Area 1*")
> (setq scroll-bar-width 0))
> (with-current-buffer (get-buffer-create " *Minibuf-0*")
> (setq scroll-bar-width 0))
> (with-current-buffer (get-buffer-create " *Minibuf-1*")
> (setq scroll-bar-width 0)))
>
> This should work as long as you don't enable recursive minibuffers.
Have you ever tried that workaround?
I now attach a patch that should address this problem with the help of
an additional argument PERSISTENT for 'set-window-scroll-bars' and
'set-window-fringes'. If set, the requested settings should survive
subsequent invocations of 'set-window-buffer' for the window (in
particular the minibuffer window) in question. If you build Emacs
yourself, please try it.
Thanks, martin
[scrollbar-fringes-persistent.diff (text/plain, attachment)]
This bug report was last modified 5 years and 360 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.