GNU bug report logs - #9044
24.0.50; File mode specification error: (error "Malformed -*- line")

Previous Next

Package: emacs;

Reported by: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>

Date: Sun, 10 Jul 2011 23:37:02 UTC

Severity: minor

Found in version 24.0.50

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #32 received at 9044 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Juri Linkov <juri <at> jurta.org>
Cc: Peter Dyballa <Peter_Dyballa <at> freenet.de>,
	Stefan Monnier <monnier <at> IRO.UMontreal.CA>, 9044 <at> debbugs.gnu.org
Subject: Re: bug#9044: 24.0.50;
	File mode specification error: (error "Malformed -*- line")
Date: Sat, 17 Sep 2011 07:06:08 +0200
Juri Linkov <juri <at> jurta.org> writes:

>> How about just adding the common ones -- jpeg?, tiff?, png, gif.  That
>> will take care of 99% of the problems.
>
> There are many other binary formats that may contain "-*-" in the first line.
>
> For example, it's impossible to visit TGA files in Emacs because they contain
> a lot of "-*-".  TARGA is an old raster graphics file format still used
> in modern programs for saving screenshots.  You can see one example below:

Sure.  Just go through the list and add the likely formats.  But using
the list as-is just won't fly, since it even contains "TXT" and "HTML".

> BTW, Gnus doesn't display images supported by ImageMagick inline.
> Could you please fix this in Gnus ;-)

I've now added support for ImageMagick pictures, but I can't get Emacs
to display that image inline.  `create-image' says that it creates the
image just fine, but when I `insert-image' it, I just get the dreaded
blank square box.  What does that mean?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




This bug report was last modified 13 years and 253 days ago.

Previous Next


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