From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Davis Herring Newsgroups: gmane.emacs.devel Subject: Re: compilation-mode, face, font-lock-face Date: Thu, 2 Feb 2017 12:31:57 -0700 Organization: XCP-1 Message-ID: References: <86bmuk27bv.fsf@stephe-leake.org> <87tw8ckdxo.fsf@drachen> <867f581qwq.fsf@stephe-leake.org> <9900a3e7-0c34-47ed-92df-e822e7089859@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1486063965 27527 195.159.176.226 (2 Feb 2017 19:32:45 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 2 Feb 2017 19:32:45 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 Cc: Stephen Leake , emacs-devel To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 02 20:32:42 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cZN7Z-00070e-0R for ged-emacs-devel@m.gmane.org; Thu, 02 Feb 2017 20:32:41 +0100 Original-Received: from localhost ([::1]:58602 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cZN7e-0004S9-KN for ged-emacs-devel@m.gmane.org; Thu, 02 Feb 2017 14:32:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cZN71-0004QM-1I for emacs-devel@gnu.org; Thu, 02 Feb 2017 14:32:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cZN6w-0003PQ-3c for emacs-devel@gnu.org; Thu, 02 Feb 2017 14:32:07 -0500 Original-Received: from proofpoint4.lanl.gov ([2001:400:4210:400::a4]:51433) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cZN6v-0003MT-RT for emacs-devel@gnu.org; Thu, 02 Feb 2017 14:32:02 -0500 Original-Received: from mailrelay1.lanl.gov (mailrelay1.lanl.gov [128.165.4.101]) by mailgate4.lanl.gov (8.15.0.59/8.15.0.59) with ESMTP id v12JVvWZ009262; Thu, 2 Feb 2017 12:31:57 -0700 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by mailrelay1.lanl.gov (Postfix) with ESMTP id 83E3B145025F; Thu, 2 Feb 2017 12:31:57 -0700 (MST) X-NIE-2-Virus-Scanner: amavisd-new at mailrelay1.lanl.gov Original-Received: from bismuth.lanl.gov (bismuth.lanl.gov [128.165.246.103]) by mailrelay1.lanl.gov (Postfix) with ESMTP id 6E3EC145025E; Thu, 2 Feb 2017 12:31:57 -0700 (MST) In-Reply-To: <9900a3e7-0c34-47ed-92df-e822e7089859@default> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.15.154, 1.0.8, 0.0.0000 definitions=2017-02-02_12:2017-02-01, 2017-02-02, 1970-01-01 signatures=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 2001:400:4210:400::a4 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:211888 Archived-At: > 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.