From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: Invalid read syntax: ")" Date: Sun, 06 May 2018 20:36:12 +0200 Message-ID: <87r2moskbn.fsf@fastmail.fm> References: <19BA809B-9E7D-409D-95B3-BE016E3A24DD@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: blaine.gmane.org 1525631691 25192 195.159.176.226 (6 May 2018 18:34:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 6 May 2018 18:34:51 +0000 (UTC) User-Agent: mu4e 1.1.0; emacs 25.3.50.1 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 Sun May 06 20:34:47 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 1fFOUd-0006Pq-9N for geh-help-gnu-emacs@m.gmane.org; Sun, 06 May 2018 20:34:43 +0200 Original-Received: from localhost ([::1]:42950 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFOWk-0000m4-FD for geh-help-gnu-emacs@m.gmane.org; Sun, 06 May 2018 14:36:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60177) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fFOWJ-0000lz-7j for help-gnu-emacs@gnu.org; Sun, 06 May 2018 14:36:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fFOWG-0000Jv-4D for help-gnu-emacs@gnu.org; Sun, 06 May 2018 14:36:27 -0400 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]:47415) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fFOWF-0000H0-TQ for help-gnu-emacs@gnu.org; Sun, 06 May 2018 14:36:24 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 6C2F3226FE; Sun, 6 May 2018 14:36:20 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sun, 06 May 2018 14:36:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=UGw7Dx7vunpaeJ5zq5AU31GeGwNendSGE62Roa75d40=; b=YRzZJJXF DXIl56G9kUvQLsEza84hnL9TpqoYEltJCf3nkuS/cbxZqpVIEjC/K+XApEHbNpeO HZpJAvTmQTUWzS3F4MGAMu81HBNKo2+jHSeCub5wdjlAZJWq8IRvP3N4G9LQ4fU3 gFbFIeo+lSPqk5XyG/10uVx1qnOMBcyjDaa5P1fPffn9xjy120ObM/cLQNgpRRMf zOg+EJAscgFgjrQyWeXllcWX0lCq2QCNGqe8sX6d/UxVHu9Sc1Dvl4Jy0Qm8DWhX 4hCCxOBgOBH64huhko/9hgP7HptoeT5ISLJcU3njIuO3RTDzEWdpa133+vBKIIaY Y8wD+SzfR1xW2g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=UGw7Dx7vunpaeJ5zq5AU31GeGwNen dSGE62Roa75d40=; b=BmNrtlLl5M3ZyirhmxnoPA29XH5iV0UkUH2mGvfsebTfv 447fY30V3sZ/rFG9b6pH8yw7bbeqEZyP94gj3edDSMz8vIgV4KX59+Jd1V2H5zi/ oaxP4qNdHNCq60z32YgrXT2uhkz56tszmh3hz6pFwuC2pAKkoMvnVmyAMIxboDLZ X9fh7iLLo17DeO2QuWkDU5NiJJj21NfjgFDwwqeU1FPxrsqcV6uwFpPgfGknBOiO xFYKJ1IPre8ksZBboqqAPmYh/FffaY6gzxvd5ASx/5SoreYMgDcV/jKyxlcPltz2 FkPk1HezPOhBBsfIWDHZSwP97MzOFfTqzgr7t/36g== X-ME-Sender: Original-Received: from IdeaPad.fastmail.com (ip5f5ac93d.dynamic.kabel-deutschland.de [95.90.201.61]) by mail.messagingengine.com (Postfix) with ESMTPA id BDD34E4921; Sun, 6 May 2018 14:36:19 -0400 (EDT) In-reply-to: <19BA809B-9E7D-409D-95B3-BE016E3A24DD@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.111.4.27 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:116663 Archived-At: On Sun, May 06 2018, Jean-Christophe Helary wrote: > I have an Invalid read syntax: ")" when I start emacs. > > When I do emacs -q and eval-buffer on .emacs.el I get the error > again but check-parens does not give me anything there, which is > the only file that I use for customizations. > > ... > > Any idea how to diagnose that ? When I get this sort of thing, I find it helpful, to use `backward-sexp` (bound to `C-M-b') at the end of some random defuns or other top-level declarations. At some point I'll run into a declaration where `C-M-b' doesn't take me to the expected position. Looking at indentation also helps, sometimes. -- Joost Kremers Life has its moments