From: Sebastian Fischmeister <sfischme@uwaterloo.ca>
To: MaDhAt2r <madhat2r@dukefoo.com>, David Bremner <david@tethera.net>
Cc: Notmuch Mail <notmuch@notmuchmail.org>
Subject: Re: SVG attachment crashes emacs
Date: Wed, 20 Aug 2014 05:33:43 -0400 [thread overview]
Message-ID: <87ha17ijyd.fsf@uwaterloo.ca> (raw)
In-Reply-To: <87a971tehz.fsf@ArchNemesis.i-did-not-set--mail-host-address--so-tickle-me>
[-- Attachment #1: Type: text/plain, Size: 308 bytes --]
Here's the svg image.
It seems that the problem is with emacs calling inkscape. Inkscape then
does something that causes emacs to crash. I don't know why emacs calls
inkscape when I open the message with the svg file.
I can directly open the svg file in emacs and it's displayed correctly.
Sebastian
[-- Attachment #2: severity.svg --]
[-- Type: image/svg+xml, Size: 5228 bytes --]
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="438.14285"
height="209.57141"
id="svg2"
version="1.1"
inkscape:version="0.48.5 r10040"
sodipodi:docname="severity.svg">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.70000001"
inkscape:cx="558.49057"
inkscape:cy="13.988458"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="1366"
inkscape:window-height="768"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="0"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-212.10094,-438.94198)">
<rect
style="fill:#ffffff;stroke:#ffffff;stroke-width:0.84078121;stroke-opacity:1"
id="rect3783"
width="437.30206"
height="208.73064"
x="212.52133"
y="439.36237" />
<g
id="g3033">
<path
inkscape:connector-curvature="0"
id="path2987"
d="m 285.87317,634.6641 44.95179,0"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path2993"
d="m 330.31988,633.65395 0,-61.6193 42.93149,0 0,-20.20305 181.82745,0"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<text
sodipodi:linespacing="125%"
id="text2995"
y="545.77069"
x="529.31995"
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
style="font-size:25px"
y="545.77069"
x="529.31995"
id="tspan2997"
sodipodi:role="line">Demand</tspan></text>
<path
inkscape:connector-curvature="0"
id="path2999"
d="m 267.69042,620.52197 127.7843,0 90.40865,-99.50003"
style="fill:none;stroke:#0000ff;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<text
sodipodi:linespacing="125%"
id="text3769"
y="509.91028"
x="430.83008"
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
style="font-size:30px"
y="509.91028"
x="430.83008"
id="tspan3771"
sodipodi:role="line">Supply</tspan></text>
<path
inkscape:connector-curvature="0"
id="path3773"
d="m 321.73359,619.51182 0,-48.48733"
style="fill:none;stroke:#ff0000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path3775"
d="m 383.35289,619.51182 0,-67.68022"
style="fill:#ff0000;stroke:#ff0000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<text
sodipodi:linespacing="125%"
id="text3777"
y="566.47876"
x="256.07367"
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
style="font-size:15px"
y="566.47876"
x="256.07367"
id="tspan3779"
sodipodi:role="line">severity1</tspan></text>
<text
sodipodi:linespacing="125%"
id="text3781"
y="544.7605"
x="362.13968"
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
style="font-size:15px"
y="544.7605"
x="362.13968"
id="tspan3783"
sodipodi:role="line">severity2</tspan></text>
</g>
</g>
</svg>
[-- Attachment #3: Type: text/plain, Size: 1045 bytes --]
MaDhAt2r <madhat2r@dukefoo.com> writes:
> I am on arch, you could send me the sample image and I will see if it
> works on my end.
>
> On Aug 18 at 08:27 PM, David Bremner scrawled:
>> Sebastian Fischmeister <sfischme@uwaterloo.ca> writes:
>>
>>> GNU Emacs 24.3.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.12.2) of
>>> 2014-06-11 on var-lib-archbuild-staging-x86_64-jgc
>>>
>>> ~$ notmuch --version
>>> notmuch 0.18.1
>>>
>>> What happens is that emacs invokes inkscape to do something to the svg.
>>>
>>
>> I wonder if this is specific to the way emacs is compiled on arch. I
>> just deleted inkscape and the image you sent me still renders fine on
>> Debian testing, same emacs and notmuch version.
>>
>> Out of curiousity, is your emacs linked to libxml2?
>>
>> It could also be something to do with mime type configuration, which is
>> a bit of an impenetrable thicket to me.
>>
>> d
>> _______________________________________________
>> notmuch mailing list
>> notmuch@notmuchmail.org
>> http://notmuchmail.org/mailman/listinfo/notmuch
next prev parent reply other threads:[~2014-08-20 9:33 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-17 13:46 SVG attachment crashes emacs Sebastian Fischmeister
2014-08-17 18:40 ` David Bremner
[not found] ` <87egwe9vkq.fsf@uwaterloo.ca>
2014-08-18 12:22 ` David Bremner
2014-08-18 20:21 ` Sebastian Fischmeister
2014-08-19 1:27 ` David Bremner
2014-08-19 2:11 ` MaDhAt2r
2014-08-20 9:33 ` Sebastian Fischmeister [this message]
2014-08-20 12:54 ` MaDhAt2r
2014-08-20 13:34 ` Franz Fellner
2014-08-20 15:01 ` Suvayu Ali
2014-08-21 19:50 ` David Bremner
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://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ha17ijyd.fsf@uwaterloo.ca \
--to=sfischme@uwaterloo.ca \
--cc=david@tethera.net \
--cc=madhat2r@dukefoo.com \
--cc=notmuch@notmuchmail.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 public inbox
https://yhetil.org/notmuch.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).