{"id":27,"date":"2011-06-14T03:14:53","date_gmt":"2011-06-14T03:14:53","guid":{"rendered":"http:\/\/www.marcmorgan.ca\/?p=27"},"modified":"2011-06-15T00:52:35","modified_gmt":"2011-06-15T00:52:35","slug":"adding-canadian-spellcheck-to-emacs","status":"publish","type":"post","link":"https:\/\/www.marcmorgan.ca\/?p=27","title":{"rendered":"Adding Canadian Spellcheck to Emacs"},"content":{"rendered":"<p>I had a friend ask me this the other day. He had aspell installed and it had a Canadian dictionary, but setting the language to Canadian in his Emacs config file resulted in an error. This happens because the ispell module does not contain Canadian as a valid language.<\/p>\n<p>The solution is to add Canadian to the ispell-local-dictionary-alist variable:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n(defvar ispell-local-dictionary-alist\r\n  '((&quot;canadian&quot;\r\n     &quot;&#x5B;A-Za-z]&quot; &quot;&#x5B;^A-Za-z]&quot; &quot;&#x5B;']&quot; nil (&quot;-B&quot;) nil iso-8859-1)\r\n   )\r\n)\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I had a friend ask me this the other day. He had aspell installed and it had a Canadian dictionary, but setting the language to Canadian in his Emacs config file resulted in an error. This happens because the ispell module does not contain Canadian as a valid language. The solution is to add Canadian &hellip; <a href=\"https:\/\/www.marcmorgan.ca\/?p=27\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Adding Canadian Spellcheck to Emacs<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[4,3],"class_list":["post-27","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-canada","tag-emacs"],"_links":{"self":[{"href":"https:\/\/www.marcmorgan.ca\/index.php?rest_route=\/wp\/v2\/posts\/27","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.marcmorgan.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.marcmorgan.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.marcmorgan.ca\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.marcmorgan.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=27"}],"version-history":[{"count":15,"href":"https:\/\/www.marcmorgan.ca\/index.php?rest_route=\/wp\/v2\/posts\/27\/revisions"}],"predecessor-version":[{"id":64,"href":"https:\/\/www.marcmorgan.ca\/index.php?rest_route=\/wp\/v2\/posts\/27\/revisions\/64"}],"wp:attachment":[{"href":"https:\/\/www.marcmorgan.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=27"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.marcmorgan.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=27"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.marcmorgan.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=27"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}