From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glen Stark Newsgroups: gmane.emacs.help Subject: Re: hl-line-mode inside *compilation* buffer Date: Wed, 04 Mar 2015 19:28:28 GMT Organization: Easynews - www.easynews.com Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1425497422 29621 80.91.229.3 (4 Mar 2015 19:30:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Mar 2015 19:30:22 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 04 20:30:19 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YTEzr-0001Eh-6W for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Mar 2015 20:30:19 +0100 Original-Received: from localhost ([::1]:46499 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTEzq-0003jC-D2 for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Mar 2015 14:30:18 -0500 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!eu.feeder.erje.net!news.roellig-ltd.de!open-news-network.org!cyclone03.ams2.highwinds-media.com!news.highwinds-media.com!voer-me.highwinds-media.com!peer03.am1!peering.am1!npeersf04.am4!fx01.am4.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) Original-Lines: 59 Original-X-Complaints-To: abuse@easynews.com X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly. X-Received-Body-CRC: 415113790 X-Received-Bytes: 3484 Original-Xref: usenet.stanford.edu gnu.emacs.help:210744 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:103022 Archived-At: On Wed, 04 Mar 2015 07:03:20 -0800, Drew Adams wrote: >> I would like to have the current error in the compilation buffer be >> highlighted. Currently I get a little triangle in the left hand side >> of the window, which my old eyes have a hard time finding. >> >> I'd also be okay with making the triangle bigger, or more colorful. > > I don't understand what you want. If others do, and you get a good > answer, then please ignore this. > > For me, `hl-line-mode' highlights the current line - all of it, > including in a compilation buffer. By "current" line, I mean (and I > assume you mean) the line of the cursor. I don't see any little > triangle in the left fringe. > > --- > > If instead you mean that you want the entire line to be highlighted when > you *move the mouse over it*, then you can get that effect by loading > libraries `compile-.el' and `compile+.el'. > > Library `compile-.el' makes the face used for this be just an underline, > by default, so it is not too distracting. And library `compile+.el' > makes compilation use this face for mouseover highlighting, instead of > face `highlight'. You will likely want to also set option > `compilation-message-face' to nil (so that the underlining is used only > for mouseover). > > These libraries are available on Emacs Wiki and MELPA. Hi. Thanks for trying. Let me try to explain my need more clearly. I have a split frame. Left window is code, right window is results of the compile command. I get a bunch of warnings and/or errors. I do a few (next-error) commands. If I switch windows into *compile* window and turn on hl-line-mode, it highlights the line where the cursor is at. Now I do next-error again. In my emacs (maybe it's theme related?) I see a little triangle in the left fringe of the *compile* window. The little triangle at the edge of the window moves to the next error, and my cursor jumps to the next error, but the highlighted region of the *compile* window is still the line that was highlighted when my cursor was over there. If I swap windows the highlighted region then updates to show the current error, but I'd like that to happen without switching windows all the time. What I want is a quick way to track what the current error being pointed to in the *compile* window is. hl-line-mode would be awesome, but making that triangle indicator bigger or bolder or more colorful would work too. The problem is it takes my eyes too long to track what the current error message associated with point is. Any ideas? thanks, Glen