From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: hl-line-mode inside *compilation* buffer Date: Wed, 4 Mar 2015 07:03:20 -0800 (PST) Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1425481455 8629 80.91.229.3 (4 Mar 2015 15:04:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Mar 2015 15:04:15 +0000 (UTC) To: Glen Stark , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 04 16:03:55 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 1YTAq3-0001hU-LC for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Mar 2015 16:03:55 +0100 Original-Received: from localhost ([::1]:44603 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTAq2-0002dE-VC for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Mar 2015 10:03:54 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36985) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTApp-0002cm-98 for help-gnu-emacs@gnu.org; Wed, 04 Mar 2015 10:03:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTApk-0001c2-8y for help-gnu-emacs@gnu.org; Wed, 04 Mar 2015 10:03:41 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:31436) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTApk-0001b0-38 for help-gnu-emacs@gnu.org; Wed, 04 Mar 2015 10:03:36 -0500 Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t24F3OkD029506 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 4 Mar 2015 15:03:24 GMT Original-Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t24F3NjI008326 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 4 Mar 2015 15:03:24 GMT Original-Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by userz7022.oracle.com (8.14.5+Sun/8.14.4) with ESMTP id t24F3N55019821; Wed, 4 Mar 2015 15:03:23 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 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:103015 Archived-At: > 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. >=20 > 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'. =20 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.