From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Helm, global-rainbow-delimiters-mode and font-lock-unfontify-region Date: Tue, 23 Sep 2014 12:46:28 +0200 Message-ID: <87h9zyk41n.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1411469237 1541 80.91.229.3 (23 Sep 2014 10:47:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Sep 2014 10:47:17 +0000 (UTC) To: Emacs mailing list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 23 12:47:10 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 1XWNcj-0002Al-UE for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Sep 2014 12:47:10 +0200 Original-Received: from localhost ([::1]:52287 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWNcj-0005iw-H2 for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Sep 2014 06:47:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47379) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWNcP-0005fn-9v for help-gnu-emacs@gnu.org; Tue, 23 Sep 2014 06:46:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWNcH-000493-QV for help-gnu-emacs@gnu.org; Tue, 23 Sep 2014 06:46:49 -0400 Original-Received: from mout.web.de ([212.227.17.11]:61521) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWNcH-00047s-HE for help-gnu-emacs@gnu.org; Tue, 23 Sep 2014 06:46:41 -0400 Original-Received: from drachen.dragon ([90.186.68.203]) by smtp.web.de (mrweb101) with ESMTPSA (Nemesis) id 0MTy1N-1XerxQ2wIj-00QnMf; Tue, 23 Sep 2014 12:46:33 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-Provags-ID: V03:K0:VCTYDHhQ+z1q2MYS/NrrdpQmSxi/eFdTr+IvEfJYe5ZPfUcYN4w vfAkNPhQppbZDyNiKxa0xfFBfygihz7PNImhBPmJy+6SrMyVONMvEMEndDJ8fdnIIXYOhMb D0LpieHJelZ1mjowZtCsstXX6jiEcR9jbj+tQjL1Ejpwj03fZIOVcS+oSutrTa2AQBNi6VA 22qWq/r5/n/YhKajHYEEw== X-UI-Out-Filterresults: notjunk:1; X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.17.11 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:100105 Archived-At: Hello, what's the rationale of font-lock removing all face text properties? This is our problem: there is currently the following incompatibility issue with Helm and global-rainbow-delimiters-mode: Helm uses the face text property to colorize the completions buffer. It doesn't use font-lock-mode. Now, if you enable global-rainbow-delimiters-mode (and global-font-lock-mode) and complete with helm, the helm completions buffer completely appears in the default face. The problem is that rainbow-delimiers-mode works via font-lock. It calls `font-lock-add-keywords', which, at the very end, leads to a complete erasure of the whole helm buffer's face text properties: font-lock-unfontify-region(1 507) [...] font-lock-default-fontify-region(1 507 nil) funcall(font-lock-default-fontify-region 1 507 nil) font-lock-fontify-region(1 507) run-hook-with-args(font-lock-fontify-region 1 507) [...] jit-lock-fontify-now(1 501) jit-lock-function(1) redisplay_internal\ \(C\ function\)() My question: does one of the packages (Helm, rainbow-delimiters) do something wrong? What is the preferred way to handle such an issue - and at the end - which package should be fixed, and how? Thanks, Michael.