From: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
To: 24831@debbugs.gnu.org
Cc: Katsumi Yamaoka <yamaoka@jpl.org>
Subject: bug#24831: shr mangling messages
Date: Mon, 31 Oct 2016 10:45:58 +0800 [thread overview]
Message-ID: <87shrd6xsp.fsf_-_@jidanni.org> (raw)
In-Reply-To: 87shrgvt8y.fsf@jidanni.org
[-- Attachment #1: Type: text/plain, Size: 2387 bytes --]
Gentelmen, the "shr" program is mangling messages.
It could remove vital words, causing arguments:
"I did include the address!" "No you didn't." "Yes I did. Your mail
reader probably cut it out."
We're talking data loss here. It may still be on the disk, but not shown
to the user.
True, the HTML might not be perfect, but at least Chromium, Firefox,
etc. show it fine.
>>>>> "KY" == Katsumi Yamaoka <yamaoka@jpl.org> writes:
KY> Emacs-w3m renders it as:
KY> http://w
KY> Hi, you have a new email from Catherineme
KY> [25]
KY> View your inbox at http://www.travel-buddies.com/Inbox.aspx
KY> © Travel Buddies 2015 | All rights reserved
Hmmm, w3m -dump on the attachment shows the first URL in full.
KY> However shr renders it as:
KY> Travel Buddies
KY> © Travel Buddies 2015 | All rights reserved
KY> http://www.travel-buddies.com/
KY> *
KY> There lacks the "Hi, you have a new mail" message. The return
KY> value of `libxml-parse-html-region' contains the message as
KY> (h1 nil (span nil "Hi, you have a new email from") "Catherineme")
KY> (p nil "View your inbox at "
KY> (a ((href . "http://www.travel-buddies.com/Inbox.aspx"))
KY> "http://www.travel-buddies.com/Inbox.aspx"))
KY> regardless of whether all style specs are removed[1] or not
KY> (three nil portions above are replaced with style specs if they
KY> are not removed). So, style specs are not cause of not
KY> displaying some meaningful message in an html mail, I believe.
KY> In that case, making shr display images does not help.
KY> I think there's something wrong in shr.el, and what you should
KY> do would be to send a bug report to the Emacs bug team, i.e.,
KY> M-x report-emacs-bug, with the sample html part (I'm not so
KY> familiar with recent shr, sorry). Note that a mail containing
KY> html part might be rejected by the server, so putting it in your
KY> web site separately would be better.
KY> [1] I tested it by modifying mm-shr so as to remove style specs.
OK I'll send the message,
[-- Attachment #2: message --]
[-- Type: application/gzip, Size: 1786 bytes --]
[-- Attachment #3: Type: text/plain, Size: 143 bytes --]
here in this bug report about In GNU Emacs 24.5.1 (i686-pc-linux-gnu,
GTK+ Version 3.21.5) of 2016-09-06 on x86-csail-01, modified by Debian.
next parent reply other threads:[~2016-10-31 2:45 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87shrgvt8y.fsf@jidanni.org>
2016-10-31 2:45 ` 積丹尼 Dan Jacobson [this message]
2016-11-01 1:39 ` bug#24831: shr mangling messages Katsumi Yamaoka
2016-11-01 9:59 ` Katsumi Yamaoka
2016-11-01 10:06 ` Lars Ingebrigtsen
2016-11-01 10:12 ` Lars Ingebrigtsen
2016-11-01 18:43 ` Lars Ingebrigtsen
2016-11-02 9:49 ` Katsumi Yamaoka
2016-11-04 7:19 ` Katsumi Yamaoka
2016-11-04 8:51 ` Lars Ingebrigtsen
2016-11-04 10:28 ` Katsumi Yamaoka
2016-11-04 11:17 ` Lars Ingebrigtsen
2016-11-06 23:32 ` Katsumi Yamaoka
2016-11-01 11:22 ` 積丹尼 Dan Jacobson
2016-11-01 17:16 ` Richard Stallman
2016-11-04 18:18 ` Ted Zlatanov
2016-11-01 11:24 ` 積丹尼 Dan Jacobson
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87shrd6xsp.fsf_-_@jidanni.org \
--to=jidanni@jidanni.org \
--cc=24831@debbugs.gnu.org \
--cc=yamaoka@jpl.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.