From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 29d1c72: Introduce new value t for compilation-context-lines to eliminate scrolling Date: Sun, 25 Aug 2019 22:37:39 +0300 Message-ID: <838srhghoc.fsf@gnu.org> References: <20190825102322.19558.22771@vcs0.savannah.gnu.org> <20190825102323.5080620CD5@vcs0.savannah.gnu.org> <20190825190637.GE4724@ACM> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="81989"; mail-complaints-to="usenet@blaine.gmane.org" Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 25 21:37:56 2019 Return-path: Envelope-to: ged-emacs-devel@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 1i1yKq-000LBz-4H for ged-emacs-devel@m.gmane.org; Sun, 25 Aug 2019 21:37:56 +0200 Original-Received: from localhost ([::1]:47244 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i1yKo-0004HN-Ek for ged-emacs-devel@m.gmane.org; Sun, 25 Aug 2019 15:37:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40737) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i1yKh-0004H5-7T for emacs-devel@gnu.org; Sun, 25 Aug 2019 15:37:48 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53988) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1i1yKf-0003FU-Ni; Sun, 25 Aug 2019 15:37:45 -0400 Original-Received: from [176.228.60.248] (port=3288 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1i1yKe-0007bQ-EC; Sun, 25 Aug 2019 15:37:45 -0400 In-reply-to: <20190825190637.GE4724@ACM> (message from Alan Mackenzie on Sun, 25 Aug 2019 19:06:37 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:239558 Archived-At: > Date: Sun, 25 Aug 2019 19:06:37 +0000 > From: Alan Mackenzie > Cc: emacs-devel@gnu.org > > > 2- Why insert a prefix string (an "inserted arrow") instead of using > > a "regular overwriting arrow"? > > Because the overwriting arrow would obliterate the first two characters > of the file name. I actually tried this first, and it wasn't > satisfactory. This contrasts with another use of the overwriting arrow > in edebug, where (usually) only WS gets overwritten, and it is important > not to disturb the visible indentation. Did you consider to use the display margin instead? You can have an overlay display in the margin by putting a 'display' property on the overlay string. The advantage of using the margin is that it will keep the buffer text aligned.