From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.help Subject: Re: Invalid read syntax: ")" Date: Sun, 6 May 2018 20:33:26 -0400 Message-ID: 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; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1525653119 9285 195.159.176.226 (7 May 2018 00:31:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 7 May 2018 00:31:59 +0000 (UTC) Cc: Help Gnu Emacs mailing list To: Jean-Christophe Helary Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 07 02:31:55 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 1fFU4I-0002Hy-9x for geh-help-gnu-emacs@m.gmane.org; Mon, 07 May 2018 02:31:54 +0200 Original-Received: from localhost ([::1]:43678 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFU6P-0007p4-98 for geh-help-gnu-emacs@m.gmane.org; Sun, 06 May 2018 20:34:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59637) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFU5o-0007ow-Ad for help-gnu-emacs@gnu.org; Sun, 06 May 2018 20:33:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fFU5n-0006iq-K0 for help-gnu-emacs@gnu.org; Sun, 06 May 2018 20:33:28 -0400 Original-Received: from mail-ot0-x231.google.com ([2607:f8b0:4003:c0f::231]:32979) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fFU5n-0006ii-Ez for help-gnu-emacs@gnu.org; Sun, 06 May 2018 20:33:27 -0400 Original-Received: by mail-ot0-x231.google.com with SMTP id l22-v6so30184535otj.0 for ; Sun, 06 May 2018 17:33:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=F3bfeHF8tAE3i0hPkaPGfa0ELLd5fUhd0LBVaHkFw5A=; b=QtuhBzGFMDqYVZeej/xKNcgpjpQCL0x4HgAa7L34MWENnqRJ1wuC27we0YDZdDoKW+ Jz7HXvzF2BtvKw0RxhCxH4lq+vgV5wQAHSjC/jrJqNRWZpdjZE1rnm5/cF8l/ubRInej ccCp4+DH+X4MeZYC+WaDuECN9rveLQLsb5Z+VijCMmvPUMZI4jlYYudIb3nlRcsPsYem MpWzWU29pLEaf4iZ8qjlYby9AmOnW3ju+qiNS5Jhc+H2590twklzYkNzjTN5PTTl+RWo Z2vbOtYtqPnz5i4s2R8hx48kXaaMNQXT9JncZCLXZxCBxV3yVgaxS/MRITsRa6GNxjsc N8yQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=F3bfeHF8tAE3i0hPkaPGfa0ELLd5fUhd0LBVaHkFw5A=; b=BenK+zRcZWGP5WkcTZcDvhxlIqP2TyifgyhN5FeC8iM40XpaKMLL+yS7dXMMZLGhAj bi30K8hPkbluCa4WtVLQ8MQ0MjNWa6Ro0ovCojoKv56qQulYQkd1nwK9yNIDuzDXMyqA hTWyzBuzJ/UYTQE+US+Abd2BGCMjJvcA/NnxIQ5ov+lbcREXDNaiLbhD3XiEKNulkSnt 0OespxqkSgJDeQTszgmloH7bqrxddWcSkesyNntlqQgSSRidP3w9LaLlmYbZ7Rjo7nSh /zg/OFMdig36HwCM6h5adKWZ8Pj7lh75AhcNgqiYKF87DFUzXLCRmUUeemaTB89vzG4o IozQ== X-Gm-Message-State: ALQs6tCuFQIEtzifMGb6aGA+rPHaYkz+XqUyRd9zwbWNOhdU/vGRn5vJ lVT3ot6lS3U0zNdpQ8vkYiR81KbpxvkW+puTruI= X-Google-Smtp-Source: AB8JxZrdoxCkgh1MK8tcXRNyKiSTM7F7JHHOu9l3VxgLpOi7OeLaWIo4ujj2otGEFyPdpzlcJdSlbnAFQl4pzuuj1qE= X-Received: by 2002:a9d:4086:: with SMTP id n6-v6mr23756938ote.335.1525653206863; Sun, 06 May 2018 17:33:26 -0700 (PDT) Original-Received: by 10.74.5.135 with HTTP; Sun, 6 May 2018 17:33:26 -0700 (PDT) In-Reply-To: <248C0FF3-87D2-434A-8478-F2E0A8EFC852@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c0f::231 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:116666 Archived-At: On 6 May 2018 at 20:14, Jean-Christophe Helary wrote: >>> But what I get is: >>> $ emacs --debug-init >>> Invalid read syntax: ")" Perhaps it happens after init time? > 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 tha= t does the trick. Like actually giving the expression that is not properly = closed. If a manual binary search can do it, surely an automatic binary sea= rch (if one ought to exist) can... You said you could get the error with M-x eval-buffer, right? Perhaps just doing M-x toggle-debug-on-error before that will get the backtrace (which should include the buffer position of the offending ")").