unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Bozhidar Batsov <bozhidar@batsov.com>
To: Bois Francois-Xavier <fxbois@gmail.com>
Cc: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Re: new faces
Date: Mon, 24 Mar 2014 23:31:49 +0200	[thread overview]
Message-ID: <CAM9Zgm2siHUcZEo5XaLqR_U4SLQjfff80fwvBwTeaH84Ur89Gg@mail.gmail.com> (raw)
In-Reply-To: <CAK1xyPPbrMDef_LyA8eseSUBasbhhyXVDyDhbQG2m-A=govbRg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1079 bytes --]

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 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.

[-- Attachment #2: Type: text/html, Size: 1476 bytes --]

  reply	other threads:[~2014-03-24 21:31 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-24 20:26 new faces Bois Francois-Xavier
2014-03-24 20:32 ` Dov Grobgeld
2014-03-25 10:09   ` Sebastien Vauban
2014-03-25 10:25     ` Dov Grobgeld
2014-03-24 20:48 ` Stefan
2014-03-24 21:08   ` Bois Francois-Xavier
2014-03-24 21:31     ` Bozhidar Batsov [this message]
2014-03-25  1:23     ` Stefan
2014-03-24 21:51   ` Daniel Colascione
2014-03-25  1:25     ` Stefan
2014-03-25  7:26       ` Bois Francois-Xavier
2014-03-25  7:29       ` Daniel Colascione
2014-03-25 13:13         ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAM9Zgm2siHUcZEo5XaLqR_U4SLQjfff80fwvBwTeaH84Ur89Gg@mail.gmail.com \
    --to=bozhidar@batsov.com \
    --cc=emacs-devel@gnu.org \
    --cc=fxbois@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).