Automated merge with file:///srv/hg/admin-doc
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 11 Oct 2009 21:52:39 +0300
changeset 214 6db1954b50f8
parent 211 4c0c30b9539d (current diff)
parent 213 af6fdb4adbf3 (diff)
child 218 9ae36e91b0d0
child 223 1f1a18891bc2
Automated merge with file:///srv/hg/admin-doc
--- 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.
+