unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: E Sabof <esabof@gmail.com>
To: 14547@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	[thread overview]
Message-ID: <CAEp6Dya5UPqeyoBbudVSbcHy-aj35LT_5rnLwq-qZp=UKZSS2A@mail.gmail.com> (raw)
In-Reply-To: <CAEp6DyZSOfrjVpCn9O81E9vzPRuOWfzPjkFM+h9iTL1rNg0SXQ@mail.gmail.com>

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

---------- Forwarded message ----------
From: E Sabof <esabof@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@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@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.
>

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

  parent reply	other threads:[~2013-06-03 16:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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     ` E Sabof [this message]
2013-06-03 17:10     ` Eli Zaretskii
2013-06-03 17:19       ` E Sabof
2013-06-03 17:51         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAEp6Dya5UPqeyoBbudVSbcHy-aj35LT_5rnLwq-qZp=UKZSS2A@mail.gmail.com' \
    --to=esabof@gmail.com \
    --cc=14547@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).