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: Sat, 13 Feb 2010 15:45:17 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <87ljffx7zr.fsf@stupidchicken.com> <87bpg90x1s.fsf@stupidchicken.com> <4B7605BF.10404@harpegolden.net> 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 1266043535 4408 80.91.229.12 (13 Feb 2010 06:45:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Feb 2010 06:45:35 +0000 (UTC) Cc: Chong Yidong , Filipe Cabecinhas , emacs-devel@gnu.org To: David De La Harpe Golden Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 13 07:45:32 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 1NgBkx-0003sG-Ga for ged-emacs-devel@m.gmane.org; Sat, 13 Feb 2010 07:45:31 +0100 Original-Received: from localhost ([127.0.0.1]:36154 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NgBkw-0006hg-My for ged-emacs-devel@m.gmane.org; Sat, 13 Feb 2010 01:45:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NgBko-0006hb-6L for emacs-devel@gnu.org; Sat, 13 Feb 2010 01:45:22 -0500 Original-Received: from [140.186.70.92] (port=39271 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NgBkn-0006hT-BS for emacs-devel@gnu.org; Sat, 13 Feb 2010 01:45:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NgBkm-0007sA-A9 for emacs-devel@gnu.org; Sat, 13 Feb 2010 01:45:21 -0500 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:64015) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NgBkl-0007s6-S8 for emacs-devel@gnu.org; Sat, 13 Feb 2010 01:45:20 -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 DC289C0557; Sat, 13 Feb 2010 15:45:17 +0900 (JST) In-Reply-To: <4B7605BF.10404@harpegolden.net> 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 eggs.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:121090 Archived-At: >>>>> On Sat, 13 Feb 2010 01:51:59 +0000, David De La Harpe Golden said: > YAMAMOTO Mitsuharu wrote: >> BTW, I noticed that the GTK+ build may also flash part of scroll >> bars if GDK_NATIVE_WINDOWS is not set. > Is this a "known" (maybe gtk+ people did not see fit to mention it > through any sensible channels to emacs people?) scrollbar issue: > Gtk+, like Qt [1], has moved away from most use of X11 subwindows. > see: http://live.gnome.org/GTK%2B/ClientSideWindows > * Problems that will require application changes > * emacs 23 (with gtk): o Sometimes when pressing Ctrl-L the > scrollbars are overdrawn with white and not repainted. This is due > to emacs using raw X primitives to draw on the window, while the > scrollbars are client side emulated windows. Emacs could make the > scrollbars native and this would make sure they weren't overdrawn I think Jan already worked hard to cope with client-side-windows for many crucial cases, and this flashing over scroll bars in visible bell is relatively minor. Another minor issue I've just found is disappearance of scroll bar when dragging an edge between mode lines horizontally (i.e., to change the width of windows): 1. emacs -Q 2. C-x 3 (2.5. Optionally, C-x o followed by C-x 2) 3. Drag the edge between the mode lines at the bottom center in order to move the scroll bar horizontally. Then the scroll bar at the center disappears until you stop dragging. This does not happen when GDK_NATIVE_WINDOWS=1. (It would also be interesting to compare the result of the above experiment between NS and Mac ports.) YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp