all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: Re: compile-goto-error
Date: Tue, 16 Nov 2004 16:57:41 +0200	[thread overview]
Message-ID: <87u0rp96ze.fsf@jurta.org> (raw)
In-Reply-To: <16793.51302.8017.652311@farnswood.snap.net.nz> (Nick Roberts's message of "Tue, 16 Nov 2004 22:29:09 +1300")

Nick Roberts <nickrob@snap.net.nz> writes:
> When I'm looking at compile errors, I tend to visit the one I find most
> interesting first. The compilation window then places this error at the top of
> the window. If I now want to visit an earlier one, I have to page back down. I
> am guessing this behaviour was provided so that it was clear which error was
> the current one. Now that the overlay arrow points to the current error, at
> least on a graphics terminal, would it be possible not to move the window

(setq compilation-context-lines nil)

> (or possibly move the error to the centre of the compilation window)

(setq compilation-context-lines (/ (window-height) 2))

> so that the user can still see the other errors around the
> current one?

I don't like the current default value too.  But I'm not sure which
one would satisfy most users.  Any integer value other than 0 was
found to be too distracting.  Changing the default to `nil' would
require an additional check to make sure that fringe arrow is visible.

-- 
Juri Linkov
http://www.jurta.org/emacs/

  reply	other threads:[~2004-11-16 14:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-16  9:29 compile-goto-error Nick Roberts
2004-11-16 14:57 ` Juri Linkov [this message]
2004-11-16 16:55   ` compile-goto-error Stefan Monnier

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

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

  git send-email \
    --in-reply-to=87u0rp96ze.fsf@jurta.org \
    --to=juri@jurta.org \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.