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


Message #21 received at 18764 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: 18764 <at> debbugs.gnu.org
Subject: Re: bug#18764: 24.4; electric-indent in *scratch* signals an error
Date: Sat, 16 Jun 2018 18:03:35 +0300
> From: Noam Postavsky <npostavs <at> gmail.com>
> Cc: 18764 <at> debbugs.gnu.org
> Date: Sat, 16 Jun 2018 09:48:18 -0400
> 
> > Why do we produce an error instead of just inserting the character?
> 
> I don't quite follow; the newline character has already been inserted as
> far as I can tell.  Then we signal an error while trying to indent.

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?




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

Previous Next


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