From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: Use Core Text for Cocoa Emacs Date: Thu, 20 May 2010 13:58:06 +0800 Message-ID: <4BF4CF6E.4040105@gnu.org> References: <94E6FF46-4227-4DA2-BE35-C64908558378@gmail.com> <18325.1274214480@ccs.covici.com> <24612.1274240176@ccs.covici.com> <6FB96086-3851-4AAB-BA98-4D4C7ED94F7D@mit.edu> <9342.1274324397@ccs.covici.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1274335144 18428 80.91.229.12 (20 May 2010 05:59:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 20 May 2010 05:59:04 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 20 07:59:01 2010 connect(): No such file or directory 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 1OEymb-00056h-C3 for ged-emacs-devel@m.gmane.org; Thu, 20 May 2010 07:59:01 +0200 Original-Received: from localhost ([127.0.0.1]:42308 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OEyma-0007V9-DX for ged-emacs-devel@m.gmane.org; Thu, 20 May 2010 01:59:00 -0400 Original-Received: from [140.186.70.92] (port=43010 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OEymM-0007Tz-QW for emacs-devel@gnu.org; Thu, 20 May 2010 01:58:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OEymK-0007LK-UK for emacs-devel@gnu.org; Thu, 20 May 2010 01:58:46 -0400 Original-Received: from mail-pw0-f41.google.com ([209.85.160.41]:49283) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEymK-0007LE-OW for emacs-devel@gnu.org; Thu, 20 May 2010 01:58:44 -0400 Original-Received: by pwi7 with SMTP id 7so8297827pwi.0 for ; Wed, 19 May 2010 22:58:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=Rho+ACbAaAxO64ybzOvFPk+itjlrMVZXHoM2MZYp8fg=; b=C2YwL8LTnEt+SA5cU9cAcQF3/ViSLeOTSMne2+tqKiPeGjizSBnkeurNXKqcOB0l48 mXn275JAu2LEpTkxKpiSriBEMqTAC/ySEUE8+QgXBg4y+WbbvOfdBVgXZ+5O46j2+wh/ EJgtGksfDlfVcGLQp+VUvM/IVo/Zp5cPsGlDA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=pWl79qw5gCno4fyuYzdIXUrUm6RupwhXDJZ7HVNw/Y7x6ssfzecyYXorw9XKLiipis WnF7HtVvPpmZQ+V2cfzFuva8GKScqO4lcaHU1bMwbQfMrm/RApEnfisEYnZwA+SbM5zs wlWrWJ+0gMQl9PpT647f+QTnfjbTu6keWK2cE= Original-Received: by 10.115.102.16 with SMTP id e16mr426038wam.117.1274335123540; Wed, 19 May 2010 22:58:43 -0700 (PDT) Original-Received: from [10.1.1.54] ([61.4.103.130]) by mx.google.com with ESMTPS id 33sm74409014wad.20.2010.05.19.22.58.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 19 May 2010 22:58:42 -0700 (PDT) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1 In-Reply-To: <9342.1274324397@ccs.covici.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:124958 Archived-At: On 20/05/2010 10:59, covici@ccs.covici.com wrote: >> If I activate VoiceOver from the System Preferences as described above >> and click the Emacs frame, then the whole content area (i.e., other >> than the title bar and the tool bar, but including scroll bars) of the >> frame gets bordered in black, and the application name ("Emacs"), the >> title bar name, and the buffer text get spoken in this order. But the >> cursor keys do not cause the character under the cursor to be spoken. >> >> If this is heading to the right direction, then Core Text vs. NS Text >> system, both of which are used in the Mac port, has basically nothing >> to do with accessibility. >> > Yep, you are going in the right direction -- menues, prompts, buttons > and all such should be spoken. Look at the system preferences dialog > and you will get an idea. Look at textedit and you will get an idea of > what we would like the cursor to do. > Is this because Emacs draws its own cursor? On Windows, accessibility functions were made to work by introducing the variable `w32-use-visible-system-caret' and its associated code in w32fns.c/w32term.c. When the user sets that variable to non-nil, the Windows caret is used, which allows Accessibility tools to track the cursor position and read text at the cursor, at the expense of losing user customization of the visual look of the text cursor.