unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Glen Stark <mail@glenstark.net>, help-gnu-emacs@gnu.org
Subject: RE: hl-line-mode inside *compilation* buffer
Date: Wed, 4 Mar 2015 07:03:20 -0800 (PST)	[thread overview]
Message-ID: <c5dae9ed-d7ee-4be9-8dbc-f45821bc5aac@default> (raw)
In-Reply-To: <HeEJw.141166$oh1.2013@fx01.am4>

> 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.



  reply	other threads:[~2015-03-04 15:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-04 14:01 hl-line-mode inside *compilation* buffer Glen Stark
2015-03-04 15:03 ` Drew Adams [this message]
     [not found] ` <mailman.1302.1425481423.31049.help-gnu-emacs@gnu.org>
2015-03-04 19:28   ` Glen Stark
2015-03-04 23:19     ` Michael Heerdegen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c5dae9ed-d7ee-4be9-8dbc-f45821bc5aac@default \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=mail@glenstark.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).