From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#10714: SHR leaves too much trailing whitespace Date: Fri, 03 Feb 2012 13:34:25 -0500 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1328294139 21762 80.91.229.3 (3 Feb 2012 18:35:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 3 Feb 2012 18:35:39 +0000 (UTC) To: 10714@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 03 19:35:38 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RtNyz-0000hE-Bo for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Feb 2012 19:35:37 +0100 Original-Received: from localhost ([::1]:38442 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtNyy-0001ZK-LF for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Feb 2012 13:35:36 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:45268) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtNyr-0001ZB-VO for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2012 13:35:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RtNyq-00009z-F7 for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2012 13:35:29 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48960) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtNyq-00009v-Bs for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2012 13:35:28 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RtNzO-0000A2-2d for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2012 13:36:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Feb 2012 18:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10714 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.1328294134574 (code B ref -1); Fri, 03 Feb 2012 18:36:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Feb 2012 18:35:34 +0000 Original-Received: from localhost ([127.0.0.1]:52583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RtNyv-00009C-G8 for submit@debbugs.gnu.org; Fri, 03 Feb 2012 13:35:34 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:52872) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RtNyf-00008j-E0 for submit@debbugs.gnu.org; Fri, 03 Feb 2012 13:35:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RtNxx-00088d-E6 for submit@debbugs.gnu.org; Fri, 03 Feb 2012 13:34:38 -0500 Original-Received: from lists.gnu.org ([140.186.70.17]:54160) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtNxx-00088Q-CY for submit@debbugs.gnu.org; Fri, 03 Feb 2012 13:34:33 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:45146) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtNxv-0001SC-ND for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2012 13:34:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RtNxq-00085O-Qj for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2012 13:34:31 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:23569) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RtNxq-00085G-KM for bug-gnu-emacs@gnu.org; Fri, 03 Feb 2012 13:34:26 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap4GAEMoLE9MCqD0/2dsb2JhbABDnn8BkCaBBoJPEwFLDwQhARwNVaAqoB2MARICAgMGAgQCAQQCAgwGgwMLAgIBBBMLBAZsAQQECgEBAQEBAQIBAQEBAQEBAQEBIYMaBIhEmwCEWg X-IronPort-AV: E=Sophos;i="4.73,352,1325480400"; d="scan'208";a="161097874" Original-Received: from 76-10-160-244.dsl.teksavvy.com (HELO pastel.home) ([76.10.160.244]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 03 Feb 2012 13:34:25 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 24027590EC; Fri, 3 Feb 2012 13:34:25 -0500 (EST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:56440 Archived-At: Package: Emacs Version: 24.0.92 SHR usually does a pretty good job of showing me the useful content of those obnoxious HTML email, but occasionally the result is hard to read. One fairly common case is that every text line is much longer than my window's with (like twice as long, for instance), although most of it is whitespace (I suspect it's due to some horrendous HTML markup using something like tables to force a particular layout that only works for 1280x800 screens). So I think we should trim all trailing whitespace after rendering, which will solve at least some of those problems. Stefan In GNU Emacs 24.0.92.1 (i686-pc-linux-gnu, GTK+ Version 2.24.8) of 2012-01-17 on pastel Windowing system distributor `The X.Org Foundation', version 11.0.11103901 Configured using: `configure 'CFLAGS=-Wall -Wno-pointer-sign -DUSE_LISP_UNION_TYPE -DSYNC_INPUT -DENABLE_CHECKING -DXASSERTS -DFONTSET_DEBUG -g -O0' '--with-tiff=no'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: fr_CH.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: InactiveMinibuffer Minor modes in effect: shell-dirtrack-mode: t diff-auto-refine-mode: t electric-pair-mode: t electric-indent-mode: t url-handler-mode: t global-reveal-mode: t reveal-mode: t auto-insert-mode: t savehist-mode: t minibuffer-electric-default-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-e C-x C-s C-a C-SPC M-; C-x C-s C-c C-c - > SPC C-a C-x C-s C-c C-c f ~ / s / m / r e c C-s s a u c i s s e C-s C-s C-s C-s C-a C-s p o i r e C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-a M-x r e p o - e m - b u Recent messages: Warning: isearch-message-state is obsolete! Mark saved where search started Warning: isearch-success-state is obsolete! [2 times] Warning: isearch-error-state is obsolete! Warning: isearch-message-state is obsolete! Warning: isearch-success-state is obsolete! [2 times] Warning: isearch-error-state is obsolete! Warning: isearch-message-state is obsolete! Mark saved where search started Warning: interactive-p is obsolete! [2 times] Load-path shadows: None found. Features: (typer-mode epa-file epa epg epg-config vc-dir descr-text informat texinfo vc-sccs vc-svn vc-cvs vc-rcs cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew holidays hol-loaddefs cal-french diary-lib diary-loaddefs cal-move cal-menu calendar cal-loaddefs sort mail-extr message sendmail rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mail-utils mailheader emacsbug sh-script conf-mode hideif cpp cmacexp cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs sgml-mode format-spec reftex-vcr reftex-dcr reftex reftex-vars tex-mode latexenc bbdb-com mailabbrev bbdb timezone whitespace autorevert doc-view jka-compr image-mode dired cl-specs xscheme trace testcover scheme unsafep re-builder shadow inf-lisp ielm pp gmm-utils ert find-func ewoc elp edebug cust-print repeat debug quail rect multi-isearch dabbrev shell pcomplete vc ediff-merg ediff-diff ediff-wind ediff-help ediff-util ediff-mult ediff-init ediff vc-dispatcher executable copyright cus-edit cus-start cus-load wid-edit smerge-mode newcomment diff-mode vc-bzr filecache mule-util caml tuareg speedbar sb-image ezimage dframe skeleton compile comint ring derived smie caml-help caml-types caml-emacs server noutline outline easy-mmode flyspell ispell eldoc checkdoc regexp-opt thingatpt help-mode view prog-mode load-dir electric url-handlers url-parse auth-source warnings eieio byte-opt bytecomp byte-compile cconv macroexp assoc gnus-util password-cache url-vars mm-util mail-prsvr reveal autoinsert uniquify advice help-fns advice-preload time-date savehist minibuf-eldef disp-table cl cl-loaddefs all-autoloads company-autoloads debbugs-autoloads epoch-view-autoloads jgraph-mode-autoloads js2-mode-autoloads lmc-autoloads load-dir-autoloads markchars-autoloads minimap-autoloads muse-autoloads info easymenu oauth2-autoloads quarter-plane-autoloads rainbow-mode-autoloads register-list-autoloads sisu-mode-autoloads svg-clock-autoloads undo-tree-autoloads uni-confusables-autoloads windresize-autoloads package tabulated-list proof-site proof-autoloads pg-vars bbdb-autoloads agda2 tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)