all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Daniel Martín" <mardani29@yahoo.es>
To: Ergus <spacibba@aol.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Compilation mode scroll control
Date: Fri, 17 May 2024 18:00:13 +0200	[thread overview]
Message-ID: <m1zfsotomq.fsf@yahoo.es> (raw)
In-Reply-To: <kvfm76eijx2vjr4aixjumvpn2kiksoomflasb34szba2lbkyut@apdxoecxrhel> (Ergus's message of "Wed, 15 May 2024 15:29:01 +0200")

Ergus <spacibba@aol.com> writes:

> Hi:
>
> I in the compilation buffer when I press RET or C-o (compile-goto-error
> or compilation-display-error) the compilation buffer scrolls the
> selected candidate to the top.
>
> This applies to all related buffers like grep, or rgrep...
>
> Is there some way to avoid that?
>

That behavior depends on whether the compilation window has a left
fringe or not (for example, if you run Emacs in a text terminal), and on
the value of the variable compilation-context-lines.  You can set that
variable to t to make sure the message never scrolls to the top of the
window.



      reply	other threads:[~2024-05-17 16:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <kvfm76eijx2vjr4aixjumvpn2kiksoomflasb34szba2lbkyut.ref@apdxoecxrhel>
2024-05-15 13:29 ` Compilation mode scroll control Ergus
2024-05-17 16:00   ` Daniel Martín [this message]

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=m1zfsotomq.fsf@yahoo.es \
    --to=mardani29@yahoo.es \
    --cc=help-gnu-emacs@gnu.org \
    --cc=spacibba@aol.com \
    /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.