[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Changing pronunciations and saving them.
- To: email@example.com
- Subject: Re: Changing pronunciations and saving them.
- From: "Robert D. Crawford" <firstname.lastname@example.org>
- Date: Fri, 02 Jun 2006 05:16:14 -0500
- Delivered-To: email@example.com
- Delivered-To: firstname.lastname@example.org
- List-Help: <mailto:email@example.com?subject=help>
- List-Post: <mailto:firstname.lastname@example.org>
- List-Subscribe: <mailto:email@example.com?subject=subscribe>
- List-Unsubscribe: <mailto:firstname.lastname@example.org?subject=unsubscribe>
- Old-Return-Path: <email@example.com>
- Resent-Date: Fri, 2 Jun 2006 06:16:34 -0400 (EDT)
- Resent-From: firstname.lastname@example.org
- Resent-Message-ID: <sH8qHD.A.kWH.CABgEB@mail>
- Resent-Sender: email@example.com
- User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux)
Kalyan Mukherjea <firstname.lastname@example.org> writes:
> i have been trying to change pronunciation of a few proper names and
> technical terms and getting nowhere.
The first thing you should probably do is to add these lines to your
(function (lambda ()
> C-h a pronunciation
> made me aware of the command:
Instead, use the following command:
control e meta d runs the command emacspeak-pronounce-dispatch which is
an interactive compiled Lisp function in `emacspeak-pronounce'.
Provides the user interface front-end to Emacspeak's pronunciation
This is the preferred way, I think.
> So I tried this out, with limited success:
> It seems the changes can be applied to a directory, a file or a mode
> and one cannot select `global'.
I asked about this earlier. Look for it in the archive to see the
rationale. It was mentioned then, and IIRC several days ago as well, a
global definitions functionality present in the viavoice itself.
> Fine, but to change pronunciation for LaTeX mode, I had to open a
> LaTeX file first.
I think it is assumed that one will change the definitions as one comes
> The documentation provided by appropos suggested that I first load
> persistent dictionaries. My ~/.emacspeak directory has only a
> clipboard file, no dicts! Nevertheless, I tried changing
> interactively and instructed `Bhatia' to be pronounced `Bhatya' rather
> than `Bhashiaa' and when I pressed RET I was asked if pre-existing
> dictionaries should be loaded first or not. Pressing `y' gave the
> following error message: emacspeak-pronounce-load-dictionaries: Wrong
> type argument: stringp, nil
Not sure about this. I know what the error means, but not why. I have
not heard this error before, so it might be sorted by the code at the
top of this mail. It could be that, when trying to load the persistent
dictionary, ~/.emacspeak/.dictionary by default, it was passing the name
of the file as an argument, which has no value, and therefore fails.
> Pressing `n' did change the pronunciation; but if I closed the file or
> opened another LaTeX file the old, incorrect rendering was
> restored. Whaat am I doing wrong?
I am guessing that the definition was not saved in the persistent
dictionary. It was probably "saved" buffer-local, and therefore the
definition did not exist outside of the original buffer.
I hope this helps,
Robert D. Crawford email@example.com
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "firstname.lastname@example.org" with a
subject of "unsubscribe" or "help"
Emacspeak Files |
Unsubscribe | Search