From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Thorpe Newsgroups: gmane.emacs.help Subject: Re: syntax highlighting Date: Mon, 17 Nov 2014 01:26:58 +0000 Message-ID: <87d28m1usd.fsf@robertthorpeconsulting.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1416187656 14879 80.91.229.3 (17 Nov 2014 01:27:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Nov 2014 01:27:36 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: M P Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 17 02:27:29 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 1XqB6G-00079P-Pc for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Nov 2014 02:27:28 +0100 Original-Received: from localhost ([::1]:45630 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqB6G-0001FD-2f for geh-help-gnu-emacs@m.gmane.org; Sun, 16 Nov 2014 20:27:28 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37327) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqB5x-0001Er-LZ for help-gnu-emacs@gnu.org; Sun, 16 Nov 2014 20:27:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XqB5p-0004wk-Ec for help-gnu-emacs@gnu.org; Sun, 16 Nov 2014 20:27:09 -0500 Original-Received: from outbound-smtp04.blacknight.com ([81.17.249.35]:39140) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XqB5p-0004wR-8p for help-gnu-emacs@gnu.org; Sun, 16 Nov 2014 20:27:01 -0500 Original-Received: from mail.blacknight.com (pemlinmail01.blacknight.ie [81.17.254.10]) by outbound-smtp04.blacknight.com (Postfix) with ESMTP id 426AA98398 for ; Mon, 17 Nov 2014 01:23:58 +0000 (UTC) Original-Received: (qmail 29492 invoked from network); 17 Nov 2014 01:26:59 -0000 Original-Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[109.76.106.236]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 17 Nov 2014 01:26:59 -0000 In-Reply-To: (message from M P on Sun, 16 Nov 2014 13:15:37 -0800 (PST)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 81.17.249.35 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:100976 Archived-At: M P writes: > Thanks, I had (global-font-lock-mode) which worked previously, > Mark Doing just M-x global-font-lock-mode toggles font-lock. That means that if it's off it's turned on and vice-versa. All of the global minor-modes work like that. As I understand it, this behaviour was found to be confusing in lisp programs. Anyway, now M-x global-xxx-mode still toggles, but in a lisp program (global-xxx-mode) now always means "turn function xxx on". BR, Robert Thorpe