unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Eli Zaretskii <eliz@gnu.org>
Cc: agrambot@gmail.com, 27091@debbugs.gnu.org
Subject: bug#27091: Request: Toggle scroll bar on each window separately
Date: Sat, 27 May 2017 11:06:58 +0200	[thread overview]
Message-ID: <592941B2.9060304@gmx.at> (raw)
In-Reply-To: <83inkmitkt.fsf@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.

martin






  reply	other threads:[~2017-05-27  9:06 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 [this message]
2017-05-27  9:28       ` Eli Zaretskii
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=592941B2.9060304@gmx.at \
    --to=rudalics@gmx.at \
    --cc=27091@debbugs.gnu.org \
    --cc=agrambot@gmail.com \
    --cc=eliz@gnu.org \
    /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).