emacs.rst
changeset 212 5715a5193fd4
parent 182 5e9ea846a8c3
child 213 af6fdb4adbf3
--- a/emacs.rst	Sun Oct 04 22:09:01 2009 +0300
+++ b/emacs.rst	Sun Oct 11 21:36:02 2009 +0300
@@ -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.
+