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: E Sabof
Subject: bug#14547: 24.3.1; line-break with pixel specification and word-wrap
Date: Mon, 3 Jun 2013 14:21:00 +0100

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

reply via email to

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