From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] master f2da80d: Ignore invalid base64 encoded embedded images
Date: Sun, 20 Mar 2016 14:49:32 +0100 [thread overview]
Message-ID: <m3vb4huumr.fsf@gnus.org> (raw)
In-Reply-To: <jwvy49dz2gj.fsf-monnier+emacsdiffs@gnu.org> (Stefan Monnier's message of "Sun, 20 Mar 2016 09:47:08 -0400")
Stefan Monnier <monnier@IRO.UMontreal.CA> writes:
>> + (setq payload (ignore-errors
>> + (base64-decode-string payload))))
>
> How 'bout with-demoted-errors?
I don't think the user cares that much -- if an image fails (whether to
downloading or being invalid), then eww should just continue signal that
in the document itself (with a broken image icon or the like). But
messaging is too much chatter.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2016-03-20 13:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20160320125720.21872.87876@vcs.savannah.gnu.org>
[not found] ` <E1ahcv2-0005hP-Mn@vcs.savannah.gnu.org>
2016-03-20 13:47 ` [Emacs-diffs] master f2da80d: Ignore invalid base64 encoded embedded images Stefan Monnier
2016-03-20 13:49 ` Lars Magne Ingebrigtsen [this message]
2016-03-20 15:26 ` Stefan Monnier
2016-03-20 15:40 ` Lars Magne Ingebrigtsen
2016-03-20 16:12 ` Stefan Monnier
2016-03-20 16:41 ` Lars Magne 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3vb4huumr.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=emacs-devel@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 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.