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#14547: 24.3.1; line-break with pixel specification and word-wrap Date: Mon, 03 Jun 2013 19:07:06 +0300 Message-ID: <83d2s3xjo5.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1370275702 25346 80.91.229.3 (3 Jun 2013 16:08:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Jun 2013 16:08:22 +0000 (UTC) Cc: 14547@debbugs.gnu.org To: E Sabof Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 03 18:08:22 2013 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 1UjXJ0-0001D8-Ap for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Jun 2013 18:08:22 +0200 Original-Received: from localhost ([::1]:41906 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjXIz-0005ry-PB for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Jun 2013 12:08:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjXIs-0005rn-0x for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 12:08:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjXIo-0008QS-Op for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 12:08:13 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjXIo-0008QK-Kp for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 12:08:10 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UjXKc-0008QQ-FU for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 12:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Jun 2013 16:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14547 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14547-submit@debbugs.gnu.org id=B14547.137027575432230 (code B ref 14547); Mon, 03 Jun 2013 16:10:02 +0000 Original-Received: (at 14547) by debbugs.gnu.org; 3 Jun 2013 16:09:14 +0000 Original-Received: from localhost ([127.0.0.1]:49203 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UjXJp-0008Nk-78 for submit@debbugs.gnu.org; Mon, 03 Jun 2013 12:09:13 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:41100) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UjXJl-0008Mm-WC for 14547@debbugs.gnu.org; Mon, 03 Jun 2013 12:09:11 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MNT00500RDM1W00@a-mtaout22.012.net.il> for 14547@debbugs.gnu.org; Mon, 03 Jun 2013 19:07:10 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MNT00472RFYK5A0@a-mtaout22.012.net.il>; Mon, 03 Jun 2013 19:07:10 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.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:74779 Archived-At: > Date: Mon, 3 Jun 2013 14:21:00 +0100 > From: E Sabof > > If one executes the following in a graphical frame, the line will break: > > (insert (propertize > "\n" > 'display `(space :align-to (- right)) > 'face '(:underline t)) > "\n") > > (toggle-word-wrap 1) > > If one makes the line one pixel shorter, it will work fine. > > (insert (propertize > "\n" > 'display `(space :align-to (- right (1))) > 'face '(:underline t)) > "\n") > > (toggle-word-wrap 1) Isn't that the same issue as discussed in this old bug: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9530 IOW, you cannot align-to the right margin, because this leaves no place to display anything.