unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Abrahams <dave@boost-consulting.com>
Cc: emacs-devel@gnu.org
Subject: Re: "Recent" changes to compilation-mode?
Date: Mon, 23 May 2005 09:25:11 -0400	[thread overview]
Message-ID: <uzmumjcqw.fsf@boost-consulting.com> (raw)
In-Reply-To: <17040.64813.804833.286809@farnswood.snap.net.nz> (Nick Roberts's message of "Mon, 23 May 2005 09:44:13 +1200")

Nick Roberts <nickrob@snap.net.nz> writes:

>  > Second, next-error used to cause the error in question to scroll to
>  > the top of the *compilation* buffer's window, which made it very easy
>  > to see what was going on.  Now emacs just moves that buffer's point
>  > without scrolling.  Since the active point ends up in the source
>  > file's buffer where the error is, all I see change in the
>  > *compilation* buffer is that an unfilled rectangle with super-thin
>  > borders moves.  It's extremely hard to see; if the window isn't going
>  > to scroll, IMO something else needs to be done (e.g. with
>  > highlighting) to emphasize the error in question.
>
>
> When there is a fringe present, the default was changed to not scroll
> because the arrow points to the current error and errors immediately
> above the current one remain visible.
>
> When there is no fringe, the current error scrolls to the top of the
> *compilation* buffer's window.
>
> So you should either see an arrow or scrolling.  If you don't, you need
> to give your configuration.  M-x report-emacs-bug, also on the menu bar
> plus the value of fringe-mode and/or window-fringes is a good start.

Yeah, there's a tiny arrow there.  The problem is that the diagnostics
typically span several lines and are often quite dense, and the arrow
isn't quite enough to help me distinguish the boundaries of the
diagnostic being indicated by the arrow.  Would it be possible to add
some kind of highlighting to the current error, similar to what I get
when hovering the mouse over it?

> P.S  To always scroll to the top: (setq compilation-context-lines 0)

Ah, that will be a big help, thanks.  Not quite as good as
highlighting, but not bad.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

  reply	other threads:[~2005-05-23 13:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-22 11:37 "Recent" changes to compilation-mode? David Abrahams
2005-05-22 21:44 ` Nick Roberts
2005-05-23 13:25   ` David Abrahams [this message]
2005-05-25 16:55     ` Juri Linkov
     [not found] ` <E1DcDnj-0000PS-Ml@fencepost.gnu.org>
2005-06-01 16:54   ` David Abrahams
2005-06-03  8:02     ` Richard Stallman
     [not found]   ` <uhdgi10hu.fsf@boost-consulting.com>
     [not found]     ` <E1DdjNA-0005OT-Sv@fencepost.gnu.org>
2005-06-02 12:15       ` David Abrahams
2005-06-03 10:33         ` Richard Stallman

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=uzmumjcqw.fsf@boost-consulting.com \
    --to=dave@boost-consulting.com \
    --cc=emacs-devel@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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