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: Fwd: bug#14547: 24.3.1; line-break with pixel specification and word-wrap Date: Mon, 3 Jun 2013 17:58:47 +0100 Message-ID: References: <83d2s3xjo5.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c27bbecd661804de42e076 X-Trace: ger.gmane.org 1370279529 5345 80.91.229.3 (3 Jun 2013 17:12:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Jun 2013 17:12:09 +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 19:12:09 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 1UjYIi-0004Vv-H7 for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Jun 2013 19:12:08 +0200 Original-Received: from localhost ([::1]:58241 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjYIi-00024R-1v for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Jun 2013 13:12:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54758) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjYHs-0000pq-KG for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 13:11:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjYHl-00032V-9d for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 13:11:16 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60882) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjY69-0007Ku-DM for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 12:59:09 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UjY7x-0002MQ-W6 for bug-gnu-emacs@gnu.org; Mon, 03 Jun 2013 13:01: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 17:01:01 +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.13702788509045 (code B ref 14547); Mon, 03 Jun 2013 17:01:01 +0000 Original-Received: (at 14547) by debbugs.gnu.org; 3 Jun 2013 17:00:50 +0000 Original-Received: from localhost ([127.0.0.1]:49240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UjY7l-0002Lq-Lw for submit@debbugs.gnu.org; Mon, 03 Jun 2013 13:00:50 -0400 Original-Received: from mail-la0-f46.google.com ([209.85.215.46]:46987) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UjY7i-0002La-Se for 14547@debbugs.gnu.org; Mon, 03 Jun 2013 13:00:49 -0400 Original-Received: by mail-la0-f46.google.com with SMTP id eg20so320834lab.5 for <14547@debbugs.gnu.org>; Mon, 03 Jun 2013 09:58:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=3GyRSU3PoVsElMr9IjYpJfsWvTDjECFZBsn/SwgZCZM=; b=v50+7CclDHwIzstBIDBRXkinBRLMobMiO/J3bCB3l6uPHGvox+bK27sFVIVaJQ2roV vm9ltG6/xqsYtEvHeSQhhfgWZSozK1KULigE+t6o69bP30e20zrNrhumhRw1aYTrUQ6R 2KKp2gsCAk95jVEpXdJSd8YSHbaqqkm0AXUiV9AFE40pv3D6q9Uo3omr7YPH1LfjsoSW Vjt4V3anRCMFsZDlPKdTx2BKCRX/icVLu+h8G27EAQXbOAklJR+Rx2CbJpO9WjsxkecP l9e4sTMh/OonTKUJIALwHLMgmvj/k5QSejX/XeZyZiCjW1AwT1rrQXfQfjGkBCXogNxG IOXw== X-Received: by 10.152.7.103 with SMTP id i7mr11184058laa.39.1370278727605; Mon, 03 Jun 2013 09:58:47 -0700 (PDT) Original-Received: by 10.112.69.229 with HTTP; Mon, 3 Jun 2013 09:58:47 -0700 (PDT) In-Reply-To: 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:74785 Archived-At: --001a11c27bbecd661804de42e076 Content-Type: text/plain; charset=ISO-8859-1 ---------- Forwarded message ---------- From: E Sabof Date: Mon, Jun 3, 2013 at 5:57 PM Subject: Re: bug#14547: 24.3.1; line-break with pixel specification and word-wrap To: Eli Zaretskii I don't think there is any ambiguity in this case - it DTRT unless both word-wrap and visual-line are on. Evgeni On Mon, Jun 3, 2013 at 5:07 PM, Eli Zaretskii wrote: > > 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. > --001a11c27bbecd661804de42e076 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable


---------- Forwarded me= ssage ----------
From: E Sabof <esabof@gmail.com>=
Date: Mon, Jun 3, 2013 at 5:57 PM
Subject: Re: bug#14547: 24.3.1; line-b= reak with pixel specification and word-wrap
To: Eli Zaretskii <eliz@gnu.org>


I don't think there is any ambiguity in this case - it DTRT unless both= word-wrap and visual-line are on.

Evgeni

On Mon, Jun 3, 2013 at 5:07 PM, Eli Zaretskii <eliz@gnu.org> wrot= e:
> Date: Mon, 3 Jun 2013 14:21:00 +0100
> From: E Sabof <esabof@gmail.com>
>
> If one executes the following in a graphical frame, the line will brea= k:
>
> (insert (propertize
> =A0 =A0 =A0 =A0 =A0 =A0"\n"
> =A0 =A0 =A0 =A0 =A0 =A0'display `(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 :align-to (- right (1))) > =A0 =A0 =A0 =A0 =A0 =A0'face '(:underline t))
> =A0 =A0 =A0 =A0 =A0 "\n")
>
> (toggle-word-wrap 1)

Isn't that the same issue as discussed in this old bug:

=A0 http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D9530

IOW, you cannot align-to the right margin, because this leaves no
place to display anything.


--001a11c27bbecd661804de42e076--