bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27091: Request: Toggle scroll bar on each window separately


From: Eli Zaretskii
Subject: bug#27091: Request: Toggle scroll bar on each window separately
Date: Sat, 27 May 2017 12:28:14 +0300

> Date: Sat, 27 May 2017 11:06:58 +0200
> From: martin rudalics <rudalics@gmx.at>
> CC: agrambot@gmail.com, 27091@debbugs.gnu.org
> 
>  > But it looks like switching buffers in a window whose vertical scroll
>  > bar has been disabled by a call to set-window-scroll-bars restores the
>  > scroll bar, unless I also set the buffer-local variable
>  > vertical-scroll-bars to nil.  What am I doing wrong?
> 
> Nothing, I presume.  ‘set-window-buffer’ calls set_window_scroll_bars
> just like ‘set-window-scroll-bars’ called it before.  You should see the
> same "problem" with fringes and margins.  I always hated the ideology of
> buffer-local values that override window-local values but would not dare
> to question it in public.

I think this should be added to the documentation in the ELisp manual.

Thanks.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]