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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: E Sabof <esabof <at> gmail.com>
Subject: bug#14547: closed (Re: bug#14547: 24.3.1; line-break with pixel
 specification and word-wrap)
Date: Mon, 31 Jan 2022 12:49:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#14547: 24.3.1; line-break with pixel specification and word-wrap

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 14547 <at> debbugs.gnu.org.

-- 
14547: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=14547
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Stephen Berman <stephen.berman <at> gmx.net>
Cc: larsi <at> gnus.org, 14547-done <at> debbugs.gnu.org, esabof <at> gmail.com
Subject: Re: bug#14547: 24.3.1; line-break with pixel specification and
 word-wrap
Date: Mon, 31 Jan 2022 14:47:29 +0200
> From: Stephen Berman <stephen.berman <at> gmx.net>
> Cc: Eli Zaretskii <eliz <at> gnu.org>,  14547 <at> debbugs.gnu.org,  E Sabof
>  <esabof <at> gmail.com>
> Date: Mon, 31 Jan 2022 10:06:14 +0100
> 
> On Sun, 30 Jan 2022 22:43:14 +0100 Lars Ingebrigtsen <larsi <at> gnus.org> wrote:
> 
> > Stephen Berman <stephen.berman <at> gmx.net> writes:
> >
> >>>> 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)
> >
> > [...]
> >
> >> I think it's a manifestation of bug#2749, because I see no line break
> >> with this recipe in Emacs built with my patch enabling
> >> overflow-newline-into-fringe in visual-line-mode.
> >
> > (I'm going through old bug reports that unfortunately weren't resolved
> > at the time.)
> >
> > bug#2749 was fixed a few weeks later, so does that mean that the problem
> > discussed here also was fixed?
> 
> I think so.
> 
> >                                 (I must admit I didn't understand what
> > the reproducing code here is supposed to demonstrate.)
> 
> Based on the descriptions and discussion in bug#2749, I think the above
> code used to display an empty line between the parts of the line
> separated by the display property.  It doesn't now, presumably since the
> fix for bug#2749, which allows the newline to be in the fringe.

Yes, and I'm therefore closing this bug.

[Message part 3 (message/rfc822, inline)]
From: E Sabof <esabof <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.1; line-break with pixel specification and word-wrap
Date: Mon, 3 Jun 2013 14:21:00 +0100
[Message part 4 (text/plain, inline)]
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
[Message part 5 (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.