From: Oliver Scholz <alkibiades@gmx.de>
Subject: Re: Face precedence
Date: Mon, 08 Nov 2004 09:29:33 +0100 [thread overview]
Message-ID: <873bzkkaky.fsf@ID-87814.user.uni-berlin.de> (raw)
In-Reply-To: mailman.1228.1099846667.8225.help-gnu-emacs@gnu.org
Matthew Calhoun <calhounm@mac.com> writes:
> El Nov 6, 2004, a las 11:31 PM, Oliver Scholz escribió:
>
[hl-line-mode face attributes not properly applied]
>> Is that
>> /everywhere/, where a face other than the default face is in the
>> buffer? Or does this apply only for a few faces? Or only in some
>> modes? If the latter: which mode?
>
> I see this when I'm using mmm-mode (Multiple Major Mode Mode) with
> html-helper and cperl as the two major modes in effect.
You were right. mmm-mode uses overlays and setting overlay priorities
seems to be the way to fix the problem. I can reproduce something
along the lines of what you described, when I specify a mmm-submode
region *after* I turned hl-line-mode on.
Shooting from the hips, this seems to fix it:
(add-hook 'hl-line-mode-hook
(lambda ()
(overlay-put hl-line-overlay
'priority most-positive-fixnum)))
Oliver
--
18 Brumaire an 213 de la Révolution
Liberté, Egalité, Fraternité!
next prev parent reply other threads:[~2004-11-08 8:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.281.1099431126.8225.help-gnu-emacs@gnu.org>
2004-11-06 7:01 ` Face precedence Oliver Scholz
2004-11-06 18:13 ` Matthew Calhoun
[not found] ` <mailman.1102.1099775064.8225.help-gnu-emacs@gnu.org>
2004-11-07 7:31 ` Oliver Scholz
2004-11-07 16:48 ` Matthew Calhoun
[not found] ` <mailman.1228.1099846667.8225.help-gnu-emacs@gnu.org>
2004-11-08 8:29 ` Oliver Scholz [this message]
2004-11-02 21:23 Matthew Calhoun
[not found] <mailman.6011.1099067730.2017.help-gnu-emacs@gnu.org>
2004-10-29 21:53 ` Oliver Scholz
-- strict thread matches above, loose matches on Subject: below --
2004-10-29 16:26 Matthew Calhoun
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=873bzkkaky.fsf@ID-87814.user.uni-berlin.de \
--to=alkibiades@gmx.de \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).