From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.help Subject: Re: Invalid read syntax: ")" Date: Mon, 07 May 2018 02:33:52 +0200 Message-ID: <87r2mo1ez3.fsf@telefonica.net> References: <19BA809B-9E7D-409D-95B3-BE016E3A24DD@gmail.com> <87k1sh4dya.fsf@ericabrahamsen.net> <4d91573f-0a6f-46f8-9497-e3febfb3b89c@default> <248C0FF3-87D2-434A-8478-F2E0A8EFC852@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1525653189 14441 195.159.176.226 (7 May 2018 00:33:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 7 May 2018 00:33:09 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 07 02:33:05 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fFU5P-0003cq-NO for geh-help-gnu-emacs@m.gmane.org; Mon, 07 May 2018 02:33:03 +0200 Original-Received: from localhost ([::1]:43681 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFU7W-0008Kv-LX for geh-help-gnu-emacs@m.gmane.org; Sun, 06 May 2018 20:35:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59750) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFU6N-00080L-SP for help-gnu-emacs@gnu.org; Sun, 06 May 2018 20:34:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fFU6K-0006z9-Jd for help-gnu-emacs@gnu.org; Sun, 06 May 2018 20:34:03 -0400 Original-Received: from [195.159.176.226] (port=44132 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fFU6K-0006yH-Cn for help-gnu-emacs@gnu.org; Sun, 06 May 2018 20:34:00 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fFU4B-00029G-5a for help-gnu-emacs@gnu.org; Mon, 07 May 2018 02:31:47 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:H7LdK0JzW55BMNDWD5uh+L9/c0c= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:116667 Archived-At: Jean-Christophe Helary 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.