[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: catching parenthesis errors in elisp
From: |
Thierry Volpiatto |
Subject: |
Re: catching parenthesis errors in elisp |
Date: |
Fri, 12 Jun 2009 12:26:34 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.94 (gnu/linux) |
Hi,
you can try to use:
C-M f ==> forward-sexp
or
C-M d ==> down-list
or
C-M n ==> forward-list
starting to the beginning of your defun with a big prefix arg
(e.g C-u4567 C-M f)
You will have an error giving you the exact position of your error.
If you have many functions and you don't know which one have error,
use C-M e in the same way, it will stop on the wrong defun.
Then use the above commands as described.
Hope that help.
rustom <rustompmody@gmail.com> writes:
> Im hacking on a 700 line elisp function.
> While doing some (fairly mechanical) cut-paste operations it looks
> like either Ive got a parenthesis or a quote (most likely double quote
> but could also be single quote) error.
>
> Any suggestions on how to catch such errors?
>
--
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France
- catching parenthesis errors in elisp, rustom, 2009/06/12
- Re: catching parenthesis errors in elisp, Pascal J. Bourguignon, 2009/06/12
- Re: catching parenthesis errors in elisp, Thien-Thi Nguyen, 2009/06/12
- Re: catching parenthesis errors in elisp,
Thierry Volpiatto <=
- Re: catching parenthesis errors in elisp, Tim X, 2009/06/12
- Re: catching parenthesis errors in elisp, Xah Lee, 2009/06/12
- Re: catching parenthesis errors in elisp, Pascal J. Bourguignon, 2009/06/12
Re: catching parenthesis errors in elisp, Joe Fineman, 2009/06/12