Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <h3>Highlight sexps</h3> <p>First of all, turn on the builtin paren match highlighting (<code>show-paren-mode</code>) if not already did so. It always gives you an idea what indentation level you are in.</p> <p>There are also some more sophisticated packages. For example, see <a href="https://stackoverflow.com/questions/898287/how-can-i-spot-subtle-lisp-syntax-mistakes/898514#898514">TJ's answer on <code>mic-paren</code></a>. Or though I didn't find it suitable for me, but there is <a href="http://amitp.blogspot.com/2007/05/emacs-highlighting-parentheses.html" rel="nofollow noreferrer">Schumacher's highlight-parentheses mode</a> that highlights every expression block with different colors. Even <a href="http://edward.oconnor.cx/elisp/hl-sexp.el" rel="nofollow noreferrer">Edward O'Connor has a mode</a> that highlights the current sexp.</p> <h3>Paredit</h3> <p>Use <a href="http://www.emacswiki.org/emacs/ParEdit" rel="nofollow noreferrer"><code>paredit-mode</code></a> which helps you writing sexps. You can easily navigate between sexps and re-structure the code. In addition, it ensures the parenthesis always balanced. When I first tried it, it was very annoying for me how Paredit constrains the way of coding, but since then I'm used to work with it, I'm a lot more productive and never get confused with opening and closing parenthesis.</p> <h3>Auto indenting</h3> <p>Use <a href="http://www.emacsblog.org/2008/12/05/emacs-starter-kit/" rel="nofollow noreferrer">Emacs Starter Kit</a>, which, by default, enables a lot of useful helpers for coding in Elisp like re-indent on newline.</p> <h3>ElDoc</h3> <p><code>emacs-lisp-mode</code> has several useful extensions. For instance, I always use <code>eldoc-mode</code> that displays currently typing function's argument list or variable's docstring in the echo area. It also helps you easily recognize if you are in the wrong block.</p> <h3>Edebug</h3> <p>I've just nearly forgotten to mention <a href="http://www.gnu.org/software/emacs/elisp/html_node/Using-Edebug.html" rel="nofollow noreferrer">Edebug</a> which—as a last chance—always helps you figuring out what's going on in your code.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload