unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 4710@debbugs.gnu.org
Subject: bug#4710: 23.1.50; Bad display of underlines crossing line boundaries
Date: Tue, 20 Sep 2011 11:41:30 +0200	[thread overview]
Message-ID: <m3hb475z5h.fsf@stories.gnus.org> (raw)
In-Reply-To: <jwvsjnshu61.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Mon, 19 Sep 2011 21:38:03 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>>> Maybe someone could come up with a neater way to display "face
>>> continuations" (face that applies to the text where a line is
>>> wrapped).  For underline, we could put a short bit of dotted underline
>>> as in:
>>>     foo bar baz
>>>         -------⋯
>>>     toto titi tur
>>>    ⋯----
>> Why assume that underlined whitespace should not show an underline?
>> Likewise for other face attributes.
>
> I believe you're confused: I'm talking about line-wrapping done by the
> redisplay engine.  I.e. there's no newline in the above example (but
> there are curly arrows in the fringe instead).

I was talking about things that do have newlines in them.  :-)

If you have the following text, where some of it underscores.  Like
this:

      This is a text with words This is a text with words This is a text with words 
                                                    -------------------------

Then you fill it with `M-q':

      This is a text with words This is a text with words This is a text
                                                    --------------------
      with words
----------


and then you get this ugly-looking result.

I have no idea how to fix this in an except in an extremely hacky way,
though.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





  parent reply	other threads:[~2011-09-20  9:41 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-12 20:49 bug#4710: 23.1.50; Bad display of underlines crossing line boundaries Lennart Borgman
2011-09-18  8:53 ` Lars Magne Ingebrigtsen
2011-09-18  9:12   ` Deniz Dogan
2011-09-18  9:20     ` Lars Magne Ingebrigtsen
2011-09-18  9:42       ` Eli Zaretskii
2011-09-18  9:43         ` Lars Magne Ingebrigtsen
2011-09-19 20:03           ` Stefan Monnier
2011-09-19 21:20             ` Drew Adams
2011-09-20  1:38               ` Stefan Monnier
2011-09-20  2:21                 ` Drew Adams
2011-09-20  2:29                   ` Stefan Monnier
2011-09-20 14:05                     ` Drew Adams
2016-07-14  4:15                       ` Andrew Hyatt
2016-07-14 11:45                         ` Noam Postavsky
2016-07-14 15:15                           ` Eli Zaretskii
2016-07-14 15:10                         ` Eli Zaretskii
2011-09-20  9:41                 ` Lars Magne Ingebrigtsen [this message]
2011-09-20 14:04                   ` Drew Adams
2011-09-20 21:46                     ` Stefan Monnier
2011-09-21 18:36                       ` Lars Magne Ingebrigtsen
2011-09-21 20:27                         ` Lennart Borgman
2011-09-22  1:18                         ` Stefan Monnier

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=m3hb475z5h.fsf@stories.gnus.org \
    --to=larsi@gnus.org \
    --cc=4710@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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).