<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><html>Am 20.03.2008 um 19:58 schrieb Nathaniel Cunningham:</html><br class="Apple-interchange-newline"><blockquote type="cite"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">In the meantime, your best bet may be to copy the entire function definition for (aquamacs-configure-aspell) from /Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/aquamacs.el to your Preferences.el, and modify that to suit your needs.  To use the second alphabetically-listed dict-dir in ~/Library/Application Support/cocoAspell/, you can change<br> <div style="margin-left: 40px;">(car ;; use the first subdir in that path<br></div>to<br><div style="margin-left: 40px;">(nth 1 ;; use the second subdir in that path<br><br></div><font color="#888888"> </font></blockquote></div><br>Never mind all that...<br><br>I had missed a much simpler solution:  Set the environment variable ASPELL_CONF yourself.  That's all aquamacs-configure-aspell does for you anyway, but Aquamacs won't try to do so if the variable is already set.<br> <br>I added this to my Preferences.el, and was able to use english spellchecking even with the aspell6-de-20030222-1 dictionary also installed:<br><br>(setenv "ASPELL_CONF" "conf-dir /Users/nathaniel/Library/Preferences/cocoAspell;dict-dir /Library/Application Support/cocoAspell/aspell6-en-6.0-0")</blockquote>yes, but now I cannot switch to the german dictionary. Trying this I get now:</div><div><div>Local Ispell dictionary set to deutsch</div><div>Starting new Ispell process [deutsch] ..</div><div>Error in post-command-hook: (error Error: The file "/Library/Application Support/cocoAspell/aspell6-en-6.0-0/deutsch" can not be opened for reading.)</div><div><br></div><div>Johannes</div></div></body></html>