From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Francesco =?UTF-8?Q?Potort=C3=AC?= Newsgroups: gmane.emacs.bugs Subject: bug#25435: 25.1; auto-fill-mode is enabled with 1, disabled with 0 Date: Fri, 13 Jan 2017 15:23:15 +0100 Message-ID: References: <87ziivay40.fsf@linux-m68k.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Trace: blaine.gmane.org 1484317479 19496 195.159.176.226 (13 Jan 2017 14:24:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 13 Jan 2017 14:24:39 +0000 (UTC) Cc: 25435@debbugs.gnu.org To: Andreas Schwab Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 13 15:24:35 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cS2m2-0002y8-Fc for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Jan 2017 15:24:10 +0100 Original-Received: from localhost ([::1]:41493 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cS2m7-0004X8-2r for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Jan 2017 09:24:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55742) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cS2ly-0004WZ-Bm for bug-gnu-emacs@gnu.org; Fri, 13 Jan 2017 09:24:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cS2lu-0008Rh-GA for bug-gnu-emacs@gnu.org; Fri, 13 Jan 2017 09:24:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36803) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cS2lu-0008RW-Bu for bug-gnu-emacs@gnu.org; Fri, 13 Jan 2017 09:24:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cS2lu-0004aB-69 for bug-gnu-emacs@gnu.org; Fri, 13 Jan 2017 09:24:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Francesco =?UTF-8?Q?Potort=C3=AC?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Jan 2017 14:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25435 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25435-submit@debbugs.gnu.org id=B25435.148431740317564 (code B ref 25435); Fri, 13 Jan 2017 14:24:02 +0000 Original-Received: (at 25435) by debbugs.gnu.org; 13 Jan 2017 14:23:23 +0000 Original-Received: from localhost ([127.0.0.1]:52202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cS2lH-0004ZE-JI for submit@debbugs.gnu.org; Fri, 13 Jan 2017 09:23:23 -0500 Original-Received: from blade3.isti.cnr.it ([194.119.192.19]:19525) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cS2lG-0004Z4-JK for 25435@debbugs.gnu.org; Fri, 13 Jan 2017 09:23:23 -0500 Original-Received: from tucano.isti.cnr.it ([146.48.81.102]) by mx.isti.cnr.it (PMDF V6.5-x6 #1251) with ESMTPSA id <01Q9N2CQWLSEDBI2EM@mx.isti.cnr.it> for 25435@debbugs.gnu.org; Fri, 13 Jan 2017 15:23:20 +0100 (MET) Original-Received: from pot by tucano.isti.cnr.it with local (Exim 4.88) (envelope-from ) id 1cS2lD-0002u7-Cj; Fri, 13 Jan 2017 15:23:19 +0100 In-reply-to: <87ziivay40.fsf@linux-m68k.org> X-INSM-ip-source: 146.48.81.102 Auth Done X-fingerprint: 4B02 6187 5C03 D6B1 2E31 7666 09DF 2DC9 BE21 6115 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: 208.118.235.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:128073 Archived-At: >On Jan 13 2017, Francesco Potortì wrote: >> Contrary to the docs, auto-fill-mode called programmatically is enabled >> with arg 1 and disabled with arg 0. > >In which way is that contradicting the docs? The only case that is >missing is that 'toggle toggles. In the help string, I read: -- With a prefix argument ARG, enable Auto Fill mode if ARG is positive, and disable it otherwise. If called from Lisp, enable the mode if ARG is omitted or nil. -- I read it as meaning that (auto-fill-mode) ; turns the mode on (auto-fill-mode nil) ; turns the mode on while everything else turns it off, but (auto-fill-mode 'off) ; does not turn it off If the behaviour is the intended one, then probably the doc string should be amended to add the word "Additionally" at the beginning of the second sentence, like this: With a prefix argument ARG, enable Auto Fill mode if ARG is positive, and disable it otherwise. Additionally, if called from Lisp, enable the mode if ARG is omitted or nil.