From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bruno =?UTF-8?B?RsOpbGl4?= Rezende Ribeiro Newsgroups: gmane.emacs.help Subject: Re: syntax highlighting Date: Mon, 17 Nov 2014 12:53:12 -0200 Organization: The GNU Project Message-ID: <20141117125312.1c835e6e@freedom-laptop> References: <87d28m1usd.fsf@robertthorpeconsulting.com> <20141116220147423535443@bob.proulx.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1416236037 12461 80.91.229.3 (17 Nov 2014 14:53:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Nov 2014 14:53:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 17 15:53:50 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XqNga-0000LQ-AM for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Nov 2014 15:53:48 +0100 Original-Received: from localhost ([::1]:48250 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqNgZ-00051D-VW for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Nov 2014 09:53:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51687) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqNgJ-00050t-Vp for help-gnu-emacs@gnu.org; Mon, 17 Nov 2014 09:53:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XqNgE-00081p-Kw for help-gnu-emacs@gnu.org; Mon, 17 Nov 2014 09:53:31 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42296) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqNgE-00081l-IL for help-gnu-emacs@gnu.org; Mon, 17 Nov 2014 09:53:26 -0500 Original-Received: from [177.106.155.59] (port=60237 helo=freedom-laptop) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1XqNgD-0005vw-Av for help-gnu-emacs@gnu.org; Mon, 17 Nov 2014 09:53:26 -0500 In-Reply-To: <20141116220147423535443@bob.proulx.com> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; mipsel-unknown-linux-gnu) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:100990 Archived-At: Em Sun, 16 Nov 2014 22:04:18 -0700 Bob Proulx escreveu: > However for font lock mode it takes an optional argument. >=20 > (global-font-lock-mode 0) >=20 > The docs say: >=20 > (global-font-lock-mode &optional ARG) >=20 > Toggle Font-Lock mode in all buffers. > With prefix ARG, enable Global-Font-Lock mode if ARG is positive; > otherwise, disable it. If called from Lisp, enable the mode if > ARG is omitted or nil. >=20 > So giving it a 0 argument definitely turns it off and does not toggle > it. That docstring, and all the others describing minor mode (de)activation commands are somewhat ambiguous to me, because, as in math literature, "positive" could or not include the number '0', depending on author's definition. However, "strictly positive" always excludes zero, while "non-negative" always includes it. So, I think the latter would be a more appropriate term, instead of simply "positive".=20 Ps: Emacs developers, please, take this as a bug report ;-). --=20 ,=3D ,-_-. =3D. Bruno F=C3=A9lix Rezende Ribeiro (oitofelix) [0x28D618AF] ((_/)o o(\_)) There is no system but GNU; `-'(. .)`-' GNU Linux-Libre is one of its official kernels; \_/ All software must be free as in freedom;