From: Eli Zaretskii <eliz@gnu.org>
To: Pierre Neidhardt <mail@ambrevar.xyz>
Cc: 34346@debbugs.gnu.org
Subject: bug#34346: 26.1; Big hang when opening text (racket) files with .art extension (image-mode)
Date: Wed, 06 Feb 2019 17:47:40 +0200 [thread overview]
Message-ID: <83womcsyub.fsf@gnu.org> (raw)
In-Reply-To: <87ftt1m73g.fsf@ambrevar.xyz> (message from Pierre Neidhardt on Wed, 06 Feb 2019 13:31:15 +0100)
> From: Pierre Neidhardt <mail@ambrevar.xyz>
> Date: Wed, 06 Feb 2019 13:31:15 +0100
>
> Tested with emacs -Q: opening a .art file
> (e.g. https://raw.githubusercontent.com/euhmeuh/rilouw.eu/master/articles/hello.art)
> will hang Emacs for about a minute (on a rather powerful computer). CPU
> is about 0% but disk I/O oscillates between 80MB/s-400MB/s (your mileage
> may vary).
>
> It seems to be because Emacs tries to open the .art file in image-mode.
> The regexp seems to be added by imagemagick-register-types.
>
> Removing .art from auto-mode-alist works.
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?
Thanks.
next prev parent reply other threads:[~2019-02-06 15:47 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-06 12:31 bug#34346: 26.1; Big hang when opening text (racket) files with .art extension (image-mode) Pierre Neidhardt
2019-02-06 14:01 ` Basil L. Contovounesios
2019-02-06 14:15 ` Pierre Neidhardt
2019-02-06 15:47 ` Eli Zaretskii [this message]
2019-02-06 19:09 ` Glenn Morris
2019-02-06 19:11 ` Glenn Morris
2019-02-06 20:53 ` Pierre Neidhardt
2019-02-07 3:30 ` Eli Zaretskii
2019-02-07 12:04 ` Pierre Neidhardt
2019-02-07 14:44 ` Eli Zaretskii
2019-02-07 14:59 ` Pierre Neidhardt
2019-02-07 17:27 ` Eli Zaretskii
2019-02-07 15:52 ` Stephen Berman
2019-02-07 16:59 ` Glenn Morris
2019-02-07 17:07 ` Pierre Neidhardt
2019-02-06 20:55 ` Pierre Neidhardt
2019-02-06 18:27 ` Glenn Morris
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=83womcsyub.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=34346@debbugs.gnu.org \
--cc=mail@ambrevar.xyz \
/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.