--- a/emacs.rst Thu Oct 08 20:16:19 2009 +0300
+++ b/emacs.rst Sun Oct 11 21:52:39 2009 +0300
@@ -6,7 +6,7 @@
Execute 'M-x edebug-defun' (also on 'C-u C-M-x') on defun in source code to
enable debugging for desired function. When next time this function invoked
-you entered to its debugging (jamped to its source code).
+you entered to its debugging (jumped to its source code).
To start debug execute code which used debugged function.
@@ -22,7 +22,7 @@
** How debug ini file?
-When your InitFile has a bug, or when you load external files that cause
+When your ini has a bug, or when you load external files that cause
errors, the bug is often hard to find, because the Emacs Lisp reader does not
know about line numbers and files - it just knows an error happened, and
that's it.
@@ -57,3 +57,13 @@
http://en.wikipedia.org/wiki/W3m
http://emacs-w3m.namazu.org/
http://www.gnu.org/software/w3/
+
+* Tricks.
+
+** Sort and uniquify lines.
+
+Select region, type C-u M-| sort -u RET.
+
+With transient-mark-mode and delete-selection-mode enabled: select region,
+type M-| sort -u RET to replace selection with sorted and uniquified lines.
+