Importing NanoBlogger post "Emacs and aspell/spelling II"
authorW. Trevor King <wking@drexel.edu>
Fri, 5 Sep 2008 06:42:26 +0000 (06:42 +0000)
committerW. Trevor King <wking@drexel.edu>
Fri, 5 Sep 2008 06:42:26 +0000 (06:42 +0000)
posts/Emacs_and_aspell/spelling_II.mdwn [new file with mode: 0644]

diff --git a/posts/Emacs_and_aspell/spelling_II.mdwn b/posts/Emacs_and_aspell/spelling_II.mdwn
new file mode 100644 (file)
index 0000000..67c2145
--- /dev/null
@@ -0,0 +1,30 @@
+[[!meta  title="Emacs and aspell/spelling II"]]
+[[!meta  date="2008-09-05 02:42:26"]]
+Update on [my earlier
+post](http://www.physics.drexel.edu/~wking/blog/archives/2008/08/28/index.html#e2008-08-28T02_45_54.txt).
+It seems that there are bugs running aspell on UTF-8 code via ispell.el.
+
+For example, with the configuration I listed in my first post, running
+`M-x ispell` on a buffer containing
+
+    Grüß Gott       <- misspelled English with UTF-8 chars
+    “aBx”           <- misspelled English inside UTF-8 quotes
+
+produced an error
+
+    Ispell misalignment: word `BaBx' point 58; probably incompatible versions
+
+when aspell caught on “aBx”.
+
+This seems to have been a problem for a while ([2003 bug
+report](http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=205516) and a
+[possible 2005
+patch](http://sourceforge.net/tracker/index.php?func=detail&aid=945391&group_id=245&atid=300245)
+against the
+[2003 ispell.el-3.7beta](http://www.kdstevens.com/stevens/ispell-page.html)),
+but I don't know enough about emacs to want to go that deep.  For now
+I will just run `aspell -v <my-file>` from another terminal and
+revisit the file from emacs afterwards, or I will highlight non-UTF-8
+areas and `ispell` them seperately.
+
+[[!tag  linux]]