[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Changing pronunciations and saving them.
- To: firstname.lastname@example.org
- Subject: Re: Changing pronunciations and saving them.
- From: "Robert D. Crawford" <email@example.com>
- Date: Fri, 02 Jun 2006 05:16:14 -0500
- Delivered-To: firstname.lastname@example.org
- Delivered-To: email@example.com
- List-Help: <mailto:firstname.lastname@example.org?subject=help>
- List-Post: <mailto:email@example.com>
- List-Subscribe: <mailto:firstname.lastname@example.org?subject=subscribe>
- List-Unsubscribe: <mailto:email@example.com?subject=unsubscribe>
- Old-Return-Path: <firstname.lastname@example.org>
- Resent-Date: Fri, 2 Jun 2006 06:16:34 -0400 (EDT)
- Resent-From: email@example.com
- Resent-Message-ID: <sH8qHD.A.kWH.CABgEB@mail>
- Resent-Sender: firstname.lastname@example.org
- User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux)
Kalyan Mukherjea <email@example.com> 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 firstname.lastname@example.org
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "email@example.com" with a
subject of "unsubscribe" or "help"
Emacspeak Files |
Unsubscribe | Search