all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#34346: 26.1; Big hang when opening text (racket) files with .art extension (image-mode)
@ 2019-02-06 12:31 Pierre Neidhardt
  2019-02-06 14:01 ` Basil L. Contovounesios
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Pierre Neidhardt @ 2019-02-06 12:31 UTC (permalink / raw)
  To: 34346


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.  The following workaround will
remove the complete regexp, that is, all extensions added by
imagemagick-register-types.

  (dolist (pair auto-mode-alist)
    (when (string-match (car pair) ".art")
      (delete pair auto-mode-alist)))





In GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.0)
 of 2018-11-14 built on localhost
Windowing system distributor 'The X.Org Foundation', version 11.0.12003000

Configured using:
 'configure
 CONFIG_SHELL=/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash
 SHELL=/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin/bash
 --prefix=/gnu/store/vsiqlxhj7lnydhhi85jc1pg0xzhcfdny-emacs-26.1
 --enable-fast-install'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS NOTIFY ACL
GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS
GTK3 X11 THREADS

Important settings:
  value of $LANG: en_US.utf8
  locale-coding-system: utf-8-unix

Major mode: mu4e:view
<#secure method=pgpmime mode=sign>

--
Pierre Neidhardt
https://ambrevar.xyz/





^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2019-02-07 17:27 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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.