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.bugs Subject: bug#37829: 27.0.50; Overlay behaviour changed without documentation. Date: Sun, 20 Oct 2019 15:01:20 +0300 Message-ID: <83d0er62y7.fsf@gnu.org> References: <87d0erssxl.wl-all_but_last@163.com> <83mudv65jd.fsf@gnu.org> <87tv83fz0n.fsf@gnus.org> <83h843644k.fsf@gnu.org> <87blubfxq9.fsf@gnus.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="103819"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 37829@debbugs.gnu.org, all_but_last@163.com To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 20 14:02:21 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 1iM9uc-000QoP-23 for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Oct 2019 14:02:18 +0200 Original-Received: from localhost ([::1]:60954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iM9uZ-0001l6-CS for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Oct 2019 08:02:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39338) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iM9uP-0001kP-SM for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2019 08:02:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iM9uO-0006s0-E7 for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2019 08:02:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45143) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iM9uO-0006ru-BD for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2019 08:02:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iM9uM-0000Ie-N0 for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2019 08:02:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Oct 2019 12:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37829 X-GNU-PR-Package: emacs Original-Received: via spool by 37829-submit@debbugs.gnu.org id=B37829.15715729011127 (code B ref 37829); Sun, 20 Oct 2019 12:02:02 +0000 Original-Received: (at 37829) by debbugs.gnu.org; 20 Oct 2019 12:01:41 +0000 Original-Received: from localhost ([127.0.0.1]:53964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iM9u1-0000I7-A6 for submit@debbugs.gnu.org; Sun, 20 Oct 2019 08:01:41 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58475) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iM9tz-0000Hu-4u for 37829@debbugs.gnu.org; Sun, 20 Oct 2019 08:01:39 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47453) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iM9tr-0006dT-CI; Sun, 20 Oct 2019 08:01:31 -0400 Original-Received: from [176.228.60.248] (port=2124 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iM9tp-0007rE-Me; Sun, 20 Oct 2019 08:01:30 -0400 In-reply-to: <87blubfxq9.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun, 20 Oct 2019 13:43:58 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:169799 Archived-At: > From: Lars Ingebrigtsen > Cc: all_but_last@163.com, 37829@debbugs.gnu.org > Date: Sun, 20 Oct 2019 13:43:58 +0200 > > Eli Zaretskii writes: > > > And doing this the opposite way makes no sense to me, it's in effect > > the same as removing the feature. > > I don't understand. Doing it the opposite way would be just as > expressive. The idea behind this feature was that most faces shall not be extended, so doing it the opposite way would mean we need to change the definitions of an unlimited number of faces, including those not in core. > > > This change breaks a lot of out-of-tree code. > > > > No, it doesn't break any code. It changes how display looks in some > > cases, so people are surprised at first. > > You may quibble, but changing the look this radically is breaking the > code for me. I suggest to run with it for some time, you may change your mind. It happened to many of us. > > For this particular bug report, why would someone expect the overlay's > > color to extend to the end of the line instead of affecting only the > > text that the overlay covers? > > Because that's the way Emacs has worked since forever: If you put a face > on a newline, then it'll extend to the end of the line. We considered that a side effect of the implementation. Many other applications don't do that. > We do that because that's the way we wanted the display to look. If we > didn't want that, we didn't put the face on the newline. Others said the exact opposite: that they want to be able to do that without having the face extended. Also, the automatic extension in Emacs 26 and before behaved inconsistently in GUI and text-mode frames, and even between different attributes (color vs underline, for example).