GNU bug report logs - #34346
ImageMagick: hang when opening text (racket) files with .art extension

Previous Next

Package: emacs;

Reported by: Pierre Neidhardt <mail <at> ambrevar.xyz>

Date: Wed, 6 Feb 2019 12:32:01 UTC

Severity: normal

Merged with 22289

Found in versions 24.3, 26.1

Fixed in version 26.2

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Pierre Neidhardt <mail <at> ambrevar.xyz>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 34346 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: bug#34346: 26.1; Big hang when opening text (racket) files with .art extension (image-mode)
Date: Wed, 06 Feb 2019 21:53:26 +0100
[Message part 1 (text/plain, inline)]
> Not sure I understand: are you saying that hello.art uses an extension
> of some image files, but is not an image?  If so, why is that a bug --
> these things can happen with any file, and removing an extension just
> because there's one example to the contrary isn't necessarily a good
> idea.
> 
> Or did I miss something?

Sorry if this was unclear.

Extensions and actual content don't necessary match the auto-mode-alist mapping.

If the extension does not match Emacs' expectations, it should not freeze it for
a minute and almost halt the computer to a grind.

In other words, Emacs should fail gracefully when image-mode does not make sense
with the actual content of the file.

Does that make sense?

-- 
Pierre Neidhardt
https://ambrevar.xyz/
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 6 years and 93 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.