Automated merge with file:///d:\srv\hg-home\admin-doc
authorOleksandr Gavenko <gavenkoa@gmail.com>
Fri, 16 Oct 2009 12:15:04 +0300
changeset 220 10d0d94eabde
parent 218 9ae36e91b0d0 (diff)
parent 219 a6a5839b7423 (current diff)
child 222 221500927a59
Automated merge with file:///d:\srv\hg-home\admin-doc
emacs.rst
--- a/emacs.rst	Fri Oct 16 12:06:49 2009 +0300
+++ b/emacs.rst	Fri Oct 16 12:15:04 2009 +0300
@@ -20,7 +20,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.
 
@@ -36,7 +36,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.
@@ -71,3 +71,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.
+