From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: visible-bell patch for Mac OS X Date: Tue, 02 Feb 2010 10:45:58 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <87ljffx7zr.fsf@stupidchicken.com> <87bpg90x1s.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1265075172 21021 80.91.229.12 (2 Feb 2010 01:46:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Feb 2010 01:46:12 +0000 (UTC) Cc: Filipe Cabecinhas , emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 02 02:46:09 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Nc7qC-0005IN-4C for ged-emacs-devel@m.gmane.org; Tue, 02 Feb 2010 02:46:08 +0100 Original-Received: from localhost ([127.0.0.1]:57802 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nc7qB-0007Ni-0m for ged-emacs-devel@m.gmane.org; Mon, 01 Feb 2010 20:46:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nc7q5-0007NP-NZ for emacs-devel@gnu.org; Mon, 01 Feb 2010 20:46:01 -0500 Original-Received: from [199.232.76.173] (port=47973 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nc7q5-0007NC-Ak for emacs-devel@gnu.org; Mon, 01 Feb 2010 20:46:01 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nc7q4-0005Wo-0P for emacs-devel@gnu.org; Mon, 01 Feb 2010 20:46:01 -0500 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:61634) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Nc7q3-0005Wc-JE for emacs-devel@gnu.org; Mon, 01 Feb 2010 20:45:59 -0500 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 3353FC0561; Tue, 2 Feb 2010 10:45:58 +0900 (JST) In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-operating-system: by monty-python.gnu.org: NetBSD 3.0 (DF) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:120808 Archived-At: >>>>> On Tue, 02 Feb 2010 10:40:46 +0900, YAMAMOTO Mitsuharu said: > I tried to do more consistent exclusion of the scroll bars from the > flashed area. The patch below is against the Mac port: > http://lists.gnu.org/archive/html/emacs-devel/2010-01/msg01487.html > + if (FRAME_HAS_VERTICAL_SCROLL_BARS (f)) > + { > + Lisp_Object bar; > + > + if (FRAME_HAS_VERTICAL_SCROLL_BARS (f)) > + for (bar = FRAME_SCROLL_BARS (f); !NILP (bar); > + bar = XSCROLL_BAR (bar)->next) Oops, the second if-condition was redundant, of course. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp