From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#36832: Supply option to suppress scrolling in compilation mode buffers. Date: Tue, 30 Jul 2019 15:59:37 +0000 Message-ID: <20190730155937.GD5427@ACM> References: <20190728203221.GD5072@ACM> <83tvb3imgb.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="266845"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.10.1 (2018-07-13) Cc: 36832@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 30 18:01:22 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hsUYy-0017Dg-H7 for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jul 2019 18:01:20 +0200 Original-Received: from localhost ([::1]:34250 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsUYx-0004Lk-BC for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Jul 2019 12:01:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48735) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsUXk-00032h-7X for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2019 12:00:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hsUXj-0004ZI-2o for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2019 12:00:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42238) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hsUXi-0004YE-Up for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2019 12:00:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hsUXi-0001JX-PH for bug-gnu-emacs@gnu.org; Tue, 30 Jul 2019 12:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Jul 2019 16:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36832 X-GNU-PR-Package: emacs Original-Received: via spool by 36832-submit@debbugs.gnu.org id=B36832.15645023844995 (code B ref 36832); Tue, 30 Jul 2019 16:00:02 +0000 Original-Received: (at 36832) by debbugs.gnu.org; 30 Jul 2019 15:59:44 +0000 Original-Received: from localhost ([127.0.0.1]:51059 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsUXP-0001IV-V9 for submit@debbugs.gnu.org; Tue, 30 Jul 2019 11:59:44 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:25161 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1hsUXN-0001IM-O9 for 36832@debbugs.gnu.org; Tue, 30 Jul 2019 11:59:42 -0400 Original-Received: (qmail 93726 invoked by uid 3782); 30 Jul 2019 15:07:09 -0000 Original-Received: from acm.muc.de (p4FE15868.dip0.t-ipconnect.de [79.225.88.104]) by colin.muc.de (tmda-ofmipd) with ESMTP; Tue, 30 Jul 2019 17:07:08 +0200 Original-Received: (qmail 18250 invoked by uid 1000); 30 Jul 2019 15:59:37 -0000 Content-Disposition: inline In-Reply-To: <83tvb3imgb.fsf@gnu.org> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:164118 Archived-At: Hello, Eli. On Tue, Jul 30, 2019 at 18:14:28 +0300, Eli Zaretskii wrote: > > Date: Sun, 28 Jul 2019 20:32:21 +0000 > > From: Alan Mackenzie > > I propose enhancing the customisation variable compilation-context-lines > > with the extra value t meaning "never scroll the compilation mode buffer". > With this setting, how would the user know which error line is the > "current" one, whose source is displayed above? Either by remembering it (she's just hit on it, after all), or by doing C-x o to move to that line, then C-x o to move back again. The new option is intended for users who find being reminded of the current error line less important than being able to see the error lines above the current one "in context". A possible modification would be to highlight the current line in the compilation mode buffer, but that's beginning to feel like a lot of work for a feature which might not really be wanted by anybody. This is an option, a non-default option, one which nobody is forced to use. Having hacked it up a couple of days ago, I find it less stressful to use than the setting where the buffer jumps when I hit on it. -- Alan Mackenzie (Nuremberg, Germany).