bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Stephen Berman
Subject: bug#14547: 24.3.1; line-break with pixel specification and word-wrap
Date: Mon, 03 Jun 2013 18:27:36 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

On Mon, 03 Jun 2013 19:07:06 +0300 Eli Zaretskii <eliz@gnu.org> wrote:

>> 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 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.

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.

Steve Berman





reply via email to

[Prev in Thread] Current Thread [Next in Thread]