From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Masatake YAMATO Newsgroups: gmane.emacs.devel Subject: bug? the position of scroll-bar Date: Wed, 17 Sep 2003 20:48:30 +0900 (JST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <20030917.204830.74744537.jet@gyve.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1063799476 25584 80.91.224.253 (17 Sep 2003 11:51:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 17 Sep 2003 11:51:16 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Sep 17 13:51:14 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19zaq2-0003OS-00 for ; Wed, 17 Sep 2003 13:51:14 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 19zatZ-0007sp-00 for ; Wed, 17 Sep 2003 13:54:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19zanb-0000ti-BC for emacs-devel@quimby.gnus.org; Wed, 17 Sep 2003 07:48:43 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 19zanY-0000t4-3n for emacs-devel@gnu.org; Wed, 17 Sep 2003 07:48:40 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 19zanW-0000qA-Dt for emacs-devel@gnu.org; Wed, 17 Sep 2003 07:48:38 -0400 Original-Received: from [210.130.136.40] (helo=r-maa.spacetown.ne.jp) by monty-python.gnu.org with esmtp (Exim 4.22) id 19zanV-0000mM-Li for emacs-devel@gnu.org; Wed, 17 Sep 2003 07:48:37 -0400 Original-Received: from localhost (mx.jp.redhat.com [219.96.218.186]) by r-maa.spacetown.ne.jp (8.11.6) with ESMTP id h8HBmWO27640 for ; Wed, 17 Sep 2003 20:48:33 +0900 (JST) Original-To: emacs-devel@gnu.org X-Mailer: Mew version 3.1.52 on Emacs 21.3 / Mule 5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16439 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16439 After evaluating (scroll-bar-mode) twice, both (nth 2 (window-scroll-bars)) and (frame-parameter nil 'vertical-scroll-bars) return t. So I cannot know the position of scroll-bar(left or right). I think this is a bug. `ruler-mode-left-scroll-bar-cols' in ruler-mode.el expects either (nth 2 (window-scroll-bars)) or (frame-parameter nil 'vertical-scroll-bars) returns 'left or 'right if scroll bar is displayed. emacs -q (progn (scroll-bar-mode) ; disable (scroll-bar-mode) ; enable (cons (nth 2 (window-scroll-bars)) (frame-parameter nil 'vertical-scroll-bars))) => (t . t) Masatake YAMATO