From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Steven Tamm Newsgroups: gmane.emacs.devel Subject: Re: scroll-bar-mode incorrect on mac os x Date: Thu, 2 Jan 2003 14:42:31 -0800 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <7A6C3D00-1EA3-11D7-80E9-00039390AB82@mac.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v551) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1041549084 21529 80.91.224.249 (2 Jan 2003 23:11:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 2 Jan 2003 23:11:24 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18UEUl-0005b7-00 for ; Fri, 03 Jan 2003 00:11:23 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18UEX6-0000qS-00 for ; Fri, 03 Jan 2003 00:13:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18UESh-0007HS-02 for emacs-devel@quimby.gnus.org; Thu, 02 Jan 2003 18:09:15 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18UEFs-00048I-00 for emacs-devel@gnu.org; Thu, 02 Jan 2003 17:56:00 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18UEEw-0003tM-00 for emacs-devel@gnu.org; Thu, 02 Jan 2003 17:55:05 -0500 Original-Received: from a17-250-248-97.apple.com ([17.250.248.97] helo=smtpout.mac.com) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18UE2u-000079-00 for emacs-devel@gnu.org; Thu, 02 Jan 2003 17:42:36 -0500 Original-Received: from asmtp02.mac.com (asmtp02-qfe3 [10.13.10.66]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id h02MgY7o029916 for ; Thu, 2 Jan 2003 14:42:34 -0800 (PST) Original-Received: from mac.com ([12.236.43.16]) by asmtp02.mac.com (Netscape Messaging Server 4.15) with ESMTP id H83Z2Y00.6W5; Thu, 2 Jan 2003 14:42:34 -0800 Original-To: jpw@shootybangbang.com (John Paul Wallington) In-Reply-To: X-Mailer: Apple Mail (2.551) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10420 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10420 I figured it out. My test to determine whether or not this was the carbon port was to test window-system. However, since scroll-bar-mode is set during load (before unexec) window-system is always set to nil. I changed macterm.c to provide a feature called "mac-carbon" which is now the test in scroll-bar.el: "(featurep 'mac-carbon)". Since I originally tested it by only evaluating the buffer, instead of doing a from-scratch build, I didn't see it. Anyone have comments on the name of the feature? Thanks, -Steven On Thursday, January 2, 2003, at 01:28 PM, John Paul Wallington wrote: > Steven Tamm wrote: > >> I'd assume that if you recompile scroll-bar.el and place it in >> /usr/local/share/emacs/21.3.50/... it would work (it does for me). > > Nope. I've snarfed a fresh tree from CVS to ensure that local changes > weren't affecting my build. Still C-h v scroll-bar-mode says its > value is `left'. > > -- > John Paul Wallington