From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Daniel_Mart=C3=ADn?= Newsgroups: gmane.emacs.help Subject: Re: Compilation mode scroll control Date: Fri, 17 May 2024 18:00:13 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10761"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: help-gnu-emacs@gnu.org To: Ergus Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 17 18:01:40 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s801b-0002Uq-5a for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 17 May 2024 18:01:39 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s800e-0002KM-5n; Fri, 17 May 2024 12:00:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s800M-0002Hl-14 for help-gnu-emacs@gnu.org; Fri, 17 May 2024 12:00:23 -0400 Original-Received: from sonic304-22.consmr.mail.ir2.yahoo.com ([77.238.179.147]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s800J-0000ca-SK for help-gnu-emacs@gnu.org; Fri, 17 May 2024 12:00:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1715961615; bh=JUoEU9qxE+0/O+731QsB0FT7ojRaXxssk2LAfBqI6tM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=GLdakcxUzTBUNa2UUglMWVsC2QyPuR1eko/rzhdKeSqcccr3w79+7j1lYqZtAETWw29mySVZ2U8s2TajNWep0iufsMbReKTaHDKu+FHacnt49WE2fM6G06XpibFVClGJEHsAPQLM/Qqmwt6ULIOdHSjlesneXDkEGWoQ32yLCTpePyfhmhl4z6Q/J8ZC4Gf/fB7oOuj2xZBajrwkA2+i/Y3SUG8+3mzPsm77MdZNBZM+LNmTTU8EutKjeEVT3EETasVKzGgFOntTQGX7m2jeojENuEIRupw4p/w4JMMPL6j7a3j8g4mqfbGOW08mxC8t03XNIB98/fNos5e0i+iB5Q== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1715961615; bh=pF4f9+Y4OkWxDgLJTzFbccPFLOw41RCC31kRLOiezqs=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=hhq8tb30Wex59oljynJIYyws3Nf9nkeszDvVCngR+UPiJx5Vf7VMQHLfMTIrVwPAtPoqVsRtRpAO5ER7FhVcxlirNi28NSyXjaw07wnTm129dVm4MP5Op9iQJMQsocUmVY5PLbsj1bjMk3qwIZulZYuMplT/4gQusRzAZNxYI5DZ0K4Ffi3fb/odB8EBJmEm7EptXAttHuGTef+2BQanHR5EWQ01un7qJ003UeAKStUO9JNss6BYULdf/Nliaam44PdtoH0PJWOdrKfKQGlNXkPp6zBRKwieM+aBqqSneEWN2NHA17ojyOEqnyDW24Q3lvAatUHf/GkAUWT5UzFD9Q== X-YMail-OSG: Z3Yi.CkVM1k.FRghJjAffKVUDD4IEtHi4R354WXAOBlgluwUD8nldFDg_HNqetB Qtoaat280s.vpY0RFqTaeKOugjl9tzuB_iS9xSz0axzyLGglrrqphCB7Lx6q1PYp_6ybUZN7pdl. cDFtiLSAXJ0Pk6SUIkc3GsSsht5MvMIoMzeb2tqc2QTeMLuCuSwajvIe5BVXAoii_X2y5mgr7VS4 XvVx0MDy92qYgbpej9XhvM4bZZ3KfYKaTp3kgh_6NPB5OwdBV28V217WmMJKN05vmNLnqUECWX6Y arXfbS5Sd6r3P76_Ui8yFVhIJAhSeVs5Qnh4abSdfmDl9XHqxuxPENrtBGYowD6gV9LZkJCEUkur _EhQrhLfR9O_hP1N3Z2AKz7MrConzfe1kqwheXjx9MZtXxz9RESFohMtw6135DxLI.UVTT7Ms4i0 Ikh1PohlyF02cKcCRVLYwQ8B9Jkuda9ovH2LT8POvoGnkVLtrUZYMwVYEvllqQ6EsQ42pLA711LI 8tRQv1zZBPFfeStYJV6N7G4FHtdX0NxjwN2rkxfbNMYf4asD806EkkwWOPBFOhbPlgV6k7qCOfa2 r0jg1Pg.t4TCgDKhz0AS91LPdcnXD_ygcMbo8Jtv9uKtqt9sIvjzdVc_.pzwYGuLNCHoMdg6MCnQ HzLY6nc3VGY2MlgLtlFTz5.tJJ7GgLn_QqtMKWs1q6a2gYv1OKhCAP2c9ui39o3IO3ZLs1MqYS3v pKqVeGBRGAtq2FqJarfodwYWYks06MKHOEcnGRaoiCZ.yk2NvWWoeQPjdr0y_RuU0tBJ1eoANjOV Z0nM.4RoiH74ISBelHJs8f5BhaVhr2UXRlIIW_Y0hA X-Sonic-MF: X-Sonic-ID: 6ba3834e-19ab-4ad3-a8d4-2d35a8db7564 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ir2.yahoo.com with HTTP; Fri, 17 May 2024 16:00:15 +0000 Original-Received: by hermes--production-ir2-7b99fc9bb6-94fjz (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 15c2238ae65cd9221da17f955a8f8e74; Fri, 17 May 2024 16:00:14 +0000 (UTC) In-Reply-To: (Ergus's message of "Wed, 15 May 2024 15:29:01 +0200") X-Mailer: WebService/1.1.22356 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=77.238.179.147; envelope-from=mardani29@yahoo.es; helo=sonic304-22.consmr.mail.ir2.yahoo.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:146777 Archived-At: Ergus 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.