Reformat and add CLI switches.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sat, 18 Apr 2009 12:30:58 +0300
changeset 86 72175e4fc069
parent 85 613a4e9193b4
child 92 a8482dddf447
Reformat and add CLI switches.
emacs.rst
--- a/emacs.rst	Thu Apr 16 21:41:18 2009 +0300
+++ b/emacs.rst	Sat Apr 18 12:30:58 2009 +0300
@@ -7,25 +7,28 @@
 know about line numbers and files – it just knows an error happened, and
 that’s it.
 
-You have several options:
+** Binary Search.
 
-  * Binary Search – select half of the file in a region, and M-x eval-region.
-  Depending on whether that causes the error or not, split this half or the
-  other half again, and repeat.
+Select half of the file in a region, and M-x eval-region. Depending on whether
+that causes the error or not, split this half or the other half again, and
+repeat.
+
+** Elisp.
 
-  * Simplified Binary Search – add (error “No error until here”) in the
-  middle of your file. If you get the error “No error until here” when
-  reloading the file, move the expression towards the back of the file,
-  otherwise towards the front of the file.
+ - Use a keyboard macro that moves forward one expression (sexp) and evaluates
+   it.
+ - Try C-x check-parens.
+ - Set (setq debug-on-error t).
+
+** CLI.
 
-  * Use a keyboard macro that moves forward one expression (sexp) and
-  evaluates it.
+  $ emacs --no-init-file --no-site-file --debug-init
+
+** Simplified Binary Search.
 
-  * Try the command line switch --debug-init.
-
-  * Should n’t (setq debug-on-error t) help?
-
- * Try check-parens.
+Add (error “No error until here”) in the middle of your file. If you get the
+error “No error until here” when reloading the file, move the expression
+towards the back of the file, otherwise towards the front of the file.
 
 * Using edebug.