Subject: bug#18496: closed (Re: bug#18496: 24.4.50; RefTeX modes should use font-lock-face instead of face)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 21 Sep 2014 09:37:02 +0000

Your bug report

#18496: 24.4.50; RefTeX modes should use font-lock-face instead of face

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
18496: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18496
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#18496: 24.4.50; RefTeX modes should use font-lock-face instead of face
From: Tassilo Horn <[email-masked]>
To: Sebastian Wiesner <[email-masked]>
Cc: [email-masked]
Date: Sun, 21 Sep 2014 11:36:08 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Sebastian Wiesner <[email-masked]> writes:

> The following RefTeX modes should use the font-lock-face text property
> instead of face:
>
> - reftex-toc-mode
> - reftex-select-label-mode
> - reftex-select-bib-mode
>
> Using face directly breaks fontification if special minor modes are
> enabled that add extra fontification.

Indeed, thanks for the hint.

> On a related note, it seems as if these modes should probably inherit
> special-mode, shouldn't they?

Yes, right.

I've done both in revision 117907.

Thanks,
Tassilo

Subject: 24.4.50; RefTeX modes should use font-lock-face instead of face
From: Sebastian Wiesner <[email-masked]>
To: [email-masked]
Date: Thu, 18 Sep 2014 11:32:37 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

The following RefTeX modes should use the font-lock-face text property
instead of face:

- reftex-toc-mode
- reftex-select-label-mode
- reftex-select-bib-mode

Using face directly breaks fontification if special minor modes are
enabled that add extra fontification.

Originally reported for rainbow-delimiters, see
https://github.com/jlr/rainbow-delimiters/issues/31 and
https://github.com/jlr/rainbow-delimiters/pull/38

On a related note, it seems as if these modes should probably inherit
special-mode, shouldn't they?