From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#19300: 24.4.51; visual-line-mode messes up after-string rendering when it spans all window columns Date: Mon, 08 Dec 2014 18:04:38 +0200 Message-ID: <83r3waxh49.fsf@gnu.org> References: <86a92zhved.fsf@yandex.ru> <834mt6ztva.fsf@gnu.org> <54857A0B.7020704@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1418054727 21988 80.91.229.3 (8 Dec 2014 16:05:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Dec 2014 16:05:27 +0000 (UTC) Cc: 19300@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 08 17:05:19 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Xy0oJ-0000CZ-Gk for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Dec 2014 17:05:19 +0100 Original-Received: from localhost ([::1]:34722 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xy0oI-0001lC-Jr for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Dec 2014 11:05:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39936) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xy0o9-0001ea-8P for bug-gnu-emacs@gnu.org; Mon, 08 Dec 2014 11:05:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xy0o3-0000vB-U5 for bug-gnu-emacs@gnu.org; Mon, 08 Dec 2014 11:05:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60607) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xy0o3-0000tu-PF for bug-gnu-emacs@gnu.org; Mon, 08 Dec 2014 11:05:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Xy0o1-000116-Tt for bug-gnu-emacs@gnu.org; Mon, 08 Dec 2014 11:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Dec 2014 16:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19300 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19300-submit@debbugs.gnu.org id=B19300.14180546933891 (code B ref 19300); Mon, 08 Dec 2014 16:05:01 +0000 Original-Received: (at 19300) by debbugs.gnu.org; 8 Dec 2014 16:04:53 +0000 Original-Received: from localhost ([127.0.0.1]:57820 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xy0ns-00010h-WA for submit@debbugs.gnu.org; Mon, 08 Dec 2014 11:04:53 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:49082) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xy0nq-00010X-Gi for 19300@debbugs.gnu.org; Mon, 08 Dec 2014 11:04:51 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NG900C00TU1WB00@a-mtaout21.012.net.il> for 19300@debbugs.gnu.org; Mon, 08 Dec 2014 18:04:48 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NG900CSITZZTD10@a-mtaout21.012.net.il>; Mon, 08 Dec 2014 18:04:48 +0200 (IST) In-reply-to: <54857A0B.7020704@yandex.ru> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:96997 Archived-At: > Date: Mon, 08 Dec 2014 12:14:35 +0200 > From: Dmitry Gutov > CC: 19300@debbugs.gnu.org > > On 12/08/2014 05:46 AM, Eli Zaretskii wrote: > > > Please explain what exactly is not right about the results. > > visual-line-mode doesn't understand the text it renders, it just > > breaks lines at whitespace. What would you expect it to do instead in > > this use case? > > I'd expect the text not to be broken, because the `after-string' text > already includes newlines visual-line-mode doesn't care about newlines, when the stuff before the newline overflows the window width. > and the length of each line there equals to the value reported by > (window-width). Not here: I need to resize a bit the windows showing the overlays, in order to see something similar to your images. > Without overlays, even when visual-line-mode is enabled, I can make a > window body 34 chars wide and type 34 characters (maybe including > spaces) on a line without seeing them break up. Are you saying that if you insert your test-string-1 and test-string-2 into the respective windows as buffer text, you see them displayed differently than the overlay in the same window? If so, I cannot reproduce this: I see both the overlay and the buffer text wrap exactly identically.