From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#13819: 24.3.50; keywords args are no more font-locked Date: Tue, 26 Feb 2013 20:43:37 +0100 Organization: Emacs Helm Message-ID: <87zjyqzwra.fsf@gmail.com> References: <87a9qrtmza.fsf@gmail.com> <464EDFB59ED744DF807105E5E291B5FD@us.oracle.com> <87hakzjduo.fsf@gmail.com> <86BEC28F7D4A4AF69D8BF19A08DEF389@us.oracle.com> <87d2vnjd0c.fsf@gmail.com> <878v6bjap0.fsf@gmail.com> <874ngy29lh.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1361907869 1475 80.91.229.3 (26 Feb 2013 19:44:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Feb 2013 19:44:29 +0000 (UTC) To: 13819@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 26 20:44:52 2013 Return-path: Envelope-to: geb-bug-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 1UAQSC-0004jE-Lc for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Feb 2013 20:44:44 +0100 Original-Received: from localhost ([::1]:48593 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAQRr-0001ms-Ss for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Feb 2013 14:44:23 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47405) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAQRo-0001mF-HJ for bug-gnu-emacs@gnu.org; Tue, 26 Feb 2013 14:44:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UAQRm-0004fx-Aq for bug-gnu-emacs@gnu.org; Tue, 26 Feb 2013 14:44:20 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46166) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAQRm-0004fk-5F for bug-gnu-emacs@gnu.org; Tue, 26 Feb 2013 14:44:18 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UAQTT-0004GE-SP for bug-gnu-emacs@gnu.org; Tue, 26 Feb 2013 14:46:04 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87a9qrtmza.fsf@gmail.com> Resent-From: Thierry Volpiatto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Feb 2013 19:46:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13819 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.136190795116349 (code B ref -1); Tue, 26 Feb 2013 19:46:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Feb 2013 19:45:51 +0000 Original-Received: from localhost ([127.0.0.1]:51628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UAQTG-0004Fd-Lo for submit@debbugs.gnu.org; Tue, 26 Feb 2013 14:45:51 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:35807) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UAQTC-0004FU-7u for submit@debbugs.gnu.org; Tue, 26 Feb 2013 14:45:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UAQRR-0004UI-7u for submit@debbugs.gnu.org; Tue, 26 Feb 2013 14:43:59 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:58159) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAQRR-0004UC-3s for submit@debbugs.gnu.org; Tue, 26 Feb 2013 14:43:57 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47126) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAQRO-0001Xi-N6 for bug-gnu-emacs@gnu.org; Tue, 26 Feb 2013 14:43:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UAQRL-0004QQ-Gm for bug-gnu-emacs@gnu.org; Tue, 26 Feb 2013 14:43:54 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:53349) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAQRL-0004Pe-B3 for bug-gnu-emacs@gnu.org; Tue, 26 Feb 2013 14:43:51 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UAQRd-0004St-NW for bug-gnu-emacs@gnu.org; Tue, 26 Feb 2013 20:44:09 +0100 Original-Received: from lbe83-2-78-243-104-167.fbx.proxad.net ([78.243.104.167]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Feb 2013 20:44:09 +0100 Original-Received: from thierry.volpiatto by lbe83-2-78-243-104-167.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 26 Feb 2013 20:44:09 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 70 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lbe83-2-78-243-104-167.fbx.proxad.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:j0um28ezJ1flbFWNhHuQKeLRBA4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:71858 Archived-At: Thierry Volpiatto writes: > Thierry Volpiatto writes: > >> Thierry Volpiatto writes: >> >>> "Drew Adams" 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 >> | 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 Even better is this one: diff --git a/lisp/font-lock.el b/lisp/font-lock.el index e5ce4db..9436012 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