unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Davis Herring <herring@lanl.gov>
To: Drew Adams <drew.adams@oracle.com>
Cc: Stephen Leake <stephen_leake@stephe-leake.org>,
	emacs-devel <emacs-devel@gnu.org>
Subject: Re: compilation-mode, face, font-lock-face
Date: Thu, 2 Feb 2017 12:31:57 -0700	[thread overview]
Message-ID: <a250c4ff-6574-7d13-e330-74b412847e1e@lanl.gov> (raw)
In-Reply-To: <9900a3e7-0c34-47ed-92df-e822e7089859@default>

> OK, I can understand that if there is no display then there
> _cannot_ be any font-locking, so the `noninteractive' test
> makes sense, I guess.

Even that is questionable -- there are many (unfortunate) situations in 
which font-lock is used to apply syntactically meaningful properties to 
the text that might then be used by Lisp programs.  It's fine if 
font-lock skips configuring the lack of display, of course, and it could 
be OK for it to skip setting the face property (since a program that 
depended on examining it could be said to be broken).  But even then, 
what if a non-interactive Emacs is supposed to be running tests of 
font-lock itself?

Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or 
too sparse, it is because mass-energy conversion has occurred during 
shipping.



  reply	other threads:[~2017-02-02 19:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-02 10:52 compilation-mode, face, font-lock-face Stephen Leake
2017-02-02 11:52 ` Michael Heerdegen
2017-02-02 16:47   ` Stephen Leake
2017-02-02 17:33     ` Drew Adams
2017-02-02 19:31       ` Davis Herring [this message]
2017-02-02 20:43         ` Anders Lindgren

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=a250c4ff-6574-7d13-e330-74b412847e1e@lanl.gov \
    --to=herring@lanl.gov \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=stephen_leake@stephe-leake.org \
    /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).