bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18764: 24.4; electric-indent in *scratch* signals an error


From: Eli Zaretskii
Subject: bug#18764: 24.4; electric-indent in *scratch* signals an error
Date: Sun, 17 Jun 2018 06:48:26 +0300

> From: Noam Postavsky <npostavs@gmail.com>
> Cc: 18764@debbugs.gnu.org
> Date: Sat, 16 Jun 2018 19:13:29 -0400
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > Then let me rephrase: why are we signaling an error instead of
> > silently doing nothing?  IOW, if something cannot be indented, let's
> > leave it unindented.  Does that make sense?
> 
> So just suppress the errors?

Yes.

> Worries me a bit that some future problems could be harder to find
> because of that.

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.

Thanks.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]