help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Invalid read syntax: ")"


From: Óscar Fuentes
Subject: Re: Invalid read syntax: ")"
Date: Mon, 07 May 2018 02:33:52 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Jean-Christophe Helary <jean.christophe.helary@gmail.com> writes:

> I understand what a binary search is, but I was first wondering if
> among the hundreds of thousands of functions in emacs, there would not
> be one that does the trick. Like actually giving the expression that
> is not properly closed.

In general, this is not possible.

> If a manual binary search can do it, surely an
> automatic binary search (if one ought to exist) can...

Take a look at

https://github.com/Malabarba/elisp-bug-hunter

I never used it.

> Also, the man page says about emacs --debug-init:
>
>       -debug-init
>                Enable Emacs Lisp debugger during the processing  of  the  user
>                init  file  ~/.emacs.  This is useful for debugging problems in
>                the init file.
>
> If the only information it gives in that case is the same as when
> running "emacs", I don't find that particularly useful.

For most types of errors, --debug-init is really useful.

> Ok, so on with the binary search.

Good look.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]