GNU bug report logs - #23835
25.1.50; opening a file named ebrowse tries to start EBrowse

Previous Next

Package: emacs;

Reported by: ams <at> gnu.org (Alfred M. Szmidt)

Date: Thu, 23 Jun 2016 14:33:01 UTC

Severity: minor

Tags: notabug, wontfix

Found in version 25.1.50

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Kangas <stefan <at> marxist.se>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 23835 <at> debbugs.gnu.org, "Alfred M. Szmidt" <ams <at> gnu.org>
Subject: Re: bug#23835: 25.1.50;
 opening a file named ebrowse tries to start EBrowse
Date: Tue, 11 Aug 2020 19:09:55 -0700
tags 23835 + notabug wontfix
close 23835
thanks

Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: ams <at> gnu.org (Alfred M. Szmidt)
>> CC: 23835 <at> 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.

I agree with Eli here.  It makes sense to use the ebrowse mode in this
case.  I'm therefore closing this bug report.

If anyone disagrees, feel free to reopen.

Best regards,
Stefan Kangas




This bug report was last modified 4 years and 344 days ago.

Previous Next


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