all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Óscar Fuentes" <ofv@wanadoo.es>
To: help-gnu-emacs@gnu.org
Subject: Re: Invalid read syntax: ")"
Date: Mon, 07 May 2018 02:33:52 +0200	[thread overview]
Message-ID: <87r2mo1ez3.fsf@telefonica.net> (raw)
In-Reply-To: 248C0FF3-87D2-434A-8478-F2E0A8EFC852@gmail.com

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.




  parent reply	other threads:[~2018-05-07  0:33 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-06  4:09 Invalid read syntax: ")" Jean-Christophe Helary
2018-05-06  4:15 ` Eric Abrahamsen
2018-05-06  4:46   ` Eric Abrahamsen
2018-05-06  8:26     ` Noam Postavsky
2018-05-06 15:32   ` Jean-Christophe Helary
2018-05-06 16:03     ` Drew Adams
2018-05-07  0:14       ` Jean-Christophe Helary
2018-05-07  0:33         ` Noam Postavsky
2018-05-07  3:54           ` Jean-Christophe Helary
2018-05-07  4:05             ` Jean-Christophe Helary
2018-05-07 17:55             ` Eli Zaretskii
2018-05-08  0:43               ` Jean-Christophe Helary
2018-05-07  0:33         ` Óscar Fuentes [this message]
2018-05-07  1:13           ` Óscar Fuentes
2018-05-06  4:28 ` Óscar Fuentes
2018-05-06 18:36 ` Joost Kremers
  -- strict thread matches above, loose matches on Subject: below --
2012-01-27 13:07 Invalid read syntax "#"? Alan Schmitt
2012-01-27 15:24 ` Nick Dokos
2012-01-27 15:37   ` Nick Dokos
2012-01-28 15:55 ` Bastien
2012-01-30 13:15   ` Alan Schmitt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r2mo1ez3.fsf@telefonica.net \
    --to=ofv@wanadoo.es \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.