From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: E Sabof Newsgroups: gmane.emacs.bugs Subject: bug#14547: 24.3.1; line-break with pixel specification and word-wrap Date: Mon, 3 Jun 2013 14:21:00 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bf0de88f1a3c304de3fd567 X-Trace: ger.gmane.org 1370265746 6094 80.91.229.3 (3 Jun 2013 13:22:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Jun 2013 13:22:26 +0000 (UTC) To: 14547@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 03 15:22:25 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 1UjUiO-0005ic-3Y for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Jun 2013 15:22:24 +0200 Original-Received: from localhost ([::1]:46197 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjUiN-0002oh-LU for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Jun 2013 09:22:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39165) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjUiG-0002mC-5e for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 09:22:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjUiA-0006Is-CV for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 09:22:16 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60475) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjUiA-0006Io-8Y for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 09:22:10 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UjUjy-000605-98 for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 09:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: E Sabof Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Jun 2013 13:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14547 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.137026579522943 (code B ref -1); Mon, 03 Jun 2013 13:24:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Jun 2013 13:23:15 +0000 Original-Received: from localhost ([127.0.0.1]:48833 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UjUjD-0005xv-7W for submit@debbugs.gnu.org; Mon, 03 Jun 2013 09:23:15 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37009) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UjUj5-0005xC-RT for submit@debbugs.gnu.org; Mon, 03 Jun 2013 09:23:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjUh8-00062Z-Tc for submit@debbugs.gnu.org; Mon, 03 Jun 2013 09:21:10 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:43335) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjUh8-00062V-Ql for submit@debbugs.gnu.org; Mon, 03 Jun 2013 09:21:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38710) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjUh6-0001a7-1R for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 09:21:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjUh3-000600-5s for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 09:21:03 -0400 Original-Received: from mail-qa0-x22e.google.com ([2607:f8b0:400d:c00::22e]:63174) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjUh3-0005zr-1t for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 09:21:01 -0400 Original-Received: by mail-qa0-f46.google.com with SMTP id bv4so1806229qab.12 for ; Mon, 03 Jun 2013 06:21:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Vx6QzGrb8d9Q9R9Cq167IYKDs3Hi0HBdLGLEd10jtB0=; b=TvBKSEhsOIInxPgg2eiVhNZpg0h9NmAClZKcSoZlm5dcmB9JEsK1qPBoNTv7bUjWE6 OZa+nMBNOixqA/242dILOYdIYuPoLRB6ZPQZOKRD/vFn0RB/YUieFEncy9JGNVaeG+Bo vgwkOXaTsyOy/CAw4jGBDLKk0zJWPclh1AxlW/a/rwuyNgL2BKLu6N5XkGaiyOzuV7qT o9j91856llL93L7g8ENahiExLwEpWiR1dJt3NgV4FGVvPym3rLe3+EBkqs8YaLIN7Vyn 9j41Feg75RQMZ5vS2zxecXPU6StbZJi3tq4Bs1s81wULoDF2UFQtO0sA+gqbL1o+53Ak t+yA== X-Received: by 10.224.79.138 with SMTP id p10mr18995833qak.13.1370265660530; Mon, 03 Jun 2013 06:21:00 -0700 (PDT) Original-Received: by 10.49.18.162 with HTTP; Mon, 3 Jun 2013 06:21:00 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:74773 Archived-At: --047d7bf0de88f1a3c304de3fd567 Content-Type: text/plain; charset=ISO-8859-1 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) Evgeni --047d7bf0de88f1a3c304de3fd567 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
If one executes the following in a graphical frame, the li= ne will break:

(insert (propertize
=A0 = =A0 =A0 =A0 =A0 =A0"\n"
=A0 =A0 =A0 =A0 =A0 =A0'dis= play `(space :align-to (- right))
=A0 =A0 =A0 =A0 =A0 =A0'face '(:underline t))
=A0 = =A0 =A0 =A0 =A0 "\n")

(toggle-word= -wrap 1)

If one makes the line one pixel shorter, = it will work fine.

(insert (propertize
=A0 =A0 =A0 =A0 =A0 = =A0"\n"
=A0 =A0 =A0 =A0 =A0 =A0'display `(space :al= ign-to (- right (1)))
=A0 =A0 =A0 =A0 =A0 =A0'face '(:und= erline t))
=A0 =A0 =A0 =A0 =A0 "\n")

(toggle-word-wrap 1)

Evgeni
--047d7bf0de88f1a3c304de3fd567--