From: Eli Zaretskii <eliz@gnu.org>
To: martin rudalics <rudalics@gmx.at>
Cc: agrambot@gmail.com, 27091@debbugs.gnu.org
Subject: bug#27091: Request: Toggle scroll bar on each window separately
Date: Sat, 27 May 2017 12:28:14 +0300 [thread overview]
Message-ID: <83fufqir81.fsf@gnu.org> (raw)
In-Reply-To: <592941B2.9060304@gmx.at> (message from martin rudalics on Sat, 27 May 2017 11:06:58 +0200)
> 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.
next prev parent reply other threads:[~2017-05-27 9:28 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-26 22:01 bug#27091: Request: Toggle scroll bar on each window separately Alex
2017-05-27 8:16 ` martin rudalics
2017-05-27 8:37 ` Eli Zaretskii
2017-05-27 9:06 ` martin rudalics
2017-05-27 9:28 ` Eli Zaretskii [this message]
2017-05-27 9:57 ` martin rudalics
2017-05-27 10:35 ` Eli Zaretskii
2017-05-27 13:26 ` martin rudalics
2017-05-27 13:43 ` Eli Zaretskii
2017-05-27 17:43 ` Alex
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83fufqir81.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=27091@debbugs.gnu.org \
--cc=agrambot@gmail.com \
--cc=rudalics@gmx.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).