unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Compilation mode scroll control
       [not found] <kvfm76eijx2vjr4aixjumvpn2kiksoomflasb34szba2lbkyut.ref@apdxoecxrhel>
@ 2024-05-15 13:29 ` Ergus
  2024-05-17 16:00   ` Daniel Martín
  0 siblings, 1 reply; 2+ messages in thread
From: Ergus @ 2024-05-15 13:29 UTC (permalink / raw)
  To: help-gnu-emacs

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?

Best,
Ergus



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Compilation mode scroll control
  2024-05-15 13:29 ` Compilation mode scroll control Ergus
@ 2024-05-17 16:00   ` Daniel Martín
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Martín @ 2024-05-17 16:00 UTC (permalink / raw)
  To: Ergus; +Cc: help-gnu-emacs

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.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-05-17 16:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <kvfm76eijx2vjr4aixjumvpn2kiksoomflasb34szba2lbkyut.ref@apdxoecxrhel>
2024-05-15 13:29 ` Compilation mode scroll control Ergus
2024-05-17 16:00   ` Daniel Martín

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