unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 10714@debbugs.gnu.org
Subject: bug#10714: SHR leaves too much trailing whitespace
Date: Tue, 07 Feb 2012 21:07:30 +0100	[thread overview]
Message-ID: <87d39qv24d.fsf@gnus.org> (raw)
In-Reply-To: <jwvehu8c5x2.fsf-monnier+diro@gnu.org> (Stefan Monnier's message of "Mon, 06 Feb 2012 10:56:56 -0500")

One thing just occurred to me.  If you have something like

<table bgcolor=red><tr><td>bla bla bla</table>

that goes over several lines, that should be presented as a block with a
red background.  By just stripping all the white space, we instead get a 
ragged right, which is kinda ugly (and makes some tables less readable,
if there are nested blocks).

So I think the whitespace-stripping thing will have to be adjusted
slightly, and only remove the whitespace if it actually makes the lines
wider than the window is.

-- 
(domestic pets only, the antidote for overdose, milk.)
  http://lars.ingebrigtsen.no  *  Sent from my Rome





  parent reply	other threads:[~2012-02-07 20:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <jwvehu8c5x2.fsf-monnier+diro@gnu.org>
2012-02-07  0:17 ` bug#10714: SHR leaves too much trailing whitespace Lars Ingebrigtsen
2012-02-07 20:07 ` Lars Ingebrigtsen [this message]
2012-02-03 18:34 Stefan Monnier
2012-02-05 18:39 ` Lars Ingebrigtsen

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=87d39qv24d.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=10714@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).