From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#23835: 25.1.50; opening a file named ebrowse tries to start EBrowse Date: Thu, 23 Jun 2016 19:48:43 +0300 Message-ID: <83inwz3l78.fsf@gnu.org> References: <83por82b1z.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1466700912 26065 80.91.229.3 (23 Jun 2016 16:55:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Jun 2016 16:55:12 +0000 (UTC) Cc: 23835@debbugs.gnu.org To: ams@gnu.org (Alfred M. Szmidt) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 23 18:54:58 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bG7u5-0000x4-Ig for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Jun 2016 18:54:57 +0200 Original-Received: from localhost ([::1]:38068 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG7u4-0003mv-Jj for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Jun 2016 12:54:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG7pQ-00076v-AK for bug-gnu-emacs@gnu.org; Thu, 23 Jun 2016 12:50:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bG7pK-0005YF-9x for bug-gnu-emacs@gnu.org; Thu, 23 Jun 2016 12:50:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40566) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG7pK-0005Y9-70 for bug-gnu-emacs@gnu.org; Thu, 23 Jun 2016 12:50:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bG7pJ-0000Eo-N7 for bug-gnu-emacs@gnu.org; Thu, 23 Jun 2016 12:50:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Jun 2016 16:50:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23835 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23835-submit@debbugs.gnu.org id=B23835.1466700588889 (code B ref 23835); Thu, 23 Jun 2016 16:50:01 +0000 Original-Received: (at 23835) by debbugs.gnu.org; 23 Jun 2016 16:49:48 +0000 Original-Received: from localhost ([127.0.0.1]:52903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bG7p6-0000EG-6D for submit@debbugs.gnu.org; Thu, 23 Jun 2016 12:49:48 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55990) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bG7p4-0000E4-AV for 23835@debbugs.gnu.org; Thu, 23 Jun 2016 12:49:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bG7ou-0005Tn-92 for 23835@debbugs.gnu.org; Thu, 23 Jun 2016 12:49:41 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39442) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG7ou-0005Ta-5r for 23835@debbugs.gnu.org; Thu, 23 Jun 2016 12:49:36 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3262 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bG7on-00067E-Vr; Thu, 23 Jun 2016 12:49:30 -0400 In-reply-to: (ams@gnu.org) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:119980 Archived-At: > From: ams@gnu.org (Alfred M. Szmidt) > CC: 23835@debbugs.gnu.org > Date: Thu, 23 Jun 2016 12:37:37 -0400 > > > 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? How is this file different from all the other files in auto-mode-alist? They all turn on the mode regardless of the actual contents of the file.