--- a/emacs.rst Thu Apr 25 18:07:05 2013 +0300
+++ b/emacs.rst Tue May 14 19:45:26 2013 +0300
@@ -52,11 +52,11 @@
Evaluating elisp expression on the fly.
---------------------------------------
-Type M-: than lisp expression than type RET.
+Type ``M-:`` than lisp expression than type ``RET``.
-Or in any buffer place point at the end of lisp expression and type C-x C-e.
+Or in any buffer place point at the end of lisp expression and type ``C-x C-e``.
-Or invoke elisp "shell" by M-x ielm.
+Or invoke elisp "shell" by ``M-x ielm``.
What functions and variables Emacs load and from which files?
-------------------------------------------------------------
@@ -65,6 +65,8 @@
(symbol-file 'c-mode)
(find-lisp-object-file-name 'c-mode (symbol-function 'c-mode))
+ load-history
+ (locate-library "gnus.el")
Using edebug.
-------------
@@ -93,17 +95,16 @@
How debug ini file?
-------------------
-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.
+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.
Try run Emacs with ``--debug-init`` to see backtrace.
How debug long running command?
-------------------------------
-M-x debug-on-quit RET`` and then just hit `C-g`` next time it gets ``stuck``
+``M-x debug-on-quit RET`` and then just hit ``C-g`` next time it gets ``stuck``
somewhere.
Check if bug in ini file not in Emacs itself.
@@ -137,9 +138,9 @@
Elisp debug tips.
-----------------
- - Use a keyboard macro that moves forward one expression (sexp) and evaluates
+ * Use a keyboard macro that moves forward one expression (sexp) and evaluates
it.
- - Try C-x check-parens.
+ * Try C-x check-parens.
Enable debug mode (also on loading).
------------------------------------
@@ -192,9 +193,9 @@
Text based WWW browser.
-----------------------
- http://en.wikipedia.org/wiki/W3m
- http://emacs-w3m.namazu.org/
- http://www.gnu.org/software/w3/
+ * http://en.wikipedia.org/wiki/W3m
+ * http://emacs-w3m.namazu.org/
+ * http://www.gnu.org/software/w3/
Tricks.
=======
@@ -321,7 +322,7 @@
From sources.
-------------
- http://ftp.gnu.org/pub/gnu/emacs
+ * http://ftp.gnu.org/pub/gnu/emacs
Windows.
--------
@@ -353,6 +354,7 @@
Long lines.
===========
+::
(setq longlines-show-hard-newlines t)
(setq longlines-wrap-follows-window-size t)
@@ -360,6 +362,7 @@
Printing Emacs structures.
==========================
+::
(message "%S" '(a b 123 "hello" 'set))
(pp '(a b 123 "hello" 'set))
@@ -375,7 +378,7 @@
File manager.
=============
- http://www.emacswiki.org/emacs/Sunrise_Commander
+ * http://www.emacswiki.org/emacs/Sunrise_Commander
Semantic.
=========
@@ -387,6 +390,7 @@
Debugging C code.
=================
+::
-*- mode: grep; mode: auto-revert-tail; default-directory: "~/devel/proj" -*-
@@ -444,9 +448,9 @@
Highlighting, autocompletion, and auto-insertion of closing tags.
- http://www.emacswiki.org/emacs/HtmlHelperMode
- http://savannah.nongnu.org/projects/baol-hth/
- http://www.nongnu.org/baol-hth/
+ * http://www.emacswiki.org/emacs/HtmlHelperMode
+ * http://savannah.nongnu.org/projects/baol-hth/
+ * http://www.nongnu.org/baol-hth/
Source.
=======
@@ -466,12 +470,12 @@
See:
- http://www.emacswiki.org/emacs/BzrForEmacsDevs
+ * http://www.emacswiki.org/emacs/BzrForEmacsDevs
Emacs Git mirror.
-----------------
- http://www.emacswiki.org/emacs/EmacsFromGit
+ * http://www.emacswiki.org/emacs/EmacsFromGit
Patch.
======
@@ -483,8 +487,7 @@
How report bug.
===============
-Visit http://debbugs.gnu.org or M-x report-emacs-bug.
-
+Visit http://debbugs.gnu.org or ``M-x report-emacs-bug``.
Finding emacs packages.
=======================
@@ -502,8 +505,6 @@
ELPA goal is to make it simple to install, use, and upgrade Emacs Lisp packages.
-
-
Currently (2011-02-15) available such sources::
(setq package-archives '(("ELPA" . "http://tromey.com/elpa/")
@@ -524,15 +525,15 @@
Emacswiki.
----------
- http://www.emacswiki.org/emacs/ElispArea
- http://www.emacswiki.org/emacs/WikifiedEmacsLispList
+ * http://www.emacswiki.org/emacs/ElispArea
+ * http://www.emacswiki.org/emacs/WikifiedEmacsLispList
emacsmirror.
------------
- https://github.com/emacsmirror/p/wiki
- http://www.emacsmirror.org/
- http://www.emacswiki.org/emacs/Emacsmirror
+ * https://github.com/emacsmirror/p/wiki
+ * http://www.emacsmirror.org/
+ * http://www.emacswiki.org/emacs/Emacsmirror
Funny Emacs modes.
==================
--- a/rst.css Thu Apr 25 18:07:05 2013 +0300
+++ b/rst.css Tue May 14 19:45:26 2013 +0300
@@ -15,5 +15,10 @@
background-color: LightYellow;
overflow: auto;
}
+tt.literal {
+ background: LightYellow;
+ outline: 1px dotted orange;
+ padding: 1px;
+}
table { border-collapse:collapse; margin-left:auto; margin-right:auto; }
table, tr, td { padding: 3px; border: 1px dotted maroon; background-color: cornsilk; }