From: Glen Stark <mail@glenstark.net>
To: help-gnu-emacs@gnu.org
Subject: Re: hl-line-mode inside *compilation* buffer
Date: Wed, 04 Mar 2015 19:28:28 GMT [thread overview]
Message-ID: <w1JJw.159105$oh1.151460@fx01.am4> (raw)
In-Reply-To: mailman.1302.1425481423.31049.help-gnu-emacs@gnu.org
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
next prev parent reply other threads:[~2015-03-04 19:28 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
[not found] ` <mailman.1302.1425481423.31049.help-gnu-emacs@gnu.org>
2015-03-04 19:28 ` Glen Stark [this message]
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='w1JJw.159105$oh1.151460@fx01.am4' \
--to=mail@glenstark.net \
--cc=help-gnu-emacs@gnu.org \
/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).