From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Copley Newsgroups: gmane.emacs.bugs Subject: bug#13730: 24.3.50; Diff from Bzr-Log-View not highlighted Date: Sun, 17 Feb 2013 05:27:52 +0000 Message-ID: References: <511f773d.8665b40a.2af7.ffffa5d8@mx.google.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1361078898 24880 80.91.229.3 (17 Feb 2013 05:28:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Feb 2013 05:28:18 +0000 (UTC) To: 13730@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 17 06:28:40 2013 Return-path: Envelope-to: geb-bug-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 1U6wnl-0007H8-6i for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Feb 2013 06:28:37 +0100 Original-Received: from localhost ([::1]:43367 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6wnR-0006MX-Ad for geb-bug-gnu-emacs@m.gmane.org; Sun, 17 Feb 2013 00:28:17 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:51442) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6wnO-0006Ju-J4 for bug-gnu-emacs@gnu.org; Sun, 17 Feb 2013 00:28:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U6wnK-0006Nf-AT for bug-gnu-emacs@gnu.org; Sun, 17 Feb 2013 00:28:14 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54447) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6wnK-0006Na-62 for bug-gnu-emacs@gnu.org; Sun, 17 Feb 2013 00:28:10 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U6wo9-00020b-UU for bug-gnu-emacs@gnu.org; Sun, 17 Feb 2013 00:29:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Richard Copley Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Feb 2013 05:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13730 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo unreproducible Original-Received: via spool by 13730-submit@debbugs.gnu.org id=B13730.13610789307703 (code B ref 13730); Sun, 17 Feb 2013 05:29:01 +0000 Original-Received: (at 13730) by debbugs.gnu.org; 17 Feb 2013 05:28:50 +0000 Original-Received: from localhost ([127.0.0.1]:59911 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U6wnv-000208-Ci for submit@debbugs.gnu.org; Sun, 17 Feb 2013 00:28:48 -0500 Original-Received: from mail-ee0-f54.google.com ([74.125.83.54]:34435) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U6wnt-000200-3t for 13730@debbugs.gnu.org; Sun, 17 Feb 2013 00:28:46 -0500 Original-Received: by mail-ee0-f54.google.com with SMTP id c41so2449554eek.41 for <13730@debbugs.gnu.org>; Sat, 16 Feb 2013 21:27:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=gc1kGPEU27smjScu31qTVb2FN6k/FiCzK7Xlm4s8tso=; b=ArSzwjr1xHwv71VCHZ7bgQMfXxJ2HaTtacheACy+EXuPTOOwLGFuXTFBADFIhpuAEK L9CVVIKAWdXSQbRVm/XcAPPGDWC9LuBZPn9aeV412Tjf0ss2DyH6h0YXeMCFzE7VOPwW CxdOo1NnaHQ70Yx0PTvvpbtf/ITCj3PwhGT7q0b08xmKSCurGwzqS+49LsqAkLAKM2qC 16vflhWqu8kLm4mppEi3ex233x6aY7iUeHhb2yJ/U9XrVlCX6NO/ryc97me+170syow8 DqubtOlvVqZgOsjjwKroEWrPseH60rfU9fhOYlE8D9cx24q/O7OLZiN68lUtPlheiQEi XYog== X-Received: by 10.14.219.129 with SMTP id m1mr28491908eep.16.1361078872291; Sat, 16 Feb 2013 21:27:52 -0800 (PST) Original-Received: by 10.14.96.11 with HTTP; Sat, 16 Feb 2013 21:27:52 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:71425 Archived-At: > Unfortunately font-lock gets turned off in a change-major-mode-hook > function (font-lock-change-mode in "font-core.el"), which doesn't seem > to have been anticipated. Sorry, that's a red herring, it has nothing to do with font-lock-change-mode. Now that turning a minor mode off during a major mode function disables the corresponding global minor mode, turning the minor mode back on should re-enable the global minor mode, as in the patch below. (In Emacs trunk, whitespace mode is turned on in diff mode by a directory-local variable. Thus the function `whitepace-turn-on' is called from inside the diff-mode major mode function; but `whitespace-turn-on' turns font lock off and turns it back on again.) === modified file 'lisp/emacs-lisp/easy-mmode.el' *** lisp/emacs-lisp/easy-mmode.el 2013-02-15 20:01:51 +0000 --- lisp/emacs-lisp/easy-mmode.el 2013-02-17 05:18:06 +0000 *************** *** 461,468 **** ;; kill-all-local-variables. (defvar-local ,disable-MODE nil) (defun ,MODE-disable-in-buffer () ! (unless ,mode ! (setq ,disable-MODE t))) (put ',MODE-disable-in-buffer 'definition-name ',global-mode)))) ;;; --- 461,467 ---- ;; kill-all-local-variables. (defvar-local ,disable-MODE nil) (defun ,MODE-disable-in-buffer () ! (setq ,disable-MODE (not ,mode))) (put ',MODE-disable-in-buffer 'definition-name ',global-mode)))) ;;;