From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#18764: 24.4; electric-indent in *scratch* signals an error Date: Thu, 21 Jun 2018 17:39:06 +0300 Message-ID: <83wousqk51.fsf@gnu.org> References: <83a94te85b.fsf@gnu.org> <8736xowzes.fsf@gmail.com> <83tvq3ynmv.fsf@gnu.org> <87d0wqvo4d.fsf@gmail.com> <83muvuzsc8.fsf@gnu.org> <87lgbetjdy.fsf@gmail.com> <83vaaixed1.fsf@gnu.org> <772680b2-622b-6b67-3eb6-9baa02bd3621@yandex.ru> <83602gt9bw.fsf@gnu.org> <87zhzpq9dn.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1529591896 28183 195.159.176.226 (21 Jun 2018 14:38:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 21 Jun 2018 14:38:16 +0000 (UTC) Cc: dgutov@yandex.ru, 18764@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 21 16:38:12 2018 Return-path: Envelope-to: geb-bug-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 1fW0iu-0007AC-DJ for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Jun 2018 16:38:08 +0200 Original-Received: from localhost ([::1]:55843 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fW0l1-0001Z4-Fv for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Jun 2018 10:40:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34976) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fW0kt-0001Ys-9w for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2018 10:40:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fW0kk-00053D-SQ for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2018 10:40:11 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51356) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fW0kk-00052j-6H for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2018 10:40:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fW0kj-0001dm-M5 for bug-gnu-emacs@gnu.org; Thu, 21 Jun 2018 10:40:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 21 Jun 2018 14:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18764 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch confirmed Original-Received: via spool by 18764-submit@debbugs.gnu.org id=B18764.15295919516239 (code B ref 18764); Thu, 21 Jun 2018 14:40:01 +0000 Original-Received: (at 18764) by debbugs.gnu.org; 21 Jun 2018 14:39:11 +0000 Original-Received: from localhost ([127.0.0.1]:59253 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fW0jv-0001cZ-8a for submit@debbugs.gnu.org; Thu, 21 Jun 2018 10:39:11 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43567) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fW0jt-0001cK-Kc for 18764@debbugs.gnu.org; Thu, 21 Jun 2018 10:39:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fW0jl-0004n0-4b for 18764@debbugs.gnu.org; Thu, 21 Jun 2018 10:39:04 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48855) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fW0jl-0004ms-0h; Thu, 21 Jun 2018 10:39:01 -0400 Original-Received: from [176.228.60.248] (port=1460 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fW0jk-00015t-2f; Thu, 21 Jun 2018 10:39:00 -0400 In-reply-to: <87zhzpq9dn.fsf@gmail.com> (message from Noam Postavsky on Wed, 20 Jun 2018 20:19:16 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:147702 Archived-At: > From: Noam Postavsky > Cc: Dmitry Gutov , 18764@debbugs.gnu.org > Date: Wed, 20 Jun 2018 20:19:16 -0400 > > >> That's going to make user complaints like "why it doesn't indent" or "it > >> doesn't indent right" harder to debug and address. > > > > IMO, this is a lesser evil. And if it turns out to be a real problem, > > we could always add a variable to control whether such errors are > > silently ignored. > > We can be a little more discriminating than my initial blanket > `ignore-errors', see commit message in the attached patch: Fine with me, but I'd prefer a comment in the code explaining why we catch errors here. Thanks.