From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bozhidar Batsov Newsgroups: gmane.emacs.devel Subject: Re: new faces Date: Mon, 24 Mar 2014 23:31:49 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c2903c9bbae304f560f639 X-Trace: ger.gmane.org 1395696707 13035 80.91.229.3 (24 Mar 2014 21:31:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Mar 2014 21:31:47 +0000 (UTC) Cc: "emacs-devel@gnu.org" To: Bois Francois-Xavier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 24 22:31:57 2014 Return-path: Envelope-to: ged-emacs-devel@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 1WSCTN-0003Qm-5u for ged-emacs-devel@m.gmane.org; Mon, 24 Mar 2014 22:31:57 +0100 Original-Received: from localhost ([::1]:38450 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSCTM-0006h4-Lo for ged-emacs-devel@m.gmane.org; Mon, 24 Mar 2014 17:31:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSCTJ-0006gv-2G for emacs-devel@gnu.org; Mon, 24 Mar 2014 17:31:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WSCTH-0002hJ-72 for emacs-devel@gnu.org; Mon, 24 Mar 2014 17:31:53 -0400 Original-Received: from mail-oa0-x234.google.com ([2607:f8b0:4003:c02::234]:47050) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSCTH-0002gh-1c for emacs-devel@gnu.org; Mon, 24 Mar 2014 17:31:51 -0400 Original-Received: by mail-oa0-f52.google.com with SMTP id l6so6434480oag.25 for ; Mon, 24 Mar 2014 14:31:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=khMqJg9mXkBR9OLJjLAmguUcjc9luISNYx64qvwTvmc=; b=aSAALp43CTxGJ1tMUiwK4Xxx+ZmQS7ApFEKgeb+FHfXginzpJNiGMlWCBN//ODA0F5 VYGHgh6ev9vtspvNI0Sn08NK/MpOmUzPtOXzff061TcNkRzRE4Y38Lw2vv+N8G82Kj8f rRVRow1R8+CRBsrUXj9dx/r3GLHGVDBapdvVZGdAq4Pi8g7y+scKosUXAYI9pscnfsv8 VaQXZCYbG51/doGnYFR3uaihW6rf+vQ36lihfgmTOmjP+/tW7+hCiFz6nXl2N5kvQwyF VsGjEg7I5gq6/DbhF4wFGPFyreCahgSkVVfareAHkshWb8TyT8U/V2zTc9cXquH1/oh5 JaSQ== X-Received: by 10.182.28.134 with SMTP id b6mr28963653obh.27.1395696709906; Mon, 24 Mar 2014 14:31:49 -0700 (PDT) Original-Received: by 10.76.95.194 with HTTP; Mon, 24 Mar 2014 14:31:49 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: EhZsgYVAuVl_loq98xRPu8sVJV4 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c02::234 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:170934 Archived-At: --001a11c2903c9bbae304f560f639 Content-Type: text/plain; charset=UTF-8 On Monday, March 24, 2014, Bois Francois-Xavier wrote: > > > font-lock-tag-name-face > > > font-lock-tag-bracket-face > > > > These seem very HTML specific, so not really appropriate for > font-lock-*-face. > > > > I am thinking of markdown, apache-mode, wiki/ini-mode, org-mode (not > sure for this one), and of course all the xml/html modes > > > > > > font-lock-attr-name-face > > > > This one probably corresponds to "argument names", so in Lisp it could > > be used for keyword symbols. IOW I'm OK with adding such a face. > > > > > font-lock-attr-value-face > > > > AFAIK an attribute value is an expression, so I'm not sure why we'd want > > to give it a special face. I guess it's another way to say that this is > > also too HTML-specific to make much sense for font-lock-*-face. > > > > > font-lock-symbol-face > > > > I have no idea what this one is, neither for HTML nor for any other mode. > > I was thinking of this kind of syntax (with js or ruby) > > {symbolX: "aa", symbolY: 123} Can be used for Lisp's keyword type (:something) as well. --001a11c2903c9bbae304f560f639 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

On Monday, March 24, 2014, Bois Francois-Xavier <fxbois@gmail.com> wrote:
> > font-lock-tag-name-face
> > font-lock-tag-bracket-face
>
> These seem very HTML specific, so not really appropriate for font-lock= -*-face.
>

I am thinking of markdown, apache-mode, wiki/ini-mode, org-mode (not
sure for this one), and of course all the xml/html modes

>
> > font-lock-attr-name-face
>
> This one probably corresponds to "argument names", so in Lis= p it could
> be used for keyword symbols. =C2=A0IOW I'm OK with adding such a f= ace.
>
> > font-lock-attr-value-face
>
> AFAIK an attribute value is an expression, so I'm not sure why we&= #39;d want
> to give it a special face. =C2=A0I guess it's another way to say t= hat this is
> also too HTML-specific to make much sense for font-lock-*-face.
>
> > font-lock-symbol-face
>
> I have no idea what this one is, neither for HTML nor for any other mo= de.

I was thinking of this kind of syntax (with js or ruby)

{symbolX: "aa", symbolY: 123}

Can= be used for Lisp's keyword type (:something) as well.=C2=A0=C2=A0 --001a11c2903c9bbae304f560f639--