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 19:50:18 +0100 Organization: Emacs Helm Message-ID: <874ngy29lh.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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1361904686 1076 80.91.229.3 (26 Feb 2013 18:51:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 26 Feb 2013 18:51:26 +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 19:51:49 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 1UAPcv-0005AX-La for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Feb 2013 19:51:45 +0100 Original-Received: from localhost ([::1]:49426 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAPca-0005Vt-Tc for geb-bug-gnu-emacs@m.gmane.org; Tue, 26 Feb 2013 13:51:24 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50800) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAPcT-0005Vj-Qc for bug-gnu-emacs@gnu.org; Tue, 26 Feb 2013 13:51:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UAPcS-0004zP-F6 for bug-gnu-emacs@gnu.org; Tue, 26 Feb 2013 13:51:17 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46143) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAPcS-0004zE-2V for bug-gnu-emacs@gnu.org; Tue, 26 Feb 2013 13:51:16 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UAPe9-000326-Lo for bug-gnu-emacs@gnu.org; Tue, 26 Feb 2013 13:53:01 -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 18:53:01 +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.136190476011632 (code B ref -1); Tue, 26 Feb 2013 18:53:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Feb 2013 18:52:40 +0000 Original-Received: from localhost ([127.0.0.1]:51607 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UAPdl-00031U-5J for submit@debbugs.gnu.org; Tue, 26 Feb 2013 13:52:40 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39216) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UAPdg-00031K-AO for submit@debbugs.gnu.org; Tue, 26 Feb 2013 13:52:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UAPbu-0004ir-Fo for submit@debbugs.gnu.org; Tue, 26 Feb 2013 13:50:46 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:58989) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAPbu-0004in-94 for submit@debbugs.gnu.org; Tue, 26 Feb 2013 13:50:42 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50518) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAPbq-0005Rp-2g for bug-gnu-emacs@gnu.org; Tue, 26 Feb 2013 13:50:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UAPbl-0004eA-OX for bug-gnu-emacs@gnu.org; Tue, 26 Feb 2013 13:50:37 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:57405) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAPbl-0004dR-FN for bug-gnu-emacs@gnu.org; Tue, 26 Feb 2013 13:50:33 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UAPc3-0004kH-Dh for bug-gnu-emacs@gnu.org; Tue, 26 Feb 2013 19:50:51 +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 19:50:51 +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 19:50:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 50 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:5z4w0qqWceedXphatp+R2At+P/c= 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:71856 Archived-At: 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 -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997