emacs-spell-check.html 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml" lang="" xml:lang="">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="generator" content="pandoc" />
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
  7. <title>Emacs spell check</title>
  8. <style>
  9. code{white-space: pre-wrap;}
  10. span.smallcaps{font-variant: small-caps;}
  11. span.underline{text-decoration: underline;}
  12. div.column{display: inline-block; vertical-align: top; width: 50%;}
  13. div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
  14. ul.task-list{list-style: none;}
  15. .display.math{display: block; text-align: center; margin: 0.5rem auto;}
  16. </style>
  17. <link rel="stylesheet" href="C:\SGZ_Pro\Hobbys\Writing\Org\pages\blog\styles.css" />
  18. <!--[if lt IE 9]>
  19. <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
  20. <![endif]-->
  21. <link rel='stylesheet' type='text/css' href='styles.css' />
  22. </head>
  23. <body>
  24. <header id="title-block-header">
  25. <h1 class="title">Emacs spell check</h1>
  26. </header>
  27. <h1 id="why">Why?</h1>
  28. <p>It is essential when doing writing that you have some way to check your spelling errors. Especially if your someone like me that makes them frequently.</p>
  29. <h1 id="what-to-do">What to do?</h1>
  30. <ol>
  31. <li>Specify in your config a location to a spell checking program.</li>
  32. </ol>
  33. <p><code class="verbatim">(setq ispell-program-name "C:/SGZ_Pro/z-Apps_Drivers/Hunspell/hunspell-1.3.2-3-w32-bin/bin/hunspell.exe")</code></p>
  34. <ol>
  35. <li>Restart emacs</li>
  36. <li>Now to launch emacs spell checking programming you do <code class="verbatim">M-x flyspell-mode</code></li>
  37. </ol>
  38. <p>Now emacs will highlight the words you misspelled and with <code class="verbatim">[s</code> you can go backwards in misspelled words and with <code class="verbatim">]s</code> You can go forward in misspelled words. Then z= to give a prompt of correct words that can be used to replace the misspelled words</p>
  39. </body>
  40. </html>