|
From: | Davis Herring |
Subject: | Re: compilation-mode, face, font-lock-face |
Date: | Thu, 2 Feb 2017 12:31:57 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |