From c2464d18d9904fb4a147439fe574536b3252cd8f Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 5 Oct 2010 15:52:07 -0400 Subject: [PATCH] Added Emacs page. --- posts/Emacs.mdwn | 18 +++++++++++++++++ posts/Emacs_and_aspell_spelling.mdwn | 13 +++++++----- posts/Emacs_and_aspell_spelling_II.mdwn | 27 +++++++++++++------------ tags/emacs.mdwn | 3 +++ 4 files changed, 43 insertions(+), 18 deletions(-) create mode 100644 posts/Emacs.mdwn create mode 100644 tags/emacs.mdwn diff --git a/posts/Emacs.mdwn b/posts/Emacs.mdwn new file mode 100644 index 0000000..3835b36 --- /dev/null +++ b/posts/Emacs.mdwn @@ -0,0 +1,18 @@ + +[Emacs][] is the text exitor that does everything. Take a look at the +liki pages on [emacs in general][general], [unicode][], and +[org-mode][]. + +Useful commands: + +* [Dynamic expansion][dabbrev], `dabbrev-expand` (`M-/`) +* [[Spell checking|Emacs_and_aspell_spelling]], `ispell-word` (`M-$`) + +[Emacs]: http://www.gnu.org/software/emacs/ +[general]: http://www.physics.drexel.edu/liki/index.php/Emacs +[unicode]: http://www.physics.drexel.edu/liki/index.php/Unicode +[org-mode]: http://www.physics.drexel.edu/liki/index.php/Emacs#Org_mode +[dabbrev]: http://www.gnu.org/software/emacs/manual/html_node/emacs/Dynamic-Abbrevs.html + +[[!tag tags/linux]] +[[!tag tags/emacs]] diff --git a/posts/Emacs_and_aspell_spelling.mdwn b/posts/Emacs_and_aspell_spelling.mdwn index 3f9becd..ccea492 100644 --- a/posts/Emacs_and_aspell_spelling.mdwn +++ b/posts/Emacs_and_aspell_spelling.mdwn @@ -6,16 +6,19 @@ running `aspell` from `emacs`. Setup with (setq-default ispell-program-name "aspell") -in your `~/.emacs` file (from the [aspell -manual](http://aspell.net/man-html/Using-Aspell-with-other-Applications.html)). -Then use the standard `emacs` spelling commands: +in your `~/.emacs` file (from the [aspell manual][aspell]). Then use the +standard `emacs` spelling commands: * `M-x flyspell-mode` enables Flyspell mode, which highlights all misspelled words. * `M-x ispell` spell-checks the active region or the current buffer. * `M-x ispell-message` checks and corrects spelling of each word in a draft mail message, excluding cited material. +* `M-$` (`ispell-word`) checks and corrects spelling of the active region or the word at point. * `C-g` or `X` quits interactive spell checking. You can restart it again afterward with `C-u M-$`. -With a bunch more commands in the [emacs manual](http://www.delorie.com/gnu/docs/emacs/emacs_109.html). +With a bunch more commands in the [emacs manual][manual] + +[aspell]: http://aspell.net/man-html/Using-Aspell-with-other-Applications.html +[manual]: http://www.gnu.org/software/emacs/manual/html_node/emacs/Spelling.html [[!tag tags/linux]] -[[!tag tags/programming]] +[[!tag tags/emacs]] diff --git a/posts/Emacs_and_aspell_spelling_II.mdwn b/posts/Emacs_and_aspell_spelling_II.mdwn index 94dcdd2..a08a30c 100644 --- a/posts/Emacs_and_aspell_spelling_II.mdwn +++ b/posts/Emacs_and_aspell_spelling_II.mdwn @@ -1,8 +1,8 @@ [[!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. + +Update on [[my earlier post|Emacs_and_aspell_spelling]]. 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 @@ -16,15 +16,16 @@ produced an error 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 ` from another terminal and -revisit the file from emacs afterwards, or I will highlight non-UTF-8 -areas and `ispell` them seperately. +This seems to have been a problem for a while ([2003 bug report][bug] +and a [possible 2005 patch][patch] against the [2003 +ispell.el-3.7beta][beta]), but I don't know enough about emacs to want +to go that deep. For now I will just run `aspell -v ` from +another terminal and revisit the file from emacs afterwards, or I will +highlight non-UTF-8 areas and `ispell` them seperately. + +[bug]: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=205516 +[patch]: http://sourceforge.net/tracker/index.php?func=detail&aid=945391&group_id=245&atid=300245 +[beta]: http://www.kdstevens.com/stevens/ispell-page.html [[!tag tags/linux]] +[[!tag tags/emacs]] diff --git a/tags/emacs.mdwn b/tags/emacs.mdwn new file mode 100644 index 0000000..f4e9855 --- /dev/null +++ b/tags/emacs.mdwn @@ -0,0 +1,3 @@ +Pages related to [Emacs](http://www.gnu.org/software/emacs/). + +[[!inline pages="link(tags/emacs)" show=10 actions=yes]] -- 2.26.2