all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joost Kremers <joostkremers@fastmail.fm>
To: Jean-Christophe Helary <jean.christophe.helary@gmail.com>
Cc: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: Invalid read syntax: ")"
Date: Sun, 06 May 2018 20:36:12 +0200	[thread overview]
Message-ID: <87r2moskbn.fsf@fastmail.fm> (raw)
In-Reply-To: <19BA809B-9E7D-409D-95B3-BE016E3A24DD@gmail.com>


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



  parent reply	other threads:[~2018-05-06 18:36 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
2018-05-07  1:13           ` Óscar Fuentes
2018-05-06  4:28 ` Óscar Fuentes
2018-05-06 18:36 ` Joost Kremers [this message]
  -- 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=87r2moskbn.fsf@fastmail.fm \
    --to=joostkremers@fastmail.fm \
    --cc=help-gnu-emacs@gnu.org \
    --cc=jean.christophe.helary@gmail.com \
    /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.