From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: W32 question - hide/show system caret Date: 20 Mar 2003 09:03:00 +0000 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <5xk7eusyxh.fsf@kfs2.cua.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1048151131 5704 80.91.224.249 (20 Mar 2003 09:05:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 20 Mar 2003 09:05:31 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Mar 20 10:05:29 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18vvzN-0001Tq-00 for ; Thu, 20 Mar 2003 10:05:29 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18vw0X-0000ST-00 for ; Thu, 20 Mar 2003 10:06:41 +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 18vvy4-0006yA-08 for emacs-devel@quimby.gnus.org; Thu, 20 Mar 2003 04:04:08 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18vvxj-0006kB-00 for emacs-devel@gnu.org; Thu, 20 Mar 2003 04:03:47 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18vvxY-000651-00 for emacs-devel@gnu.org; Thu, 20 Mar 2003 04:03:37 -0500 Original-Received: from server0011.freedom2surf.net ([194.106.56.14] helo=server0027.freedom2surf.net) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.10.13) id 18vvxV-0005px-00 for emacs-devel@gnu.org; Thu, 20 Mar 2003 04:03:33 -0500 Original-Received: from nyaumo.jasonr.f2s.com ([195.137.103.251]) h2K93ZRT014708; Thu, 20 Mar 2003 09:03:35 GMT Original-Received: from nyaumo.jasonr.f2s.com (localhost [127.0.0.1]) by nyaumo.jasonr.f2s.com (Postfix) with ESMTP id 984F64A3DC; Thu, 20 Mar 2003 09:03:01 +0000 (GMT) Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: <5xk7eusyxh.fsf@kfs2.cua.dk> Original-Lines: 15 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 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:12485 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12485 storm@cua.dk (Kim F. Storm) writes: > During my merging of X/W32/MAC I found what I think is sub-optimal code: > > In w32term.c, the system caret is hidden and shown in the hooks > x_update_window_begin and x_update_window_end, i.e. once for each > updated emacs window. > > Wouldn't it be simpler and more efficient to move the hide/show into > x_update_begin and x_update_end, i.e. only once for each updated emacs > frame ? Yes, probably. It will need testing with screen reader software though. Are there still people on this list that can test this if Kim or me make this change?