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 13:02:16 +0200 Message-ID: <2cc4b8db-7df9-290d-08dd-044504f9c46f@easy-emacs.de> References: <87ef2pj5uh.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="12735"; 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 13:01:10 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 1hnhgJ-00038Y-RW for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Jul 2019 13:01:07 +0200 Original-Received: from localhost ([::1]:55900 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hnhgI-0002rr-Pv for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Jul 2019 07:01:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35804) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hnhgF-0002rW-IH for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2019 07:01:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hnhgE-0007p4-HH for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2019 07:01:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42780) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hnhgE-0007oy-Dj for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2019 07:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hnhgE-0001ZS-6q for bug-gnu-emacs@gnu.org; Wed, 17 Jul 2019 07:01:02 -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 11:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36702 X-GNU-PR-Package: emacs Original-Received: via spool by 36702-submit@debbugs.gnu.org id=B36702.15633612225928 (code B ref 36702); Wed, 17 Jul 2019 11:01:02 +0000 Original-Received: (at 36702) by debbugs.gnu.org; 17 Jul 2019 11:00:22 +0000 Original-Received: from localhost ([127.0.0.1]:51598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnhfa-0001XY-By for submit@debbugs.gnu.org; Wed, 17 Jul 2019 07:00:22 -0400 Original-Received: from mout.kundenserver.de ([212.227.126.133]:33319) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnhfY-0001XC-2i for 36702@debbugs.gnu.org; Wed, 17 Jul 2019 07:00:21 -0400 Original-Received: from [192.168.178.39] ([87.123.193.26]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1M2Nm2-1hjq302EzW-003xM5; Wed, 17 Jul 2019 13:00:12 +0200 In-Reply-To: <87ef2pj5uh.fsf@tcd.ie> Content-Language: en-US X-Provags-ID: V03:K1:t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v0WQL4B 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:163232 Archived-At: On 17.07.19 12:47, Basil L. Contovounesios wrote: > Andreas Röhler writes: > >> have an auto-fill-function set in a mode. >> >> When testing, noticed that  this auto-fill-function was called by  `newline` >> even if  no auto-fill-mode. > Making auto-fill-function non-nil is effectively the same as enabling > auto-fill-mode. > >> See definition of newline from simple.el, line 22: >> >> (auto-fill-function (if arg nil auto-fill-function)) >> >> IMO there is also a docu bug, as this auto-filling is switched of by any arg >> >> whilst docu says: With ARG, insert that many newlines -- which sounds unrelated >> if filling. > I don't see a documentation bug, as the behaviour you see is documented > in both docstrings and the Elisp manual. > > 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? It inserts a newline in an empty buffer. May that condition being matched then?