From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov 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 20:47:02 +0200 Message-ID: <5485F226.2040104@yandex.ru> References: <86a92zhved.fsf@yandex.ru> <834mt6ztva.fsf@gnu.org> <54857A0B.7020704@yandex.ru> <83r3waxh49.fsf@gnu.org> <5485D484.3020704@yandex.ru> <83lhmixedt.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1418064510 6697 80.91.229.3 (8 Dec 2014 18:48:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Dec 2014 18:48:30 +0000 (UTC) Cc: 19300@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 08 19:48:23 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 1Xy3M4-00008t-5G for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Dec 2014 19:48:20 +0100 Original-Received: from localhost ([::1]:35514 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xy3M3-0005y7-Pn for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Dec 2014 13:48:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54151) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xy3Lt-0005xw-R0 for bug-gnu-emacs@gnu.org; Mon, 08 Dec 2014 13:48:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xy3Lm-0001z8-Aa for bug-gnu-emacs@gnu.org; Mon, 08 Dec 2014 13:48:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60777) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xy3Lm-0001yt-5o for bug-gnu-emacs@gnu.org; Mon, 08 Dec 2014 13:48:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Xy3Ll-0002CF-W1 for bug-gnu-emacs@gnu.org; Mon, 08 Dec 2014 13:48:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Dec 2014 18:48: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.14180644278369 (code B ref 19300); Mon, 08 Dec 2014 18:48:01 +0000 Original-Received: (at 19300) by debbugs.gnu.org; 8 Dec 2014 18:47:07 +0000 Original-Received: from localhost ([127.0.0.1]:57990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xy3Kt-0002Av-5j for submit@debbugs.gnu.org; Mon, 08 Dec 2014 13:47:07 -0500 Original-Received: from mail-wg0-f53.google.com ([74.125.82.53]:39016) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xy3Kq-0002Am-R8 for 19300@debbugs.gnu.org; Mon, 08 Dec 2014 13:47:05 -0500 Original-Received: by mail-wg0-f53.google.com with SMTP id l18so6916271wgh.40 for <19300@debbugs.gnu.org>; Mon, 08 Dec 2014 10:47:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=3kvrHKxHtShM7FVajKT/Ssv+OG/l1PKzKSdMbKmgZlA=; b=z5d3/bMGauf9ZVuXR8fbFHxqM9eGut+FC4yMQ0aPM/oPfwK+hwIAhM6Sa3wwIzXGj/ +1u0yyUaLdH71HbyXUrHH2DgXqJIgL4KgheIsbNAsnPor6IKIIzPPyjMe2QKOvAkj73K 526Ja98mOdouuwN1bzZlrJsAhv5BgWcdIQ6ecckjYOcKwyFIL4vYsFi2OkNbtcqLuoRI yhfXTB4n3pzp/rZPO7XKcNVU3bbvb9lx7qkeU0rMTcrwbYBY5D8AVO+Ayb9DCk2V87NP eOKRHFJutuEzKgTj/1VMWXNklIIfhkea8C3ZuXceFitn5IHUe8SZLbY6NKUs9C1+Gsb6 qFew== X-Received: by 10.194.122.34 with SMTP id lp2mr46334817wjb.91.1418064424215; Mon, 08 Dec 2014 10:47:04 -0800 (PST) Original-Received: from [192.168.0.185] (static-nbl2-118.cytanet.com.cy. [212.31.107.118]) by mx.google.com with ESMTPSA id j9sm25589078wjb.38.2014.12.08.10.47.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 08 Dec 2014 10:47:03 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 In-Reply-To: <83lhmixedt.fsf@gnu.org> 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:97016 Archived-At: On 12/08/2014 07:03 PM, Eli Zaretskii wrote: >> The scenarios intentionally resize the newly popped window to make sure >> it's the right size. > > I know. But facts are stubborn things: I still need to resize. Please don't, it invalidates the point of this bug report. >> But I can open a different window, enable visual-line-mode, take its >> (window-width), insert that numbers of characters on one line and not >> see them wrapped. > > Then please show a recipe for that. Do I need to? The fact that you don't see the problem when executing my scenario means that the above must always work well for you. >> Could this be a bug in `enlarge-window-horizontally' and/or `window-width'? > > Maybe, there's no way of guessing in advance. It could also be that > this particular font has some weird metrics in it. Could you suggest how to proceed debugging it? If you can't reproduce the problem with my scenario, can I send you some data from my session? I reproduce it with 100% probability, in GUI mode, without any customization (emacs -Q). >>> If so, I cannot >>> reproduce this: I see both the overlay and the buffer text wrap >>> exactly identically. Right, same here, albeit (in the first case) when (window-width) returns 34, and (window-pixel-width) returns 288. I can also drag the left window border a bit, so that (window-width) still returns 34, but (window-pixel-width) is 291, then the lines in the test buffer become not wrapped.