[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#13819: 24.3.50; keywords args are no more font-locked
From: |
Thierry Volpiatto |
Subject: |
bug#13819: 24.3.50; keywords args are no more font-locked |
Date: |
Tue, 26 Feb 2013 19:50:18 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:
> Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:
>
>> "Drew Adams" <drew.adams@oracle.com> writes:
>>
>>>> >> looks like keywords args are no more font-locked:
>>>> >> e.g :group, :type, &optional etc...
>>>> >
>>>> > See bugs #13767 and #13755.
>>>>
>>>> Thanks Drew, found the last but not #13767.
>>>
>>> It is here - see the last part about `&optional'.
>>> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13767
>>
>> Ok thanks, got it on gmane too.
>
> Looks like the problem comes from this commit:
>
> ,----
> | commit 3885cfcaa8293ce29760022faeab6a8213a87827
> | Author: Stefan Monnier <monnier@iro.umontreal.ca>
> | Date: Sun Feb 17 11:58:12 2013 -0500
> `----
Modifying these regexps make `&optional', `:sources' etc... font-locked
again :-):
diff --git a/lisp/font-lock.el b/lisp/font-lock.el
index e5ce4db..de71cf5 100644
--- a/lisp/font-lock.el
+++ b/lisp/font-lock.el
@@ -2336,9 +2336,9 @@ in which C preprocessor directives are used. e.g.
`asm-mode' and
("`\\(\\(?:\\sw\\|\\s_\\)\\(?:\\sw\\|\\s_\\)+\\)'"
(1 font-lock-constant-face prepend))
;; Constant values.
- ("\\<:\\(?:\\sw\\|\\s_\\)+\\>" 0 font-lock-builtin-face)
+ (":\\(?:\\sw\\|\\s_\\)+" 0 font-lock-builtin-face)
;; ELisp and CLisp `&' keywords as types.
- ("\\<\\&\\(?:\\sw\\|\\s_\\)+\\>" . font-lock-type-face)
+ ("\\&\\(?:\\sw\\|\\s_\\)+" . font-lock-type-face)
;; ELisp regexp grouping constructs
((lambda (bound)
(catch 'found
--
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997
- bug#13819: 24.3.50; keywords args are no more font-locked, Thierry Volpiatto, 2013/02/26
- bug#13819: 24.3.50; keywords args are no more font-locked, Drew Adams, 2013/02/26
- bug#13819: 24.3.50; keywords args are no more font-locked, Thierry Volpiatto, 2013/02/26
- bug#13819: 24.3.50; keywords args are no more font-locked, Drew Adams, 2013/02/26
- bug#13819: 24.3.50; keywords args are no more font-locked, Thierry Volpiatto, 2013/02/26
- bug#13819: 24.3.50; keywords args are no more font-locked, Thierry Volpiatto, 2013/02/26
- bug#13819: 24.3.50; keywords args are no more font-locked,
Thierry Volpiatto <=
- bug#13819: 24.3.50; keywords args are no more font-locked, Thierry Volpiatto, 2013/02/26
- bug#13819: 24.3.50; keywords args are no more font-locked, Stefan Monnier, 2013/02/26
- bug#13819: 24.3.50; keywords args are no more font-locked, Thierry Volpiatto, 2013/02/26
- bug#13819: 24.3.50; keywords args are no more font-locked, Stefan Monnier, 2013/02/27
- bug#13819: 24.3.50; keywords args are no more font-locked, Thierry Volpiatto, 2013/02/27