GNU bug report logs - #18764
24.4; electric-indent in *scratch* signals an error

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Sat, 18 Oct 2014 15:00:03 UTC

Severity: normal

Tags: confirmed, fixed, patch

Found in versions 24.4, 26.1

Fixed in version 27.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: npostavs <at> gmail.com, 18764 <at> debbugs.gnu.org
Subject: bug#18764: 24.4; electric-indent in *scratch* signals an error
Date: Mon, 18 Jun 2018 18:15:15 +0300
> Cc: 18764 <at> debbugs.gnu.org
> From: Dmitry Gutov <dgutov <at> yandex.ru>
> Date: Mon, 18 Jun 2018 12:33:34 +0300
> 
> On 6/17/18 6:48 AM, Eli Zaretskii wrote:
> 
> > I submit that any errors in code that tries to indent should be
> > suppressed, as they are not relevant to what the user wanted.  If
> > those errors are important in other contexts, they will pop up there,
> > and can then decide what to do with them.
> 
> 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.




This bug report was last modified 7 years and 30 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.