X-Loop: help-debbugs@HIDDEN Subject: bug#24844: 26.0.50; electric-newline-and-maybe-indent Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= <andreas.roehler@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 01 Nov 2016 11:16:01 +0000 Resent-Message-ID: <handler.24844.B.14779989285689 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 24844 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 24844 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.14779989285689 (code B ref -1); Tue, 01 Nov 2016 11:16:01 +0000 Received: (at submit) by debbugs.gnu.org; 1 Nov 2016 11:15:28 +0000 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 From: Andreas =?UTF-8?Q?R=C3=B6hler?= <andreas.roehler@HIDDEN> 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-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
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Andreas =?UTF-8?Q?R=C3=B6hler?= <andreas.roehler@HIDDEN> Subject: bug#24844: Acknowledgement (26.0.50; electric-newline-and-maybe-indent) Message-ID: <handler.24844.B.14779989285689.ack <at> debbugs.gnu.org> References: <26aa22df-e823-a222-9a1f-183b4fcc4c1b@HIDDEN> X-Gnu-PR-Message: ack 24844 X-Gnu-PR-Package: emacs Reply-To: 24844 <at> debbugs.gnu.org Date: Tue, 01 Nov 2016 11:16:01 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 24844 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 24844: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D24844 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#24844: 26.0.50; electric-newline-and-maybe-indent Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 01 Nov 2016 18:46:02 +0000 Resent-Message-ID: <handler.24844.B24844.14780259411037 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 24844 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Andreas =?UTF-8?Q?R=C3=B6hler?= <andreas.roehler@HIDDEN> Cc: 24844 <at> debbugs.gnu.org Reply-To: Eli Zaretskii <eliz@HIDDEN> Received: via spool by 24844-submit <at> debbugs.gnu.org id=B24844.14780259411037 (code B ref 24844); Tue, 01 Nov 2016 18:46:02 +0000 Received: (at 24844) by debbugs.gnu.org; 1 Nov 2016 18:45:41 +0000 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> 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) 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-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: -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?
X-Loop: help-debbugs@HIDDEN Subject: bug#24844: 26.0.50; electric-newline-and-maybe-indent Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= <andreas.roehler@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 01 Nov 2016 19:36:02 +0000 Resent-Message-ID: <handler.24844.B24844.14780289076641 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 24844 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: 24844 <at> debbugs.gnu.org Received: via spool by 24844-submit <at> debbugs.gnu.org id=B24844.14780289076641 (code B ref 24844); Tue, 01 Nov 2016 19:36:02 +0000 Received: (at 24844) by debbugs.gnu.org; 1 Nov 2016 19:35:07 +0000 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 References: <26aa22df-e823-a222-9a1f-183b4fcc4c1b@HIDDEN> <8360o7nina.fsf@HIDDEN> From: Andreas =?UTF-8?Q?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 =?UTF-8?Q?R=F6hler?= <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-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 =?UTF-8?Q?R=F6hler?= <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.
X-Loop: help-debbugs@HIDDEN Subject: bug#24844: 26.0.50; electric-newline-and-maybe-indent Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 01 Nov 2016 20:09:02 +0000 Resent-Message-ID: <handler.24844.B24844.14780309119579 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 24844 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Andreas =?UTF-8?Q?R=C3=B6hler?= <andreas.roehler@HIDDEN> Cc: 24844 <at> debbugs.gnu.org Reply-To: Eli Zaretskii <eliz@HIDDEN> Received: via spool by 24844-submit <at> debbugs.gnu.org id=B24844.14780309119579 (code B ref 24844); Tue, 01 Nov 2016 20:09:02 +0000 Received: (at 24844) by debbugs.gnu.org; 1 Nov 2016 20:08:31 +0000 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> In-reply-to: <056414e7-d51d-4ce1-6ff3-aae30e213c74@HIDDEN> (message from Andreas =?UTF-8?Q?R=C3=B6hler?= on Tue, 1 Nov 2016 20:43:04 +0100) 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-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: -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.
X-Loop: help-debbugs@HIDDEN Subject: bug#24844: 26.0.50; electric-newline-and-maybe-indent Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= <andreas.roehler@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 01 Nov 2016 20:57:01 +0000 Resent-Message-ID: <handler.24844.B24844.147803380620367 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 24844 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: 24844 <at> debbugs.gnu.org Received: via spool by 24844-submit <at> debbugs.gnu.org id=B24844.147803380620367 (code B ref 24844); Tue, 01 Nov 2016 20:57:01 +0000 Received: (at 24844) by debbugs.gnu.org; 1 Nov 2016 20:56:46 +0000 Received: from localhost ([127.0.0.1]:39460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1c1g6w-0005IR-Cp for submit <at> debbugs.gnu.org; Tue, 01 Nov 2016 16:56:46 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:57007) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <andreas.roehler@HIDDEN>) id 1c1g6u-0005IB-MN for 24844 <at> debbugs.gnu.org; Tue, 01 Nov 2016 16:56:45 -0400 Received: from [192.168.178.35] ([77.12.121.53]) by mrelayeu.kundenserver.de (mreue101) with ESMTPSA (Nemesis) id 0MPp3a-1bxqcw3RFS-0052pO; Tue, 01 Nov 2016 21:56:37 +0100 References: <26aa22df-e823-a222-9a1f-183b4fcc4c1b@HIDDEN> <8360o7nina.fsf@HIDDEN> <056414e7-d51d-4ce1-6ff3-aae30e213c74@HIDDEN> <83y413m08r.fsf@HIDDEN> From: Andreas =?UTF-8?Q?R=C3=B6hler?= <andreas.roehler@HIDDEN> Message-ID: <1f09945c-b368-b6e6-2cc9-ae9bd10ca83e@HIDDEN> Date: Tue, 1 Nov 2016 22:04:46 +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: <83y413m08r.fsf@HIDDEN> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:DumvHkrkH+Uk4UKOXSpYHsWVT2uMi22gYvO5jz7GHgzzW16Cyy7 Lp/IdhXGy+O/yMJ8NFgpItcZzdWuCeGagBfbRc8NRgpFdlJ5y48Bv4fhHjE6Os4wsepytZ8 SAWC0UjqlJmEDpcCIrz47HZ8m9DHpeRXT4rqH5gN4ixtqRLeVHDuocN5+3WZTPrbHFTMzaU oN5ID80yTKpmkwojJjr9A== X-UI-Out-Filterresults: notjunk:1;V01:K0:UJ2XATmNkQw=:/cnB75zexEntMBtAufiHWQ TpF2XI5NQAw2M01uZ51TwRLz5Eq7X3DC+GOMH78DVoHyUeaSIZK5l8wRPfpHYPQnn4aP4qMr7 cCyciH/Drgn9jUrd7O7lzbtZciTbL+djIXGfatQPvSNJ5NAMqptn9rd2yw5XMQoKX4uEcHVRK 4xJZLN2KpUQQTOttpx7BZikFpMXaQxmY8GZoMZr3sJOzTfl9xukkDdWognSDf16NYe4Ur9KiO eHorY8NX3CNrLQO2kQcpmsjg7xxCT8uB9PLDsySnu3lIgzVwvC5Zqlhzs0OFsA5+V0LQRdgaE 3l/xJJT9FcUYyOCU/ZfwKV+InnwcUf8N4P4cIMziQTy/ym2lmXHaBULgHNUT9P9nQiUgyC1No 0nzwn/4Kn3aKoYDddSd54oaJhaKfohJo5FxQcwofNsZf1vg3bsb/9oCxhg1Eq5mdvXV6mjIrx thYdp/9QaYtR6YeNm6mjpy7g9TGzNUl7K9Pt8zhAkMp/o4QVm1QdPR0kA0WbwbjxK+N+u7kgb xFQX8hAdLjv6NIKMm/N04Yu9ggvDLauyNqSPeYW+QB+ZGGN6D51anVKfXyfkL84o7SylsYW9U 1LqLA+3vVtTOUXaWM8F5puqmDaCj09xfeRtRK3myXJD1mmR30FxvwJcd/JDTWbvI8trcgFXFW smo1mgbbsk79JTy/eclPDDz+NP1WkKt4Kpbfjl0348uo0osVuYsyoYncowmnkr2s06PWHbVbg IqFaWxnyRDWP32+q X-Spam-Score: -0.0 (/) 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: -0.0 (/) On 01.11.2016 21:08, Eli Zaretskii wrote: >> 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. Hmm, think there are two bugs. In electric-newline-and-maybe-indent switching the clauses should solve this one. Than, even an electric-indent should do nothing when not appropriate, second bug.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.