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

From: Juri Linkov <[email-masked]>
Date: Sun, 18 Sep 2011 23:50:16 +0300

BTW, I discovered a related problem - visiting the file `ebrowse'
in the `info' subdir fails with:

Debugger entered--Lisp error: (error "No Ebrowse file header found")
  signal(error ("No Ebrowse file header found"))
  error("No Ebrowse file header found")
  ebrowse-read()
  ebrowse-tree-mode()
  set-auto-mode-0(ebrowse-tree-mode nil)
  set-auto-mode()
  normal-mode(t)
  after-find-file(nil t)
  find-file-noselect-1(#<buffer ebrowse> "info/ebrowse" nil nil "info/ebrowse" (4068440 2054))
  find-file-noselect("info/ebrowse" nil nil nil)
  find-file("info/ebrowse")
  dired-find-file()
  call-interactively(dired-find-file nil nil)

It has the following entry in `auto-mode-alist':

     ("BROWSE\\'" . ebrowse-tree-mode)

but its case is ignored due to `auto-mode-case-fold'=t.