From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#43489: [PATCH] Don't signal scan-error when moving by sexp interactively Date: Fri, 18 Sep 2020 16:18:57 +0300 Message-ID: <56ac5e48-71dc-8219-a2ac-e5691a7cc22b@yandex.ru> References: <64C7CB3A-36F2-4988-9FF9-B99115C9ED13@acm.org> <87k0wri5xq.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1692"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 Cc: 43489@debbugs.gnu.org To: Lars Ingebrigtsen , Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 18 15:22:26 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kJGLJ-0000LB-Ls for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Sep 2020 15:22:25 +0200 Original-Received: from localhost ([::1]:42530 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJGLI-0002dI-MW for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Sep 2020 09:22:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43642) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJGJ0-0000RI-4J for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2020 09:20:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57967) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kJGIz-0001AS-PW for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2020 09:20:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kJGIz-0000Z6-Lg for bug-gnu-emacs@gnu.org; Fri, 18 Sep 2020 09:20:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Sep 2020 13:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43489 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 43489-submit@debbugs.gnu.org id=B43489.16004351472101 (code B ref 43489); Fri, 18 Sep 2020 13:20:01 +0000 Original-Received: (at 43489) by debbugs.gnu.org; 18 Sep 2020 13:19:07 +0000 Original-Received: from localhost ([127.0.0.1]:41280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJGI6-0000Xo-S4 for submit@debbugs.gnu.org; Fri, 18 Sep 2020 09:19:07 -0400 Original-Received: from mail-lj1-f181.google.com ([209.85.208.181]:45332) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJGI5-0000X5-T7 for 43489@debbugs.gnu.org; Fri, 18 Sep 2020 09:19:06 -0400 Original-Received: by mail-lj1-f181.google.com with SMTP id c2so5048836ljj.12 for <43489@debbugs.gnu.org>; Fri, 18 Sep 2020 06:19:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=/wJVea6Rft0vhYzQgHD7D2I50J+k00o/B7Vbt8KBHVw=; b=PqajALYS1VEMEHCpWnuGt/FBlG1fRWVySx/yB/UxRJ/5jJ4EbW/cxWgi7UI9MVTYMn hNl29Ym+uTHLqX5k1HK1I+Wfu6ikeCTfop+gdGQpqTmg+AQIA2EKOeQsMI4QeAbP82KD l6uBiMkk2HmdVvNnMSBkhUpVFu2dHoQVXtZBVi6Jr6LdN+QH6EGFtx8WAl4+7GY99quP MMU5fR8shtXCQlt9UAXFdOyYYdDezf7cxPiAKw3dnQhRqsUQ1WI7lLnziZxOtLzcV0Fz Eyk95UsT3YcdAdg+j4P+tbjwtHrl5Vr0yKgH8ClXJkzoaitWNXbcpZ8ItWqQrovat1r4 RQ6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=/wJVea6Rft0vhYzQgHD7D2I50J+k00o/B7Vbt8KBHVw=; b=eGdvyvlMA8sTnlaRaADqaJx7T13xCI50iHvv8TY6w5lxaxP/ThQAytsh0tB3zvDj2F g4lpDEYLg8EKyrt0j8K6yFo0xJRfdHfcSrxfPCwSIVpXS7a8rMTc97/HNxyNIi+7WEcr IaqlfXAKUe7klqbs2jMopTZdITIIF7nbV2SRX4rB1p25/tHolknIopkp3mdr1xAHQWs+ 5oLocpYy06YkzdkQiyFs2OofCujEDHpIquDCk07sbb6ei0PIl/IH6YojKb1dUz7cV7YJ rz0s2Ihk00zqPEHZbtC5fDyS66isHOrt9pCtC3YKgylfV8xiNjHbxPkbHbA53XYrdC44 FqeQ== X-Gm-Message-State: AOAM533EbsG4uxrDl4hFEHfRRxe7wavTAi0+Qbd9uD7IkQY8zgLInItL yJ9Uo0WvPf1kdf+k2K0v29LqtqmNBv4UpQ== X-Google-Smtp-Source: ABdhPJzjyIakf3cGnHMz9nP1KNeyAalRGDvNtOLK56HcrnXXM3D9Fz5GLvWpDD2AVu0rq3O3xfL4PQ== X-Received: by 2002:a2e:9992:: with SMTP id w18mr12482592lji.301.1600435139457; Fri, 18 Sep 2020 06:18:59 -0700 (PDT) Original-Received: from [192.168.0.104] ([94.229.108.16]) by smtp.googlemail.com with ESMTPSA id c20sm588972lff.291.2020.09.18.06.18.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 18 Sep 2020 06:18:58 -0700 (PDT) In-Reply-To: <87k0wri5xq.fsf@gnus.org> Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:188301 Archived-At: On 18.09.2020 16:13, Lars Ingebrigtsen wrote: >> When moving by sexp (C-M-f, C-M-u and so on) and point is already at a >> boundary preventing further movement, Emacs currently signals an >> internal error such as >> >> Scan error: "Containing expression ends prematurely", 5010, 5010 >> >> or >> >> Scan error: "Unbalanced parentheses", 5010, 1 >> >> which is unhelpful and rather looks as if something went wrong in the >> internal machinery. > Yes, those error messages are confusing in interactive usage. They might be kinda helpful for interactive debugging, though?