From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Redisplaying text in both display margins? Date: Mon, 01 Feb 2021 17:02:30 +0200 Message-ID: <837dnr7rw9.fsf@gnu.org> References: <87a6t546pl.fsf@bydasein.com> <8335yx7y8s.fsf@gnu.org> <01e529e1bfecb8e32c9d737ebfd26140@bydasein.com> <83v9biz7z8.fsf@gnu.org> <1988b5e0c0dc5dbd9638aeaad0bc284f@bydasein.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31129"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "Paul W. Rankin" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 01 16:05:50 2021 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 1l6aly-0007yZ-8G for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 01 Feb 2021 16:05:50 +0100 Original-Received: from localhost ([::1]:59942 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6alx-0007ZS-9v for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 01 Feb 2021 10:05:49 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60590) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6aiN-0004hx-1P for help-gnu-emacs@gnu.org; Mon, 01 Feb 2021 10:02:07 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53640) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6aiM-0003Ma-Ig; Mon, 01 Feb 2021 10:02:06 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1640 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l6aiL-0003bV-41; Mon, 01 Feb 2021 10:02:05 -0500 In-Reply-To: <1988b5e0c0dc5dbd9638aeaad0bc284f@bydasein.com> (pwr@bydasein.com) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.help:127526 Archived-At: > Date: Mon, 01 Feb 2021 17:04:34 +1000 > From: "Paul W. Rankin" > Cc: Eli Zaretskii , help-gnu-emacs@gnu.org > > Can I work on the assumption this commit will be included in `(<= 28 > emacs-major-version)'? Yes. What is now the master branch will become Emacs 28.1. > Is there likely to be any workaround or alternate approach to make a > string display similarly aligned in the left display margin in Emacs < > 28? I'm trying to keep as much functionality as possible all the way > back to 24.4. The only way I know of is to make sure the text on which you put the display property is never too close to the right edge of the window. The bug was that the display engine considered the X coordinate of the buffer text in the text area when it made the decision whether to decrease the width of the string displayed in the margin. > (Btw I am off-list, if you can reply-all I would much appreciate it!) I will try to remember, but I cannot promise, as I always reply only to the list in this case, without thinking. (I almost blew it this time.)