From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: use faces on the mode-line for compile.el Date: Sun, 24 Feb 2008 12:53:13 -0800 Message-ID: <200802242053.m1OKrDPR007533@sallyv1.ics.uci.edu> References: <200802232359.m1NNxFpa025055@sallyv1.ics.uci.edu> <87hcfy45iv.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1203886582 15217 80.91.229.12 (24 Feb 2008 20:56:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 Feb 2008 20:56:22 +0000 (UTC) Cc: emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 24 21:56:47 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JTNth-0005C0-Og for ged-emacs-devel@m.gmane.org; Sun, 24 Feb 2008 21:56:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JTNtB-0006aJ-TJ for ged-emacs-devel@m.gmane.org; Sun, 24 Feb 2008 15:56:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JTNt6-0006Zn-Px for emacs-devel@gnu.org; Sun, 24 Feb 2008 15:55:56 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JTNt6-0006ZP-5s for emacs-devel@gnu.org; Sun, 24 Feb 2008 15:55:56 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JTNt5-0006ZK-V0 for emacs-devel@gnu.org; Sun, 24 Feb 2008 15:55:55 -0500 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1JTNt5-0005kr-9O for emacs-devel@gnu.org; Sun, 24 Feb 2008 15:55:55 -0500 X-ICS-MailScanner-Watermark: 1204491193.29037@W/BU0W7RjWtrlB1+QOXYIA Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m1OKrDPR007533; Sun, 24 Feb 2008 12:53:13 -0800 (PST) In-Reply-To: <87hcfy45iv.fsf@jurta.org> (Juri Linkov's message of "Sun, 24 Feb 2008 19:40:21 +0200") Original-Lines: 32 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:90283 Archived-At: Juri Linkov writes: > > If the mode-line for the compilation buffer would be a bit more > > visible it would be easier to see if a compilation is still running > > (which is handy if you have compilations that take a long time and > > don't want to spend too much time checking if it's done). > > Also if the compilation fails it's nice to be able to see it faster. > > It can be seen with just the peripheral vision, or from farther away > > from the screen. > > I think it would be more useful if the result message displayed > in the minibuffer was the same as at the end of the compilation > buffer, i.e. > > Compilation exited abnormally with code 1 at Sun Feb 24 19:36:34 > > The date part at the end of this message may be not necessary > when displayed in the minibuffer. That was just a debug leftover... > > A simple patch can accomplish the above. It uses > > font-lock-warning-face which is designed to be highly visible. > > What do you think about using a special compilation face > `compilation-error' that inherits from `font-lock-warning-face'? No opinion, feel free to change it if it works... > But maybe we should add a new face? We have enough faces, there should be a suitable one...