Subject: bug#23835: 25.1.50; opening a file named ebrowse tries to start EBrowse

From: [email-masked] (Alfred M. Szmidt)
Date: Thu, 23 Jun 2016 12:37:37 -0400

> From: [email-masked] (Alfred M. Szmidt)
   > Date: Thu, 23 Jun 2016 10:32:06 -0400
   > 
   > When trying to do:
   > 
   > 	C-x C-f ebrowse RET
   > 
   > Emacs tries to be a bit too smart, and thinks that it should switch
   > the mode on the file to ebrowse-tree-mode.  

   That's the intended behavior, since 'ebrowse' the program produces
   files named by default EBROWSE, and that mode was programmed for those
   files.

   OK to close this bug?

Wouldn't it be better to check that the file is infact a "ebrowse"
file using a file local variable though?  And default to "text" if the
file in question is empty?