all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Pagan <pegzmasta@member.fsf.org>
To: Glenn Morris <rgm@gnu.org>
Cc: 35725@debbugs.gnu.org
Subject: bug#35725: 26.2; Fatal error 11: Segmentation fault; Crash on: (find-file "any.svg")
Date: Mon, 13 May 2019 23:59:02 -0400	[thread overview]
Message-ID: <87imudfzzt.wl-pegzmasta@member.fsf.org> (raw)
In-Reply-To: <nppnolx23s.fsf@fencepost.gnu.org>

> Paul Eggert wrote:
>> I suggest configuring --with-rsvg, so that librsvg used (instead of
>> ImageMagick) to display SVG files.

On Mon, 13 May 2019 21:21:27 -0400, Glenn Morris <rgm@gnu.org> spake thus:
> That's not enough (the build in the original report already has librsvg
> support, per "configured features"); --without-imagemagick would be needed.
> ImageMagick (still) has priority; https://debbugs.gnu.org/33587#19

I re-configured GNU Emacs with the proposed flag, and now: Emacs can
open SVG files just fine; however, I can’t scale images anymore.  I’d
rather have the ability to scale images in any buffer, than the
ability to display SVG files.

I have many image libraries installed (librsvg included), and it makes
sense to me to allow those libraries (e.g. libgif-dev, libjpeg-dev,
libpng-dev, etc.) to handle displaying images, but only allowing
ImageMagick to intervene when performing image manipulation routines.

Is there a way to prevent ImageMagick from handling a specific file
format (e.g. SVG) and to simply allow librsvg to do the job instead of
ImageMagick?

The following elisp does nothing for me, either:
(setq imagemagick-types-inhibit '(SVG C HTML HTM INFO M TXT PDF))
(imagemagick-register-types)

>> I vaguely remember proposing that we disable ImagicMagick by default;

I usually just stick with the defaults, and whatever the INSTALL file
recommends.  I disabled ImageMagick and I was able to view SVG files,
but image scaling is such a desirable feature to me (usable in various
buffer types).

I don’t want it disabled by default, if that means losing the ability
to scale images.  I re-installed my previous configuration of GNU
Emacs for now, even though I can’t display SVG images with it.


Thanks so far for all of your feedback!
-- 
Michael Pagan (pegzmasta) | Casual GNU Emacs user
GPG Key ID: B942 AD12 82B1 6D14 27A0  86AE 119E 451E 71B4 6D72





  reply	other threads:[~2019-05-14  3:59 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-13 22:40 bug#35725: 26.2; Fatal error 11: Segmentation fault; Crash on: (find-file "any.svg") Michael Pagan
2019-05-14  1:04 ` Paul Eggert
2019-05-14  1:21   ` Glenn Morris
2019-05-14  3:59     ` Michael Pagan [this message]
2019-05-14  7:58       ` Lars Ingebrigtsen
2019-05-14  8:00         ` Lars Ingebrigtsen
2019-05-14 16:04         ` Eli Zaretskii
2019-05-14 16:16           ` Paul Eggert
2019-05-15  0:49             ` Lars Ingebrigtsen
2019-05-15 18:45               ` Alan Third
2019-05-16  3:47                 ` Lars Ingebrigtsen
2019-05-14  6:08     ` Paul Eggert
2019-05-15  0:42       ` Glenn Morris
2019-05-18 17:12         ` Paul Eggert
2019-05-15  4:07       ` Michael Pagan
2019-05-15  4:22         ` Lars Ingebrigtsen
2019-05-14  1:16 ` Noam Postavsky
2019-05-14 15:25   ` Eli Zaretskii

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=87imudfzzt.wl-pegzmasta@member.fsf.org \
    --to=pegzmasta@member.fsf.org \
    --cc=35725@debbugs.gnu.org \
    --cc=rgm@gnu.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.