unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#14547: 24.3.1; line-break with pixel specification and word-wrap
@ 2013-06-03 13:21 E Sabof
  2013-06-03 16:07 ` Eli Zaretskii
  0 siblings, 1 reply; 10+ messages in thread
From: E Sabof @ 2013-06-03 13:21 UTC (permalink / raw)
  To: 14547

[-- Attachment #1: Type: text/plain, Size: 462 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 804 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-01-31 12:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-03 13:21 bug#14547: 24.3.1; line-break with pixel specification and word-wrap E Sabof
2013-06-03 16:07 ` Eli Zaretskii
2013-06-03 16:27   ` Stephen Berman
2022-01-30 21:43     ` Lars Ingebrigtsen
2022-01-31  9:06       ` Stephen Berman
2022-01-31 12:47         ` Eli Zaretskii
     [not found]   ` <CAEp6DyZSOfrjVpCn9O81E9vzPRuOWfzPjkFM+h9iTL1rNg0SXQ@mail.gmail.com>
2013-06-03 16:58     ` bug#14547: Fwd: " E Sabof
2013-06-03 17:10     ` Eli Zaretskii
2013-06-03 17:19       ` E Sabof
2013-06-03 17:51         ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).