[PATCH] emacspeak: do not speak one-letter fragments as single letters

Dmitri Paduchikh dpaduchikh на gmail.com
Пн Фев 18 14:04:26 MSK 2013


Previously this have been done to work arround Orca sending letters as
one-letter fragments. But this does not play well with accelerated letters.
---
 emacspeak/Connection.cpp | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/emacspeak/Connection.cpp b/emacspeak/Connection.cpp
index 69119d7..03aadbc 100644
--- a/emacspeak/Connection.cpp
+++ b/emacspeak/Connection.cpp
@@ -32,11 +32,6 @@ void Connection::text(const std::string& t)
 {
   if (!connectionAvailable())
     return;
-  if (trim(IO2WString(t)).length() == 1)//Just for Orca hack!!!
-    {
-      letter(trim(t));
-      return;
-    }
   const std::string s=encodeUTF8(IO2WString(t));
   vm_text(m_con, (char*)s.c_str());
 }
-- 
1.8.1.4




Подробная информация о списке рассылки Homeros