From: Richard Stallman <rms@gnu.org>
Cc: jet@gyve.org, emacs-devel@gnu.org
Subject: Re: bug? the position of scroll-bar
Date: Sun, 21 Sep 2003 18:34:32 -0400 [thread overview]
Message-ID: <E1A1Cmm-0004RJ-9J@fencepost.gnu.org> (raw)
In-Reply-To: <m38yoj6may.fsf@kfs-l.imdomain.dk> (storm@cua.dk)
Maybe we need to add helper functions like these to hide the somewhat
tricky relationship between windows, frames, and system defaults:
(defun frame-current-scroll-bars (&optional frame)
(let ((type (frame-parameter frame 'vertical-scroll-bars)))
(if (or (null type) (eq type 'left) (eq type 'right))
type
default-frame-scroll-bars)))
and
(defun window-current-scroll-bars (&optional window)
(let ((type (nth 2 (window-scroll-bars window))))
(if (eq type t)
(frame-current-scroll-bars (window-frame (or window (selected-window))))
type)))
That is a good idea. Please add them.
prev parent reply other threads:[~2003-09-21 22:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-17 11:48 bug? the position of scroll-bar Masatake YAMATO
2003-09-21 0:02 ` Kim F. Storm
2003-09-21 5:51 ` Masatake YAMATO
2003-09-22 7:56 ` Kim F. Storm
2003-09-22 9:22 ` Masatake YAMATO
2003-09-22 12:23 ` Kim F. Storm
2003-09-21 22:34 ` Richard Stallman [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1A1Cmm-0004RJ-9J@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=jet@gyve.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.