From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: ndame Newsgroups: gmane.emacs.help Subject: Re: backward-sexp throws scan-error "Unbalanced parentheses", but forward-sexp works Date: Wed, 19 Jan 2022 20:47:38 +0000 Message-ID: References: <7P2hvHIAuBtvvAp5Gg8L9eq2f8SRRltOKMqGLvfvTOjSjgxKT3tp93lKU0v1WHJfzDudElnNlUyQDuvjo6L_JLtWEVsb1FuiclveZp_i9T0=@protonmail.com> Reply-To: ndame Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2290"; mail-complaints-to="usenet@ciao.gmane.io" To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 19 21:48:32 2022 Return-path: Envelope-to: geh-help-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 1nAHse-0000RU-Ha for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 19 Jan 2022 21:48:32 +0100 Original-Received: from localhost ([::1]:55358 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAHsd-0006dB-7N for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 19 Jan 2022 15:48:31 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:39618) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAHrw-0006cj-S0 for help-gnu-emacs@gnu.org; Wed, 19 Jan 2022 15:47:49 -0500 Original-Received: from mail-0301.mail-europe.com ([188.165.51.139]:49568) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAHrv-0003za-9Y for help-gnu-emacs@gnu.org; Wed, 19 Jan 2022 15:47:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail2; t=1642625260; bh=ZehAJfQZkM9Lc0c4NDWufdBHSvZ1Y1C6gEWCprz/PeU=; h=Date:To:From:Reply-To:Subject:Message-ID:In-Reply-To:References: From:To:Cc; b=ED7Wfew8gmgKAGJzpickPTxWiubS9B8U8d63B0DlUtT0uhZ4fUHznPV5vEHLmjkKs y+bluoCKmfnvLMwMr8LbzptwCevUULLCVfCsLaqZCYADAQlSMke9vMU0pYV2soYPdr 1FQ7Nj8eABATIiXWEWirJSV3PTkQYQdolup5t7GOjRqBDtOVZCzP85Sn2+/x0J7tMF x926aTce860AXKj6U+sXtmvWPA/aaBkuN2yVN3GixEax293PwzHzVAhfBci9DBjCWN AcERrwOxq0YYfn1JwZPftoywgcc0KamyKJuaE7SHJS5A5VaZCV/MJPz/+4GPO+r5+x 00GbOh8Fchvgg== In-Reply-To: Received-SPF: pass client-ip=188.165.51.139; envelope-from=laszlomail@protonmail.com; helo=mail-0301.mail-europe.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:135452 Archived-At: > > Reported the problem to aggressive-indent-mode author with steps how to r= eproduce: > > https://github.com/Malabarba/aggressive-indent-mode/issues/153 > > We'll see what he can say about it. The maintainer is not really responsive. I skimmed the code and it seems it only calls (indent-according-to-mode) and stuff, and does not do anything crazy: https://github.com/Malabarba/aggressive-indent-mode/blob/master/aggressive-= indent.el Would you agree that if the code does only automatic indentation for the user by calling core indent functions then it's likely that emacs is the culprit for the error and I should submit a bug report for emacs? The problem is reproducible and it only requires installing aggressive-indent-mode which is in GNU ELPA.