GNU bug report logs - #14547
24.3.1; line-break with pixel specification and word-wrap

Previous Next

Package: emacs;

Reported by: E Sabof <esabof <at> gmail.com>

Date: Mon, 3 Jun 2013 13:24:02 UTC

Severity: minor

Tags: moreinfo

Found in version 24.3.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: E Sabof <esabof <at> gmail.com>
To: 14547 <at> debbugs.gnu.org
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 part 1 (text/plain, inline)]
---------- Forwarded message ----------
From: E Sabof <esabof <at> gmail.com>
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 <eliz <at> 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 <at> gnu.org> wrote:

> > Date: Mon, 3 Jun 2013 14:21:00 +0100
> > From: E Sabof <esabof <at> gmail.com>
> >
> > 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.
>
[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 112 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.