Tim Cross | 3 Oct 03:56 2009
Picon

emacspeak-moz bug?

Hi Raman,

I think I've found a bug in emacspeak-moz.el

When I run emacspeak-moz-browse-current, I get the following backtrace

Debugger entered--Lisp error: (wrong-type-argument char-or-string-p t)
  ad-Orig-comint-output-filter(#<process MozRepl> "\nWelcome to MozRepl.\n\n - If you get stuck at the
\"...>\" prompt, enter a semicolon (;) at the beginning of the line to force evaluation.\n - If you get
errors after every character you type, see http://github.com/bard/mozrepl/wikis/troubleshooting
(short version: stop using Microsoft telnet, use netcat or putty instead)\n\nCurrent working context:
chrome://browser/content/browser.xul\nCurrent input mode: syntax\n\nrepl> ")
  comint-output-filter(#<process MozRepl> "\nWelcome to MozRepl.\n\n - If you get stuck at the \"...>\"
prompt, enter a semicolon (;) at the beginning of the line to force evaluation.\n - If you get errors after
every character you type, see http://github.com/bard/mozrepl/wikis/troubleshooting (short
version: stop using Microsoft telnet, use netcat or putty instead)\n\nCurrent working context:
chrome://browser/content/browser.xul\nCurrent input mode: syntax\n\nrepl> ")
  sleep-for(0 100)
  (progn (setq inferior-moz-buffer (apply ... "MozRepl" ... nil nil)) (sleep-for 0 100)
(with-current-buffer inferior-moz-buffer (inferior-moz-mode) (run-hooks ...)))
  (condition-case err (progn (setq inferior-moz-buffer ...) (sleep-for 0 100) (with-current-buffer
inferior-moz-buffer ... ...)) (file-error (with-output-to-temp-buffer "*MozRepl Error*" ...)
(error "Can't start MozRepl")))
  inferior-moz-start-process()
  (progn (inferior-moz-start-process) (inferior-moz-process))
  (or (if (buffer-live-p inferior-moz-buffer) (get-buffer-process inferior-moz-buffer)) (progn
(inferior-moz-start-process) (inferior-moz-process)))
  inferior-moz-process()
  emacspeak-moz-eval-expression-and-browse("repl.updateADom(); repl.adom.html(1)")
  emacspeak-moz-browse-current()
(Continue reading)

T. V. Raman | 13 Oct 17:57 2009
Picon

[emacspeak The Complete Audio Desktop] A Google Tool-belt For The Complete Au...

Introducing The Emacspeak Google Tool-belt

Module emacspeak-google.el implements a suite of Google tools collectively refered to as The Google Tool-Belt. These tools let you slice and dice your result set using the various search operators provided by Google --- the functionality is similar to that -- --offered by the Google results page via -- --user interface control Show -- --Options.

The table below summarizes the tools that are presently available on the Emacspeak Google Tool-belt. For convenience, the tool-belt is bound to prefix-key Control-t in Emacs/W3 buffers.

keybinding
C-t C-b emacspeak-google-toolbelt-change-books-viewability
C-t A emacspeak-websearch-accessible-google
C-t B emacspeak-google-toolbelt-change-books
C-t H emacspeak-google-toolbelt-change-web-history-not-visited
C-t T emacspeak-google-toolbelt-change-timeline
C-t a emacspeak-websearch-google
C-t b emacspeak-google-toolbelt-change-blog
C-t c emacspeak-google-toolbelt-change-commercial
C-t d emacspeak-google-toolbelt-change-sort-by-date
C-t f emacspeak-google-toolbelt-change-forums
C-t h emacspeak-google-toolbelt-change-web-history-visited
C-t i emacspeak-google-toolbelt-change-images
C-t l emacspeak-google-toolbelt-change-non-commercial
C-t n emacspeak-google-toolbelt-change-news
C-t p emacspeak-google-toolbelt-change-commercial-prices
C-t r emacspeak-google-toolbelt-change-recent
C-t s emacspeak-google-toolbelt-change-structured-snippets
C-t t emacspeak-google-toolbelt-change-books-type
C-t v emacspeak-google-toolbelt-change-video

Share And Enjoy!



--
Posted By T. V. Raman to emacspeak The Complete Audio Desktop at 10/13/2009 08:57:00 AM
John Morgan | 15 Oct 11:54 2009
Picon

unicode editing

Dear list,
I recently upgraded my emacspeak to version 30 and I'm having problems
editing files containing characters encoded in multibyte utf8.  I use
espeak.  When I move over multibyte characters emacspeak is silent.
When I move to a line containing even one multibyte utf8 encoded
character I get no speech for the entire line.  I also can't remove
the offending characters in an emacs buffer.  I guess this means
problems with my emacs, but I only noticed the problem after upgrading
emacspeak.  I don't notice any problems with 7-bit encoded characters.
 Do I have to set a variable in my .emacs to enable editing multibyte
text?
Thanks for any help.
John

Robert D. Crawford | 15 Oct 18:46 2009
Picon

Re: unicode editing

John Morgan <johnjosephmorgan <at> gmail.com> writes:

> I recently upgraded my emacspeak to version 30 and I'm having problems
> editing files containing characters encoded in multibyte utf8.  I use
> espeak.  When I move over multibyte characters emacspeak is silent.
> When I move to a line containing even one multibyte utf8 encoded
> character I get no speech for the entire line.  I also can't remove
> the offending characters in an emacs buffer.  I guess this means
> problems with my emacs, but I only noticed the problem after upgrading
> emacspeak.  I don't notice any problems with 7-bit encoded characters.
>  Do I have to set a variable in my .emacs to enable editing multibyte
> text?

I'm not sure this will help, but what is the value of 
default-enable-multibyte-characters?

Also, you don't mention how you start emacspeak, but it used to be that
the emacspeak script, which some people used to start emacs and
emacspeak, contained the environment variable EMACS_UNIBYTE=1.  This
might not be the case anymore.  I've not upgraded in a while so I cannot
be sure.

Here are the other settings I have in my .emacs file that pertain to
utf-8:

(setq locale-coding-system 'utf-8)
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(set-selection-coding-system 'utf-8)
(prefer-coding-system 'utf-8)

Set via Customize:

 '(current-language-environment "UTF-8")

Even if this does not fix the problem, perhaps it leads you in the right
direction.

rdc
--

-- 
Robert D. Crawford                                     robdcraw <at> gmail.com

Virtue is a relative term.
		-- Spock, "Friday's Child", stardate 3499.1

John Morgan | 15 Oct 20:55 2009
Picon

Re: unicode editing

Thanks Robert, I'm working with the .emacs settings you posted, I
don't have the problem fixed yet.  I'm not using the start up script,
I have a line
exec emacs -q -l /home/john/emacspeak/lisp/emacspeak-setup.el -l
/home/john/.emacs
in a shell script and I invoke it after loging in.

Can you read multibyte characters with emacspeak and espeak?
For example, if you type m-x ucs-insert and enter the hex value 622,
does emacspeak read the character to you?

I had set default-enable-multibyte-characters to t.
John

On 10/15/09, Robert D. Crawford <robdcraw <at> gmail.com> wrote:
> John Morgan <johnjosephmorgan <at> gmail.com> writes:
>
>> I recently upgraded my emacspeak to version 30 and I'm having problems
>> editing files containing characters encoded in multibyte utf8.  I use
>> espeak.  When I move over multibyte characters emacspeak is silent.
>> When I move to a line containing even one multibyte utf8 encoded
>> character I get no speech for the entire line.  I also can't remove
>> the offending characters in an emacs buffer.  I guess this means
>> problems with my emacs, but I only noticed the problem after upgrading
>> emacspeak.  I don't notice any problems with 7-bit encoded characters.
>>  Do I have to set a variable in my .emacs to enable editing multibyte
>> text?
>
> I'm not sure this will help, but what is the value of
> default-enable-multibyte-characters?
>
> Also, you don't mention how you start emacspeak, but it used to be that
> the emacspeak script, which some people used to start emacs and
> emacspeak, contained the environment variable EMACS_UNIBYTE=1.  This
> might not be the case anymore.  I've not upgraded in a while so I cannot
> be sure.
>
> Here are the other settings I have in my .emacs file that pertain to
> utf-8:
>
> (setq locale-coding-system 'utf-8)
> (set-terminal-coding-system 'utf-8)
> (set-keyboard-coding-system 'utf-8)
> (set-selection-coding-system 'utf-8)
> (prefer-coding-system 'utf-8)
>
> Set via Customize:
>
>  '(current-language-environment "UTF-8")
>
> Even if this does not fix the problem, perhaps it leads you in the right
> direction.
>
> rdc
> --
> Robert D. Crawford                                     robdcraw <at> gmail.com
>
> Virtue is a relative term.
> 		-- Spock, "Friday's Child", stardate 3499.1
>
> -----------------------------------------------------------------------------
> To unsubscribe from the emacspeak list or change your address on the
> emacspeak list send mail to "emacspeak-request <at> cs.vassar.edu" with a
> subject of "unsubscribe" or "help".
>
>

--

-- 
Regards,
John J Morgan

John Morgan | 15 Oct 21:58 2009
Picon

Re: unicode editing

Robert,
I've inserted the utf-8 related variables in my .emacs file and I
still have the problem.  I wonder if it's an espeak problem?
The weird thing is that I can't delete the multibyte characters, it's
a nightmare, they're indestructible.
I don't think espeak would cause this behavior.
I'm running version 22 of emacs.
John
On 10/15/09, John Morgan <johnjosephmorgan <at> gmail.com> wrote:
> Thanks Robert, I'm working with the .emacs settings you posted, I
> don't have the problem fixed yet.  I'm not using the start up script,
> I have a line
> exec emacs -q -l /home/john/emacspeak/lisp/emacspeak-setup.el -l
> /home/john/.emacs
> in a shell script and I invoke it after loging in.
>
> Can you read multibyte characters with emacspeak and espeak?
> For example, if you type m-x ucs-insert and enter the hex value 622,
> does emacspeak read the character to you?
>
> I had set default-enable-multibyte-characters to t.
> John
>
>
> On 10/15/09, Robert D. Crawford <robdcraw <at> gmail.com> wrote:
>> John Morgan <johnjosephmorgan <at> gmail.com> writes:
>>
>>> I recently upgraded my emacspeak to version 30 and I'm having problems
>>> editing files containing characters encoded in multibyte utf8.  I use
>>> espeak.  When I move over multibyte characters emacspeak is silent.
>>> When I move to a line containing even one multibyte utf8 encoded
>>> character I get no speech for the entire line.  I also can't remove
>>> the offending characters in an emacs buffer.  I guess this means
>>> problems with my emacs, but I only noticed the problem after upgrading
>>> emacspeak.  I don't notice any problems with 7-bit encoded characters.
>>>  Do I have to set a variable in my .emacs to enable editing multibyte
>>> text?
>>
>> I'm not sure this will help, but what is the value of
>> default-enable-multibyte-characters?
>>
>> Also, you don't mention how you start emacspeak, but it used to be that
>> the emacspeak script, which some people used to start emacs and
>> emacspeak, contained the environment variable EMACS_UNIBYTE=1.  This
>> might not be the case anymore.  I've not upgraded in a while so I cannot
>> be sure.
>>
>> Here are the other settings I have in my .emacs file that pertain to
>> utf-8:
>>
>> (setq locale-coding-system 'utf-8)
>> (set-terminal-coding-system 'utf-8)
>> (set-keyboard-coding-system 'utf-8)
>> (set-selection-coding-system 'utf-8)
>> (prefer-coding-system 'utf-8)
>>
>> Set via Customize:
>>
>>  '(current-language-environment "UTF-8")
>>
>> Even if this does not fix the problem, perhaps it leads you in the right
>> direction.
>>
>> rdc
>> --
>> Robert D. Crawford                                     robdcraw <at> gmail.com
>>
>> Virtue is a relative term.
>> 		-- Spock, "Friday's Child", stardate 3499.1
>>
>> -----------------------------------------------------------------------------
>> To unsubscribe from the emacspeak list or change your address on the
>> emacspeak list send mail to "emacspeak-request <at> cs.vassar.edu" with a
>> subject of "unsubscribe" or "help".
>>
>>
>
>
> --
> Regards,
> John J Morgan
>

--

-- 
Regards,
John J Morgan

John Morgan | 15 Oct 22:45 2009
Picon

Re: unicode editing

The variable default-enable-multibyte-characters was the problem.  I
just deleted the line where I had set it to t in my .emacs file and
I'm back to the behavior I had previously.

This behavior is not ideal.  The multibyte characters get read as hex
values when I move up or down lines with c-n or c-p, but not with  m-f
or m-b or c-f or c-b.  I was hoping this would have been improved in
the latest version of emacspeak.
Should I set the describe-char-unicodedata-file variable?
John

On 10/15/09, John Morgan <johnjosephmorgan <at> gmail.com> wrote:
> Robert,
> I've inserted the utf-8 related variables in my .emacs file and I
> still have the problem.  I wonder if it's an espeak problem?
> The weird thing is that I can't delete the multibyte characters, it's
> a nightmare, they're indestructible.
> I don't think espeak would cause this behavior.
> I'm running version 22 of emacs.
> John
> On 10/15/09, John Morgan <johnjosephmorgan <at> gmail.com> wrote:
>> Thanks Robert, I'm working with the .emacs settings you posted, I
>> don't have the problem fixed yet.  I'm not using the start up script,
>> I have a line
>> exec emacs -q -l /home/john/emacspeak/lisp/emacspeak-setup.el -l
>> /home/john/.emacs
>> in a shell script and I invoke it after loging in.
>>
>> Can you read multibyte characters with emacspeak and espeak?
>> For example, if you type m-x ucs-insert and enter the hex value 622,
>> does emacspeak read the character to you?
>>
>> I had set default-enable-multibyte-characters to t.
>> John
>>
>>
>> On 10/15/09, Robert D. Crawford <robdcraw <at> gmail.com> wrote:
>>> John Morgan <johnjosephmorgan <at> gmail.com> writes:
>>>
>>>> I recently upgraded my emacspeak to version 30 and I'm having problems
>>>> editing files containing characters encoded in multibyte utf8.  I use
>>>> espeak.  When I move over multibyte characters emacspeak is silent.
>>>> When I move to a line containing even one multibyte utf8 encoded
>>>> character I get no speech for the entire line.  I also can't remove
>>>> the offending characters in an emacs buffer.  I guess this means
>>>> problems with my emacs, but I only noticed the problem after upgrading
>>>> emacspeak.  I don't notice any problems with 7-bit encoded characters.
>>>>  Do I have to set a variable in my .emacs to enable editing multibyte
>>>> text?
>>>
>>> I'm not sure this will help, but what is the value of
>>> default-enable-multibyte-characters?
>>>
>>> Also, you don't mention how you start emacspeak, but it used to be that
>>> the emacspeak script, which some people used to start emacs and
>>> emacspeak, contained the environment variable EMACS_UNIBYTE=1.  This
>>> might not be the case anymore.  I've not upgraded in a while so I cannot
>>> be sure.
>>>
>>> Here are the other settings I have in my .emacs file that pertain to
>>> utf-8:
>>>
>>> (setq locale-coding-system 'utf-8)
>>> (set-terminal-coding-system 'utf-8)
>>> (set-keyboard-coding-system 'utf-8)
>>> (set-selection-coding-system 'utf-8)
>>> (prefer-coding-system 'utf-8)
>>>
>>> Set via Customize:
>>>
>>>  '(current-language-environment "UTF-8")
>>>
>>> Even if this does not fix the problem, perhaps it leads you in the right
>>> direction.
>>>
>>> rdc
>>> --
>>> Robert D. Crawford
>>> robdcraw <at> gmail.com
>>>
>>> Virtue is a relative term.
>>> 		-- Spock, "Friday's Child", stardate 3499.1
>>>
>>> -----------------------------------------------------------------------------
>>> To unsubscribe from the emacspeak list or change your address on the
>>> emacspeak list send mail to "emacspeak-request <at> cs.vassar.edu" with a
>>> subject of "unsubscribe" or "help".
>>>
>>>
>>
>>
>> --
>> Regards,
>> John J Morgan
>>
>
>
> --
> Regards,
> John J Morgan
>

--

-- 
Regards,
John J Morgan

John Morgan | 15 Oct 23:35 2009
Picon

Re: unicode editing

I found a site that says to add these lines to my .emacs
'; set unicode data file location. (used by what-cursor-position)
(let ((x "~/Documents/emacs/UnicodeData.txt"))
  (when (file-exists-p x)
    (setq describe-char-unicodedata-file x)))

I'm still getting an emacspeak-speak-char-name error that refers to ucs-names.
symbol's function definition is void: ucs-names
and emacspeak is silent when I type c-e c or c-f or c-b or m-f or m-b.

J
On 10/15/09, John Morgan <johnjosephmorgan <at> gmail.com> wrote:
> The variable default-enable-multibyte-characters was the problem.  I
> just deleted the line where I had set it to t in my .emacs file and
> I'm back to the behavior I had previously.
>
> This behavior is not ideal.  The multibyte characters get read as hex
> values when I move up or down lines with c-n or c-p, but not with  m-f
> or m-b or c-f or c-b.  I was hoping this would have been improved in
> the latest version of emacspeak.
> Should I set the describe-char-unicodedata-file variable?
> John
>
>
>
> On 10/15/09, John Morgan <johnjosephmorgan <at> gmail.com> wrote:
>> Robert,
>> I've inserted the utf-8 related variables in my .emacs file and I
>> still have the problem.  I wonder if it's an espeak problem?
>> The weird thing is that I can't delete the multibyte characters, it's
>> a nightmare, they're indestructible.
>> I don't think espeak would cause this behavior.
>> I'm running version 22 of emacs.
>> John
>> On 10/15/09, John Morgan <johnjosephmorgan <at> gmail.com> wrote:
>>> Thanks Robert, I'm working with the .emacs settings you posted, I
>>> don't have the problem fixed yet.  I'm not using the start up script,
>>> I have a line
>>> exec emacs -q -l /home/john/emacspeak/lisp/emacspeak-setup.el -l
>>> /home/john/.emacs
>>> in a shell script and I invoke it after loging in.
>>>
>>> Can you read multibyte characters with emacspeak and espeak?
>>> For example, if you type m-x ucs-insert and enter the hex value 622,
>>> does emacspeak read the character to you?
>>>
>>> I had set default-enable-multibyte-characters to t.
>>> John
>>>
>>>
>>> On 10/15/09, Robert D. Crawford <robdcraw <at> gmail.com> wrote:
>>>> John Morgan <johnjosephmorgan <at> gmail.com> writes:
>>>>
>>>>> I recently upgraded my emacspeak to version 30 and I'm having problems
>>>>> editing files containing characters encoded in multibyte utf8.  I use
>>>>> espeak.  When I move over multibyte characters emacspeak is silent.
>>>>> When I move to a line containing even one multibyte utf8 encoded
>>>>> character I get no speech for the entire line.  I also can't remove
>>>>> the offending characters in an emacs buffer.  I guess this means
>>>>> problems with my emacs, but I only noticed the problem after upgrading
>>>>> emacspeak.  I don't notice any problems with 7-bit encoded characters.
>>>>>  Do I have to set a variable in my .emacs to enable editing multibyte
>>>>> text?
>>>>
>>>> I'm not sure this will help, but what is the value of
>>>> default-enable-multibyte-characters?
>>>>
>>>> Also, you don't mention how you start emacspeak, but it used to be that
>>>> the emacspeak script, which some people used to start emacs and
>>>> emacspeak, contained the environment variable EMACS_UNIBYTE=1.  This
>>>> might not be the case anymore.  I've not upgraded in a while so I
>>>> cannot
>>>> be sure.
>>>>
>>>> Here are the other settings I have in my .emacs file that pertain to
>>>> utf-8:
>>>>
>>>> (setq locale-coding-system 'utf-8)
>>>> (set-terminal-coding-system 'utf-8)
>>>> (set-keyboard-coding-system 'utf-8)
>>>> (set-selection-coding-system 'utf-8)
>>>> (prefer-coding-system 'utf-8)
>>>>
>>>> Set via Customize:
>>>>
>>>>  '(current-language-environment "UTF-8")
>>>>
>>>> Even if this does not fix the problem, perhaps it leads you in the
>>>> right
>>>> direction.
>>>>
>>>> rdc
>>>> --
>>>> Robert D. Crawford
>>>> robdcraw <at> gmail.com
>>>>
>>>> Virtue is a relative term.
>>>> 		-- Spock, "Friday's Child", stardate 3499.1
>>>>
>>>> -----------------------------------------------------------------------------
>>>> To unsubscribe from the emacspeak list or change your address on the
>>>> emacspeak list send mail to "emacspeak-request <at> cs.vassar.edu" with a
>>>> subject of "unsubscribe" or "help".
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> John J Morgan
>>>
>>
>>
>> --
>> Regards,
>> John J Morgan
>>
>
>
> --
> Regards,
> John J Morgan
>

--

-- 
Regards,
John J Morgan

Tim Cross | 16 Oct 02:52 2009
Picon

Re: unicode editing


Hi John,

check the emacspeak mail list archives. Raman posted a message quite
recently regarding changes in the latest version of emacspeak and the
handling of unicode. It includes details of the unicode.txt file and how to
set it up. I suspect the site you have found has information that is a
little outdated. 

The other thing to consider is upgrading to emacs 23. A lot of work has
been done since emacs 22 to improve how emacs deals with multibyte
characters/unicode. You will likely get the best results if you run emacs
23 and a recent version of emacspeak. Emacspeak has been updated to work
best with emacs 23.

Debian has an emacs23 package in the unstable archives. For ubuntu, there
is a PPA for emacs23 and it will likely be included in the new version
(scheduled for release this month). You can also build from CVS sources,
but you need to make some modifications if you want to also use
debian/ubuntu elisp packages. 

Tim

John Morgan writes:
 > I found a site that says to add these lines to my .emacs
 > '; set unicode data file location. (used by what-cursor-position)
 > (let ((x "~/Documents/emacs/UnicodeData.txt"))
 >   (when (file-exists-p x)
 >     (setq describe-char-unicodedata-file x)))
 > 
 > I'm still getting an emacspeak-speak-char-name error that refers to ucs-names.
 > symbol's function definition is void: ucs-names
 > and emacspeak is silent when I type c-e c or c-f or c-b or m-f or m-b.
 > 
 > J
 > On 10/15/09, John Morgan <johnjosephmorgan <at> gmail.com> wrote:
 > > The variable default-enable-multibyte-characters was the problem.  I
 > > just deleted the line where I had set it to t in my .emacs file and
 > > I'm back to the behavior I had previously.
 > >
 > > This behavior is not ideal.  The multibyte characters get read as hex
 > > values when I move up or down lines with c-n or c-p, but not with  m-f
 > > or m-b or c-f or c-b.  I was hoping this would have been improved in
 > > the latest version of emacspeak.
 > > Should I set the describe-char-unicodedata-file variable?
 > > John
 > >
 > >
 > >
 > > On 10/15/09, John Morgan <johnjosephmorgan <at> gmail.com> wrote:
 > >> Robert,
 > >> I've inserted the utf-8 related variables in my .emacs file and I
 > >> still have the problem.  I wonder if it's an espeak problem?
 > >> The weird thing is that I can't delete the multibyte characters, it's
 > >> a nightmare, they're indestructible.
 > >> I don't think espeak would cause this behavior.
 > >> I'm running version 22 of emacs.
 > >> John
 > >> On 10/15/09, John Morgan <johnjosephmorgan <at> gmail.com> wrote:
 > >>> Thanks Robert, I'm working with the .emacs settings you posted, I
 > >>> don't have the problem fixed yet.  I'm not using the start up script,
 > >>> I have a line
 > >>> exec emacs -q -l /home/john/emacspeak/lisp/emacspeak-setup.el -l
 > >>> /home/john/.emacs
 > >>> in a shell script and I invoke it after loging in.
 > >>>
 > >>> Can you read multibyte characters with emacspeak and espeak?
 > >>> For example, if you type m-x ucs-insert and enter the hex value 622,
 > >>> does emacspeak read the character to you?
 > >>>
 > >>> I had set default-enable-multibyte-characters to t.
 > >>> John
 > >>>
 > >>>
 > >>> On 10/15/09, Robert D. Crawford <robdcraw <at> gmail.com> wrote:
 > >>>> John Morgan <johnjosephmorgan <at> gmail.com> writes:
 > >>>>
 > >>>>> I recently upgraded my emacspeak to version 30 and I'm having problems
 > >>>>> editing files containing characters encoded in multibyte utf8.  I use
 > >>>>> espeak.  When I move over multibyte characters emacspeak is silent.
 > >>>>> When I move to a line containing even one multibyte utf8 encoded
 > >>>>> character I get no speech for the entire line.  I also can't remove
 > >>>>> the offending characters in an emacs buffer.  I guess this means
 > >>>>> problems with my emacs, but I only noticed the problem after upgrading
 > >>>>> emacspeak.  I don't notice any problems with 7-bit encoded characters.
 > >>>>>  Do I have to set a variable in my .emacs to enable editing multibyte
 > >>>>> text?
 > >>>>
 > >>>> I'm not sure this will help, but what is the value of
 > >>>> default-enable-multibyte-characters?
 > >>>>
 > >>>> Also, you don't mention how you start emacspeak, but it used to be that
 > >>>> the emacspeak script, which some people used to start emacs and
 > >>>> emacspeak, contained the environment variable EMACS_UNIBYTE=1.  This
 > >>>> might not be the case anymore.  I've not upgraded in a while so I
 > >>>> cannot
 > >>>> be sure.
 > >>>>
 > >>>> Here are the other settings I have in my .emacs file that pertain to
 > >>>> utf-8:
 > >>>>
 > >>>> (setq locale-coding-system 'utf-8)
 > >>>> (set-terminal-coding-system 'utf-8)
 > >>>> (set-keyboard-coding-system 'utf-8)
 > >>>> (set-selection-coding-system 'utf-8)
 > >>>> (prefer-coding-system 'utf-8)
 > >>>>
 > >>>> Set via Customize:
 > >>>>
 > >>>>  '(current-language-environment "UTF-8")
 > >>>>
 > >>>> Even if this does not fix the problem, perhaps it leads you in the
 > >>>> right
 > >>>> direction.
 > >>>>
 > >>>> rdc
 > >>>> --
 > >>>> Robert D. Crawford
 > >>>> robdcraw <at> gmail.com
 > >>>>
 > >>>> Virtue is a relative term.
 > >>>> 		-- Spock, "Friday's Child", stardate 3499.1
 > >>>>
 > >>>> -----------------------------------------------------------------------------
 > >>>> To unsubscribe from the emacspeak list or change your address on the
 > >>>> emacspeak list send mail to "emacspeak-request <at> cs.vassar.edu" with a
 > >>>> subject of "unsubscribe" or "help".
 > >>>>
 > >>>>
 > >>>
 > >>>
 > >>> --
 > >>> Regards,
 > >>> John J Morgan
 > >>>
 > >>
 > >>
 > >> --
 > >> Regards,
 > >> John J Morgan
 > >>
 > >
 > >
 > > --
 > > Regards,
 > > John J Morgan
 > >
 > 
 > 
 > -- 
 > Regards,
 > John J Morgan
 > 
 > -----------------------------------------------------------------------------
 > To unsubscribe from the emacspeak list or change your address on the
 > emacspeak list send mail to "emacspeak-request <at> cs.vassar.edu" with a
 > subject of "unsubscribe" or "help".
 > 

--

-- 
Tim Cross
tcross <at> rapttech.com.au

There are two types of people in IT - those who do not manage what they 
understand and those who do not understand what they manage.

John Morgan | 16 Oct 04:10 2009
Picon
Picon

RE: unicode editing

Thanks Tim,
I'm considering going to emacs23.  Can I use apt-get to install the debian
package from the unstable archives on ubuntu?
 There's something wrong with my emacs.  I also can't use the  registers to
store text using c-x r s and c-x r i.
Just to make sure it's not an emacspeak bug, can you verify that you can
read a multibyte character with c-e c.
Thanks,
John

-----Original Message-----
From: Tim Cross [mailto:tcross <at> rapttech.com.au] 
Sent: Thursday, October 15, 2009 8:52 PM
To: John Morgan
Cc: Robert D. Crawford; emacspeak <at> cs.vassar.edu
Subject: Re: unicode editing

Hi John,

check the emacspeak mail list archives. Raman posted a message quite
recently regarding changes in the latest version of emacspeak and the
handling of unicode. It includes details of the unicode.txt file and how to
set it up. I suspect the site you have found has information that is a
little outdated. 

The other thing to consider is upgrading to emacs 23. A lot of work has been
done since emacs 22 to improve how emacs deals with multibyte
characters/unicode. You will likely get the best results if you run emacs
23 and a recent version of emacspeak. Emacspeak has been updated to work
best with emacs 23.

Debian has an emacs23 package in the unstable archives. For ubuntu, there is
a PP	A for emacs23 and it will likely be included in the new version
(scheduled for release this month). You can also build from CVS sources, but
you need to make some modifications if you want to also use debian/ubuntu
elisp packages. 

Tim

John Morgan writes:
 > I found a site that says to add these lines to my .emacs  > '; set
unicode data file location. (used by what-cursor-position)  > (let ((x
"~/Documents/emacs/UnicodeData.txt"))
 >   (when (file-exists-p x)
 >     (setq describe-char-unicodedata-file x)))
 >
 > I'm still getting an emacspeak-speak-char-name error that refers to
ucs-names.
 > symbol's function definition is void: ucs-names  > and emacspeak is
silent when I type c-e c or c-f or c-b or m-f or m-b.
 >
 > J
 > On 10/15/09, John Morgan <johnjosephmorgan <at> gmail.com> wrote:
 > > The variable default-enable-multibyte-characters was the problem.  I  >
> just deleted the line where I had set it to t in my .emacs file and  > >
I'm back to the behavior I had previously.
 > >
 > > This behavior is not ideal.  The multibyte characters get read as hex
> > values when I move up or down lines with c-n or c-p, but not with  m-f
> > or m-b or c-f or c-b.  I was hoping this would have been improved in  >
> the latest version of emacspeak.
 > > Should I set the describe-char-unicodedata-file variable?
 > > John
 > >
 > >
 > >
 > > On 10/15/09, John Morgan <johnjosephmorgan <at> gmail.com> wrote:
 > >> Robert,
 > >> I've inserted the utf-8 related variables in my .emacs file and I  >
>> still have the problem.  I wonder if it's an espeak problem?
 > >> The weird thing is that I can't delete the multibyte characters, it's
> >> a nightmare, they're indestructible.
 > >> I don't think espeak would cause this behavior.
 > >> I'm running version 22 of emacs.
 > >> John
 > >> On 10/15/09, John Morgan <johnjosephmorgan <at> gmail.com> wrote:
 > >>> Thanks Robert, I'm working with the .emacs settings you posted, I  >
>>> don't have the problem fixed yet.  I'm not using the start up script,  >
>>> I have a line  > >>> exec emacs -q -l
/home/john/emacspeak/lisp/emacspeak-setup.el -l  > >>> /home/john/.emacs  >
>>> in a shell script and I invoke it after loging in.
 > >>>
 > >>> Can you read multibyte characters with emacspeak and espeak?
 > >>> For example, if you type m-x ucs-insert and enter the hex value 622,
> >>> does emacspeak read the character to you?
 > >>>
 > >>> I had set default-enable-multibyte-characters to t.
 > >>> John
 > >>>
 > >>>
 > >>> On 10/15/09, Robert D. Crawford <robdcraw <at> gmail.com> wrote:
 > >>>> John Morgan <johnjosephmorgan <at> gmail.com> writes:
 > >>>>
 > >>>>> I recently upgraded my emacspeak to version 30 and I'm having
problems  > >>>>> editing files containing characters encoded in multibyte
utf8.  I use  > >>>>> espeak.  When I move over multibyte characters
emacspeak is silent.
 > >>>>> When I move to a line containing even one multibyte utf8 encoded  >
>>>>> character I get no speech for the entire line.  I also can't remove  >
>>>>> the offending characters in an emacs buffer.  I guess this means  >
>>>>> problems with my emacs, but I only noticed the problem after upgrading
> >>>>> emacspeak.  I don't notice any problems with 7-bit encoded
characters.
 > >>>>>  Do I have to set a variable in my .emacs to enable editing
multibyte  > >>>>> text?
 > >>>>
 > >>>> I'm not sure this will help, but what is the value of  > >>>>
default-enable-multibyte-characters?
 > >>>>
 > >>>> Also, you don't mention how you start emacspeak, but it used to be
that  > >>>> the emacspeak script, which some people used to start emacs and
> >>>> emacspeak, contained the environment variable EMACS_UNIBYTE=1.  This
> >>>> might not be the case anymore.  I've not upgraded in a while so I  >
>>>> cannot  > >>>> be sure.
 > >>>>
 > >>>> Here are the other settings I have in my .emacs file that pertain to
> >>>> utf-8:
 > >>>>
 > >>>> (setq locale-coding-system 'utf-8)  > >>>>
(set-terminal-coding-system 'utf-8)  > >>>> (set-keyboard-coding-system
'utf-8)  > >>>> (set-selection-coding-system 'utf-8)  > >>>>
(prefer-coding-system 'utf-8)  > >>>>  > >>>> Set via Customize:
 > >>>>
 > >>>>  '(current-language-environment "UTF-8")  > >>>>  > >>>> Even if
this does not fix the problem, perhaps it leads you in the  > >>>> right  >
>>>> direction.
 > >>>>
 > >>>> rdc
 > >>>> --
 > >>>> Robert D. Crawford
 > >>>> robdcraw <at> gmail.com
 > >>>>
 > >>>> Virtue is a relative term.
 > >>>> 		-- Spock, "Friday's Child", stardate 3499.1
 > >>>>
 > >>>>
----------------------------------------------------------------------------
-
 > >>>> To unsubscribe from the emacspeak list or change your address on the
> >>>> emacspeak list send mail to "emacspeak-request <at> cs.vassar.edu" with a
> >>>> subject of "unsubscribe" or "help".
 > >>>>
 > >>>>
 > >>>
 > >>>
 > >>> --
 > >>> Regards,
 > >>> John J Morgan
 > >>>
 > >>
 > >>
 > >> --
 > >> Regards,
 > >> John J Morgan
 > >>
 > >
 > >
 > > --
 > > Regards,
 > > John J Morgan
 > >
 >
 >
 > --
 > Regards,
 > John J Morgan
 >
 >
----------------------------------------------------------------------------
-
 > To unsubscribe from the emacspeak list or change your address on the  >
emacspeak list send mail to "emacspeak-request <at> cs.vassar.edu" with a  >
subject of "unsubscribe" or "help".
 > 

--
Tim Cross
tcross <at> rapttech.com.au

There are two types of people in IT - those who do not manage what they
understand and those who do not understand what they manage.

----------------------------------------------------------------------------
-
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request <at> cs.vassar.edu" with a subject
of "unsubscribe" or "help".

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.421 / Virus Database: 270.14.19/2438 - Release Date: 10/15/09
12:02:00


Gmane