edit-dictionary - Insert a dictionary in a buffer
restore-dictionary - Save dictionary user changes
edit-dictionary "dictionary"
restore-dictionary
edit-dictionary dumps the contents of "dictionary" into the temporary buffer "*dictionary*", if this buffer already exists then edit-dictionary simply swaps to this buffer. This enables the user to correct and prune the words in any dictionary. The given dictionary must have already been added as a main dictionary using add-dictionary(2).
The format of the created buffer is one word on each line, each word takes one of the following 3 forms:
xxxx - Good word xxxx with no spell rules allowed
xxxx/abc - Good word xxxx with spell rules abc allowed
xxxx>yyyy - Erroneous word with an auto-replace to yyyy
Executing restore-dictionary in a buffer created by edit-dictionary will first call delete-dictionary(2) to remove the original dictionary from memory. It then uses add-dictionary(2) to create a new dictionary with the same name and then uses spell-add-word(3) to add all the words in the current buffer into the new dictionary.
restore-dictionary does not save the new dictionary.
edit-dictionary and restore-dictionary are macros defined in file spellutl.emf. They are not defined by default so spellutl.emf must be executed first using execute-file(2).
(c) Copyright JASSPA 1999
Last Modified: 1998/08/05
Generated On: 1999/12/01