From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Andreas =?UTF-8?Q?R=C3=B6hler?= Newsgroups: gmane.emacs.bugs Subject: bug#36702: 27.0.50; newline: don't auto-fill regardless of auto-fill-mode Date: Wed, 17 Jul 2019 15:38:30 +0200 Message-ID: <1440ccd1-2fbb-4f49-4b08-eb01d4b47e06@easy-emacs.de> References: <87ef2pj5uh.fsf@tcd.ie> <2cc4b8db-7df9-290d-08dd-044504f9c46f@easy-emacs.de> <87ims0hmxb.fsf@tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="133957"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux i686; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 Cc: 36702@debbugs.gnu.org To: "Basil L. Contovounesios" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 17 15:37:11 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hnk7L-000Yk8-Jo for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Jul 2019 15:37:11 +0200 Original-Received: from localhost ([::1]:57218 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hnk7J-0002NS-Jj for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Jul 2019 09:37:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53465) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hnk7E-0002Bj-CN for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2019 09:37:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hnk7D-0007AI-DV for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2019 09:37:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42900) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hnk7D-0007A3-A4 for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2019 09:37:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hnk7D-0005V7-6D for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2019 09:37:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 17 Jul 2019 13:37:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36702 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 36702-submit@debbugs.gnu.org id=B36702.156337060221105 (code B ref 36702); Wed, 17 Jul 2019 13:37:03 +0000 Original-Received: (at 36702) by debbugs.gnu.org; 17 Jul 2019 13:36:42 +0000 Original-Received: from localhost ([127.0.0.1]:51719 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnk6r-0005UL-Lv for submit@debbugs.gnu.org; Wed, 17 Jul 2019 09:36:41 -0400 Original-Received: from mout.kundenserver.de ([217.72.192.75]:56973) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnk6o-0005U6-2Z for 36702@debbugs.gnu.org; Wed, 17 Jul 2019 09:36:38 -0400 Original-Received: from [192.168.178.39] ([87.123.193.26]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MS4ab-1htYzG0myZ-00TWhq; Wed, 17 Jul 2019 15:36:29 +0200 In-Reply-To: <87ims0hmxb.fsf@tcd.ie> Content-Language: en-US X-Provags-ID: V03:K1:HL4kTUcG2ZswtXwZNC+Ezt6G6eKYfRoiQmp87BSND55dB8INnZ3 CbR8fD2FCDXUdGr2up7zysqP0QLLcKwlxHkAi0wYVTVBP+UdpcssTgchli+r2Tqw21tNJon 1329uNXPByEomOxaNmHjaPoxNbZ8BzBH3UduVZsqexbfjnVeK2y/VrhwRwNpQPBH/mu+s+U THQW3ZB3cpC4i2xSgoS+Q== X-UI-Out-Filterresults: notjunk:1;V03:K0:eK8KsSJJvSw=:p1GRSJx34eTCWNwBrYS+Ow t1iAQCMG/ghsDm1Yb4jhEdHWx8qCqyvBPmfcLWjabDOUUktvgGb4see843KBl+RV8ZPlOegh3 OTaOX169d5StbqmFDBeYdZ8bBJtArXKP/oEJyqaVNfVKM35bzDvpwZfP3H4KogHcfPpUzoxVx L1W29/p7aqpL6btFvuwC9CbBWXbjE1no4VJID3YPpm49LomtsWoHb5oactqTCy/EmnYw3Op0V fhw7sr+iE0EBGUOU6TlDpowTof1IDfMmlbfhN5Gy6DIMVF+tCGlDPjqpIDhN+jrwpQph7BIIH fg0zvlS/6ij8SysQ/uafgkE7LhkpTU0r0gnLGGQJrWfubweVRASQA0ZaMibhoi4wiw4Uehd1v M1PGlMQKvzCeSsZqJPmhFFmyK7mX0BTLcZQFCSYB8qRXSHVQncY0HHyuuKQa9azoXt0mmfcgd vijXwssCk93RrxftR4lR8dzQDdOB914hadgT7oCYexiA1QgLRI9S/ywZO5lqdyBVcswqqWxgy GTdKoKkHpQeL5UXrOUSaKe7OAMONgrQ+wDt6Iz0i08kSIrEoILhPeTeajNpGao+2lvW+RC9nW WlC8RsRR+TD+nDiZHwKkja3pO3aIys+5kcqjIr881uDJeR3QWHf28yiFdLmoUVm8fVjlIEDFC vPOX2Qho9sYZun0SaTtJHBqT/G285by794GpMPWjXHvbOQmKZxVJUjyaTE8tCIJczo6wLO+vS 6dNEKyic3S+uHlgmypJFXYcDDwfYJk5qEM1VuA+tw37IxhTvj3FOmckjeUIbNJLP3GoU1lba X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:163241 Archived-At: On 17.07.19 14:21, Basil L. Contovounesios wrote: > severity 36702 minor > found 36702 26.2.90 > tags 36702 + patch > quit > > Andreas Röhler writes: > >> On 17.07.19 12:47, Basil L. Contovounesios wrote: >> >>> The docstring of newline says: >>> >>> Calls `auto-fill-function' if the current column number is greater >>> than the value of `fill-column' and ARG is nil. >> Did you try the test-function delivered? > Yes. > >> It inserts a newline in an empty buffer. >> >> May that condition being matched then? > Ah, are you referring to the condition that the current column number be > greater than fill-column? This condition is enforced by the default > value of normal-auto-fill-function when auto-fill-mode is enabled, > namely do-auto-fill. A different auto-fill-function mightn't enforce > it. > > In general, there are multiple conditions guarding calls to > auto-fill-function (see e.g. internal-auto-fill and > internal_self_insert), and I'm not sure the docstring of newline is the > right place to discuss these things. From my point of view it's not that much about the docu but about the design. Users should not be forced to add an extra argument to prevent auto-fill when it is about a newline. > How's the following clarification > for emacs-26 instead? > > See above.