all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: covici@ccs.covici.com
To: Jason Rumney <jasonr@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Use Core Text for Cocoa Emacs
Date: Thu, 20 May 2010 02:33:51 -0400	[thread overview]
Message-ID: <11778.1274337231@ccs.covici.com> (raw)
In-Reply-To: <4BF4CF6E.4040105@gnu.org>

Jason Rumney <jasonr@gnu.org> wrote:

> 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.
> 

On the mac, the accessibility framework is more restrictive -- its up to
the application to conform to Apple's specifications.  I don't think
that changing the shape of the cursor would do the trick, the
accessibility framework needs to be informed about everything, when the
cursor moves and many other things, the details of which I do not know,
but as an example, Microsoft Word is complete inaccessible on the mac,
Microsoft won't conform and Apple says heck with you -- in other words.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com



  reply	other threads:[~2010-05-20  6:33 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-07 15:23 Use Core Text for Cocoa Emacs Wang Ling
2010-05-18  8:31 ` Adrian Robert
2010-05-18 20:28   ` covici
2010-05-19  0:45     ` YAMAMOTO Mitsuharu
2010-05-19  3:36       ` covici
2010-05-19  3:44         ` YAMAMOTO Mitsuharu
2010-05-19  4:00           ` Chad Brown
2010-05-20  0:56             ` YAMAMOTO Mitsuharu
2010-05-20  2:59               ` covici
2010-05-20  5:58                 ` Jason Rumney
2010-05-20  6:33                   ` covici [this message]
2010-05-22  6:50                     ` Adrian Robert
2010-05-22  7:05                       ` Jason Rumney
2010-05-22  8:21                         ` Adrian Robert
2010-05-22 11:09                           ` Jan Djärv
2010-05-22 11:34                             ` covici
2010-05-22  7:57                       ` covici
2010-05-19  4:44           ` covici
2010-05-19  5:08             ` YAMAMOTO Mitsuharu
2010-05-19  6:26               ` covici
2010-05-19  6:14     ` Adrian Robert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=11778.1274337231@ccs.covici.com \
    --to=covici@ccs.covici.com \
    --cc=emacs-devel@gnu.org \
    --cc=jasonr@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.