GNU bug report logs - #24844
26.0.50; electric-newline-and-maybe-indent

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Andreas Röhler <andreas.roehler@HIDDEN>; dated Tue, 1 Nov 2016 11:16:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 24844 <at> debbugs.gnu.org:


Received: (at 24844) by debbugs.gnu.org; 1 Nov 2016 20:08:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 01 16:08:31 2016
Received: from localhost ([127.0.0.1]:39411 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1c1fMF-0002UR-7J
	for submit <at> debbugs.gnu.org; Tue, 01 Nov 2016 16:08:31 -0400
Received: from eggs.gnu.org ([208.118.235.92]:49756)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1c1fMD-0002UE-Nn
 for 24844 <at> debbugs.gnu.org; Tue, 01 Nov 2016 16:08:30 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1c1fM3-0002wG-RT
 for 24844 <at> debbugs.gnu.org; Tue, 01 Nov 2016 16:08:24 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44832)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1c1fM3-0002w8-OF; Tue, 01 Nov 2016 16:08:19 -0400
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4369
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1c1fM3-00049K-3P; Tue, 01 Nov 2016 16:08:19 -0400
Date: Tue, 01 Nov 2016 22:08:36 +0200
Message-Id: <83y413m08r.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Andreas =?windows-1252?Q?R=F6hler?= <andreas.roehler@HIDDEN>
In-reply-to: <056414e7-d51d-4ce1-6ff3-aae30e213c74@HIDDEN> (message
 from Andreas =?windows-1252?Q?R=F6hler?= on Tue, 1 Nov 2016 20:43:04 +0100)
Subject: Re: bug#24844: 26.0.50; electric-newline-and-maybe-indent
References: <26aa22df-e823-a222-9a1f-183b4fcc4c1b@HIDDEN>
 <8360o7nina.fsf@HIDDEN> <056414e7-d51d-4ce1-6ff3-aae30e213c74@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -7.5 (-------)
X-Debbugs-Envelope-To: 24844
Cc: 24844 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -7.5 (-------)

> Cc: 24844 <at> debbugs.gnu.org
> From: Andreas Röhler <andreas.roehler@HIDDEN>
> Date: Tue, 1 Nov 2016 20:43:04 +0100
> 
> In haskell-mode at EOL:
> 
> factors :: Int -> [Int]
> 
> C-j calls
> 
> electric-newline-and-maybe-indent
> 
> and indents wrongly - there is nothing to indent.

So perhaps this is the problem to solve, not the documentation?

> BTW why electric-newline? Isn't the indent the electric action?

I agree that the name is confusing; I guess the "electric-" prefix is
to blame.

> In order to avoid the wrong indent, have to enable electric-indent-mode 
> - doesn't make sense for me.

So I think the bug is the wrong indent you needed to avoid.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#24844; Package emacs. Full text available.

Message received at 24844 <at> debbugs.gnu.org:


Received: (at 24844) by debbugs.gnu.org; 1 Nov 2016 19:35:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 01 15:35:07 2016
Received: from localhost ([127.0.0.1]:39380 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1c1epv-0001j2-KS
	for submit <at> debbugs.gnu.org; Tue, 01 Nov 2016 15:35:07 -0400
Received: from mout.kundenserver.de ([212.227.126.131]:62738)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <andreas.roehler@HIDDEN>) id 1c1epu-0001iJ-Cb
 for 24844 <at> debbugs.gnu.org; Tue, 01 Nov 2016 15:35:06 -0400
Received: from [192.168.178.35] ([77.12.121.53]) by mrelayeu.kundenserver.de
 (mreue004) with ESMTPSA (Nemesis) id 0MYaIg-1cO7MW3GPy-00VRRO; Tue, 01 Nov
 2016 20:35:00 +0100
Subject: Re: bug#24844: 26.0.50; electric-newline-and-maybe-indent
To: Eli Zaretskii <eliz@HIDDEN>
References: <26aa22df-e823-a222-9a1f-183b4fcc4c1b@HIDDEN>
 <8360o7nina.fsf@HIDDEN>
From: =?UTF-8?Q?Andreas_R=c3=b6hler?= <andreas.roehler@HIDDEN>
Message-ID: <056414e7-d51d-4ce1-6ff3-aae30e213c74@HIDDEN>
Date: Tue, 1 Nov 2016 20:43:04 +0100
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101
 Icedove/45.4.0
MIME-Version: 1.0
In-Reply-To: <8360o7nina.fsf@HIDDEN>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
X-Provags-ID: V03:K0:qWgKGowbllnGnw1+4Sdi2jQAZ7KutSoK2V7H9lVOssSPQPxQq+y
 rCVKjGuaP1ncdmnNUOiQkAB9ZhhHdQyDgOaGu+/qGu2X6q5w4f1K1RLvF5i4PqR23LUcrza
 Pz46CVGP8uZk9bV3IUpDIHDk714Ukg1EXod7/+Pgg1HOZFTWb6GFnlyGAneS6ByDUp3/EYu
 m9p2snT5wnqIU4/4+1i6Q==
X-UI-Out-Filterresults: notjunk:1;V01:K0:R6OB6NLHeys=:t4O6Wcdgg5XoZwRooVOj/A
 9W4B54aQ1lc2F4UHrxTq2a3IRU7gp1Pe79xu11M3WX4kWLoYzOUXwKmAse1D3NnB9ab9hlAj5
 obkn7CMsUiVTvadT7+tGeuuiVuOh8/3nTiSGpUeV8ZE2o9MhvgexecVcm9W8zIIA+xrgelUfI
 AHZZaZRXlFUn1XTurzXPR5GqGpkphj4m16KJItAn8MTdDwBcyJ2LhbI5gHfSc08yoNBiuUl31
 WTKcE58a141yEm4DB84MjsBcniF3RZ0yYfLnCa9vITFfKFCtYIzqTSWnfWHhFO5wboU44R3JO
 w2lUNf2x/Cv9jJCtnVetVAWYKpSSF2BoV6zgJS3jy90izcidOP6eJx0jbMB9XNbcrq4EmaiAW
 HHXzWjgT4Dry8hzAbgx4bcE3Gu5CPJKSLoZWCpWvFVi5WlhVD+qgunN+sAcBAa/W3wIJE23SM
 qRkK98dHM9rLBq1evlha+KarXJG8/Zb1LqPef8S8vEWYAr4FF8O9Tv9uJp+Gk+C0VfjCRrQR0
 1K6I0FAaKid5IPrX4lfWI0w6S1HhSNG5R4VScg50bCl9N8X1rtxRNRaIB5LBLX2nfL/Wh0Ktf
 U7cjPOi6hsrKQSYSNrJFmyOcmKQBWnpZ0sK7wInRdjIdOK5zl+64JrDsuPXOsBzz3vC5ASw3n
 tqxTmmGQ1DhlkJqug7SqIrrd3H7VaE5+GFgvcuIh7lkjNhHOHm8Iiakz9gSpaJ3DKcgcHWV6R
 m6bvtIL2dN8VLuJW
X-Spam-Score: 1.6 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  On 01.11.2016 19:45, Eli Zaretskii wrote: >> From: Andreas
    Röhler <andreas.roehler@HIDDEN> Date: Tue, 1 Nov >> 2016 12:23:24
   +0100 Docstring of electric-newline-and-maybe-indent >> says "Insert a newline.
    If `electric-indent-mode' is enabled, that's >> that, but if it is *disabled*
    then additionally indent according to >> major mode...." I.e disabling `electric-indent-mode'
    will cause >> electric indent? > Where does it say that the additional indent
    is electric? It isn't. [...] 
 
 Content analysis details:   (1.6 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at http://www.dnswl.org/, no
                             trust
                             [212.227.126.131 listed in list.dnswl.org]
 -0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
                             [212.227.126.131 listed in wl.mailspike.net]
  0.5 RCVD_IN_SORBS_SPAM     RBL: SORBS: sender is a spam source
                             [212.227.126.131 listed in dnsbl.sorbs.net]
  1.1 TRACKER_ID             BODY: Incorporates a tracking ID number
X-Debbugs-Envelope-To: 24844
Cc: 24844 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.6 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  On 01.11.2016 19:45, Eli Zaretskii wrote: >> From: Andreas
    Röhler <andreas.roehler@HIDDEN> Date: Tue, 1 Nov >> 2016 12:23:24
   +0100 Docstring of electric-newline-and-maybe-indent >> says "Insert a newline.
    If `electric-indent-mode' is enabled, that's >> that, but if it is *disabled*
    then additionally indent according to >> major mode...." I.e disabling `electric-indent-mode'
    will cause >> electric indent? > Where does it say that the additional indent
    is electric? It isn't. [...] 
 
 Content analysis details:   (1.6 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  0.5 RCVD_IN_SORBS_SPAM     RBL: SORBS: sender is a spam source
                             [212.227.126.131 listed in dnsbl.sorbs.net]
 -0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
                             [212.227.126.131 listed in wl.mailspike.net]
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at http://www.dnswl.org/, no
                             trust
                             [212.227.126.131 listed in list.dnswl.org]
  1.1 TRACKER_ID             BODY: Incorporates a tracking ID number



On 01.11.2016 19:45, Eli Zaretskii wrote:
>> From: Andreas Röhler <andreas.roehler@HIDDEN> Date: Tue, 1 Nov 
>> 2016 12:23:24 +0100 Docstring of electric-newline-and-maybe-indent 
>> says "Insert a newline. If `electric-indent-mode' is enabled, that's 
>> that, but if it is *disabled* then additionally indent according to 
>> major mode...." I.e disabling `electric-indent-mode' will cause 
>> electric indent? 
> Where does it say that the additional indent is electric? It isn't.

Understand "electric" just as a kind of joint --or additional-- action. 
Wrong?

>> Is this sane? 
> It is to me. Did you look at the code?

No, the experience was concludent with docu.

In haskell-mode at EOL:

factors :: Int -> [Int]

C-j calls

electric-newline-and-maybe-indent

and indents wrongly - there is nothing to indent.

BTW why electric-newline? Isn't the indent the electric action?

In order to avoid the wrong indent, have to enable electric-indent-mode 
- doesn't make sense for me.






Information forwarded to bug-gnu-emacs@HIDDEN:
bug#24844; Package emacs. Full text available.

Message received at 24844 <at> debbugs.gnu.org:


Received: (at 24844) by debbugs.gnu.org; 1 Nov 2016 18:45:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 01 14:45:41 2016
Received: from localhost ([127.0.0.1]:39317 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1c1e45-0000Gf-8Y
	for submit <at> debbugs.gnu.org; Tue, 01 Nov 2016 14:45:41 -0400
Received: from eggs.gnu.org ([208.118.235.92]:49981)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1c1e42-0000GR-OS
 for 24844 <at> debbugs.gnu.org; Tue, 01 Nov 2016 14:45:38 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1c1e3u-0007Wk-He
 for 24844 <at> debbugs.gnu.org; Tue, 01 Nov 2016 14:45:33 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43473)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1c1e3u-0007WY-ES; Tue, 01 Nov 2016 14:45:30 -0400
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4318
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1c1e3t-0007gp-Mk; Tue, 01 Nov 2016 14:45:30 -0400
Date: Tue, 01 Nov 2016 20:45:45 +0200
Message-Id: <8360o7nina.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Andreas =?utf-8?Q?R=C3=B6hler?= <andreas.roehler@HIDDEN>
In-reply-to: <26aa22df-e823-a222-9a1f-183b4fcc4c1b@HIDDEN> (message
 from Andreas =?utf-8?Q?R=C3=B6hler?= on Tue, 1 Nov 2016 12:23:24 +0100)
Subject: Re: bug#24844: 26.0.50; electric-newline-and-maybe-indent
References: <26aa22df-e823-a222-9a1f-183b4fcc4c1b@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -7.5 (-------)
X-Debbugs-Envelope-To: 24844
Cc: 24844 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -7.5 (-------)

> From: Andreas Röhler <andreas.roehler@HIDDEN>
> Date: Tue, 1 Nov 2016 12:23:24 +0100
> 
> Docstring of electric-newline-and-maybe-indent says
> 
> 
> "Insert a newline.
> If `electric-indent-mode' is enabled, that's that, but if it
> is *disabled* then additionally indent according to major mode...."
> 
> I.e disabling `electric-indent-mode' will cause electric indent?

Where does it say that the additional indent is electric?  It isn't.

> Is this sane?

It is to me.

Did you look at the code?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#24844; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 1 Nov 2016 11:15:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 01 07:15:28 2016
Received: from localhost ([127.0.0.1]:38595 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1c1X2O-0001Th-M6
	for submit <at> debbugs.gnu.org; Tue, 01 Nov 2016 07:15:28 -0400
Received: from eggs.gnu.org ([208.118.235.92]:50348)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <andreas.roehler@HIDDEN>) id 1c1X2M-0001TU-Ac
 for submit <at> debbugs.gnu.org; Tue, 01 Nov 2016 07:15:26 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <andreas.roehler@HIDDEN>) id 1c1X2G-0005d6-G5
 for submit <at> debbugs.gnu.org; Tue, 01 Nov 2016 07:15:21 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_40,RCVD_IN_SORBS_SPAM
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:57526)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <andreas.roehler@HIDDEN>)
 id 1c1X2G-0005d2-Cz
 for submit <at> debbugs.gnu.org; Tue, 01 Nov 2016 07:15:20 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:41319)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <andreas.roehler@HIDDEN>) id 1c1X2F-0004WL-FD
 for bug-gnu-emacs@HIDDEN; Tue, 01 Nov 2016 07:15:20 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <andreas.roehler@HIDDEN>) id 1c1X2B-0005Zr-Dx
 for bug-gnu-emacs@HIDDEN; Tue, 01 Nov 2016 07:15:19 -0400
Received: from mout.kundenserver.de ([212.227.126.187]:50745)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <andreas.roehler@HIDDEN>)
 id 1c1X2B-0005ZZ-45
 for bug-gnu-emacs@HIDDEN; Tue, 01 Nov 2016 07:15:15 -0400
Received: from [192.168.178.35] ([77.12.121.53]) by mrelayeu.kundenserver.de
 (mreue001) with ESMTPSA (Nemesis) id 0MLnvv-1c2MFO0o55-000q4a for
 <bug-gnu-emacs@HIDDEN>; Tue, 01 Nov 2016 12:15:13 +0100
To: bug-gnu-emacs@HIDDEN
From: =?UTF-8?Q?Andreas_R=c3=b6hler?= <andreas.roehler@HIDDEN>
Subject: 26.0.50; electric-newline-and-maybe-indent
Message-ID: <26aa22df-e823-a222-9a1f-183b4fcc4c1b@HIDDEN>
Date: Tue, 1 Nov 2016 12:23:24 +0100
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101
 Icedove/45.4.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K0:LN6JtP9JavvoQt/VVxPLTxgnE086rwucfqrUEivrzdI+tP1p9DD
 KN4CgE8ddJ4K1m6sHK9U3JvCixQRAXi72a+sfNIqzH9doNQUIEfKZGkaBlUNa6xVe+QEQQr
 IuUV+KIaUErlefvQKabNxtXo3w5N/K8XXxhxvjU0h1/3BZ4RwXkWIjfGocrhfrsQtQwU19t
 KFedIHpNxe++MgQereBeQ==
X-UI-Out-Filterresults: notjunk:1;V01:K0:LiaJ3SXhlwY=:3C2k06KBR3kLZoZTEw5tGo
 t01dZhQFfTyDhYxC1e0fjDoYPRHtYkPRx9XpH1qvo8k7OIo3wdqnF3V8aExmAWDzCBUb+xZV1
 Y4rg1RJ59b2QVaBo5/lpEW+oGc2AaMX9C3+GYxp5Bx84Ms1ZNdpLbe2UYTb3BCc9vu1jpK9+/
 aBM5xEK03L7ZvFH+Gwj2u+cdrQi1EuObOfBTvT0O3rGnB/TLi8+4up8G/DR6/QnDS61Ul8AY8
 MDkU3V1JnTVLIITYbPf6JLMmXYvVZIc+OXoRw9GukeWfavh+eblSlCC3bXwjFyIp0F5EkWJu7
 hslHEZXKEwbjf2sUbRgPwVNILDedDSzoifq+EeKPs2yXahXjs4xpoXL/nbLcFU5HX1eiEoHeJ
 M0E3P7CccE/fSRrHa7svkfUJbmT9g6DXBzdm+HabYP+f1teyQsrY2ta+XZcCghYpCMFg5RMWu
 WqWJRrufjxZ+AGfpB3waxc6h/LLnn8LuOmlEekbM5A/q/G5Lf8t+qpa5LdP1m+NMAaxfusFbN
 ek1HFfv58pSGWZrkh49bPThsA1e2UiEI6CtjdqdhTxXdMxuEB7nzB0jjGZFHX5zAKHD7SuVNr
 36XvVijtw2DgvsN5TX7pMuNVENjFSvUYhHTLOO5EkTTtoYNwCfrCxDPcXuJOku1cZo70DKPyA
 9Nq/ijqW/exuzlusu9uyQiGctZPt7RprDNIYhfmhYCh+bqIHPuW+G8FEcySkzzZwt28WcTgAS
 ahQEMl2Vij9YkAHY
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.5 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.5 (----)

Docstring of electric-newline-and-maybe-indent says


"Insert a newline.
If `electric-indent-mode' is enabled, that's that, but if it
is *disabled* then additionally indent according to major mode...."

I.e disabling `electric-indent-mode' will cause electric indent?

Is this sane?

Cheers,

Andreas






Acknowledgement sent to Andreas Röhler <andreas.roehler@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#24844; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 1 Nov 2016 20:15:02 UTC

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