From: Michael Heerdegen <michael_heerdegen@web.de>
To: Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Helm, global-rainbow-delimiters-mode and font-lock-unfontify-region
Date: Tue, 23 Sep 2014 12:46:28 +0200 [thread overview]
Message-ID: <87h9zyk41n.fsf@web.de> (raw)
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.
reply other threads:[~2014-09-23 10:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87h9zyk41n.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.