Subject: Re: bug#34346: 26.1; Big hang when opening text (racket) files with .art extension (image-mode)

From: Eli Zaretskii <[email-masked]>
Date: Thu, 07 Feb 2019 05:30:20 +0200

> From: Pierre Neidhardt <[email-masked]>
> Cc: Eli Zaretskii <[email-masked]>, [email-masked]
> Date: Wed, 06 Feb 2019 21:53:26 +0100
> 
> 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?

I does, I just think that your desire is generally unattainable, even
though in the specific case in point perhaps we should simply drop
support for .art extensions.