GNU bug report logs - #10338
23.3; Firefox includes a jar file which is not recognied as a zip file (omni.jar)

Previous Next

Package: emacs;

Reported by: "Brooks, Daniel" <Daniel.Brooks <at> ask.com>

Date: Wed, 21 Dec 2011 05:37:03 UTC

Severity: minor

Tags: wontfix

Found in version 23.3

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> jurta.org>
To: 10338 <at> debbugs.gnu.org
Subject: bug#10338: 23.3; Firefox includes a jar file which is not recognied as a zip file (omni.jar)
Date: Thu, 22 Dec 2011 22:28:48 +0200
I found another problem with Firefox jar files: trying to visit the file
`browser.jar' doesn't use `archive-mode'.  It's visited in `html-mode'.
That's because the first line of the ZIP-based JAR archive contains
the file-local variable -*- line from the first file in this archive:

  PK^C^D content/browser/aboutDialog.xul<?xml version="1.0"?> <!-- -*- Mode: HTML -*- -->

This is purely Emacs problem, not caused by something non-standard from Mozilla.
We should somehow change the priorities of detecting the correct mode.

After filling the -*- line with spaces in hexl-mode, the jar file opens
normally, but visiting a file from the archive inserts the following line into
the file buffer:

  content/browser/aboutDialog.xul  bad CRC 1ded366d  (should be b80ec225)

This will be fixed in bug#10347 by displaying the warning and error messages
in the echo area instead of inserting into the buffer.




This bug report was last modified 12 years and 242 days ago.

Previous Next


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