From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: Is there a reason why iinvalid-read-syntax doesn't give me the location of the error? Date: Wed, 07 Aug 2019 15:59:20 +0200 Message-ID: <871rxxdqkn.fsf@web.de> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="56782"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: "help-gnu-emacs@gnu.org" To: ndame Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 07 15:59:43 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hvMTe-000Edb-89 for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Aug 2019 15:59:42 +0200 Original-Received: from localhost ([::1]:41490 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hvMTc-0002xj-QQ for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Aug 2019 09:59:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33903) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hvMTU-0002xO-Dg for help-gnu-emacs@gnu.org; Wed, 07 Aug 2019 09:59:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hvMTT-00053r-GW for help-gnu-emacs@gnu.org; Wed, 07 Aug 2019 09:59:32 -0400 Original-Received: from mout.web.de ([212.227.15.14]:41767) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hvMTT-00051D-4N for help-gnu-emacs@gnu.org; Wed, 07 Aug 2019 09:59:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1565186361; bh=GaNBezcrvK+WcEGRw5ZjONrl8nBiE70diEWa7Lwv8o0=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=W1XHkfUgE3/AIdB4+GalqsTuvZNsTPFzeIyBbMhWKyh5ko/evpz+yKouk3gt7ZZvf dPlMZx0ClYYYZRGWageOKGIsiB+NypWj+kThtaT15ttLNeel4zLwmBzjxIHRSFzoBY hxY/BtoEsYcoaTXXuLgh+8+f2zJl7rdDRbrUGBe4= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from drachen.dragon ([92.208.93.131]) by smtp.web.de (mrweb003 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MN4K8-1hxXG539Gi-006dhS; Wed, 07 Aug 2019 15:59:21 +0200 In-Reply-To: (ndame's message of "Wed, 7 Aug 2019 15:40:52 +0200 (CEST)") X-Provags-ID: V03:K1:AQpamu22Riyp5QgFTQjVD1ocx8INSKTprQQ67Ch0/fLdTG4dDTr yzKlNXHBok4rhj/cdimcuOzTR8fuDG9AMdpmr0CRbIp+qKyD1SxLT8wGtuP2n93w1I/60HV J0RXsuNtDNMMC+z5+W5QW8bxdbRtINe+5dxTbE4ENwBahsOiYPnBiRaBXqz0PGnBgDrlNeU xaQTxUbKtAnRqnb5NHtjw== X-UI-Out-Filterresults: notjunk:1;V03:K0:s82BaNzezgk=:Dzn723dSmK8m56DWRhCfCU UkdCALeDHo5+HjSKZZrV6ncsnpyUHh/SkF0siZEQ7LQ/2RfqeYpChHMc2DOgdLKHRntWVKgZn UeycH2NLObj/WbTBJnputEdZWSOpleDGiNfPSpmdjo1zGk6G/NTi9QvGY+mn0CJmxev8CxQKm ZHYvgBNIJYffbKC4cv8U/HQBHgerNsOKrwhQu/p75oN5d+7RFxjWi1p5omRmJFPnUjs05eyzy kJYPSbCsPlfKI/DoWx8pBf1bcUWnzYe72Ts/7sQ/4LhsjZMj8RHKV4lC8RujBsZYR2KVaVPx5 Jb1f0CFRJ5cnwOphd90fzcF/FLUZvRF0y3y+CfKciNDjhyU343ENIEOdga0yeYtCWllSd0nIi XMFDxhbGA5DAw+TvoweERHsae4zM9kewA2aMoVPXHNcgM3r6Wk3MNQoNmPRAQaxm+XQykAE/F H+AYebPgPyV+mObLd9iM45F5F8S2REq9+FmJbxRC0PkJH1mdz3J/lCwnQFwgWHDbe89ESMSqv yvp6k2IqPcXKrJvLwshBs+dq3X07nf34oB02ITasid+aW+Olm30qwcToAaU2r17WgAExj6MMb EUVk3RTxG+VUwQAFU9TfIICZYn1QuE+uBiwcM3COFY37+ZZcoeCYb5/geyEkX2GTfgSjUT8WE Y/r9OgVxUWRzjGC3TZer9fAHtlwPM7Z52MvIT/ktZ1rU5btQB4VMPDcvV8bL7kA+71UuGkzck ZZEt6dEvWjicDqEf+wXe3T40KihxXsQPHYfxZe8f9Jnaa34OlJwtmwEy1vq6OU17VnPNWkyd X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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:121317 Archived-At: ndame writes: > I wonder why the error message doesn't give me the location of the > error like scan-error. I have to bisect the file to find the bad part. I don't have the answer to your question, only a workaround: turn on debug-on-error and eval. When the debugger pops up, switch to the source code buffer. Point will be likely near the problem (AFAICT `read' just leaves point where it gave up). Michael.