From: Eli Zaretskii <eliz@gnu.org>
To: ams@gnu.org (Alfred M. Szmidt)
Cc: 23835@debbugs.gnu.org
Subject: bug#23835: 25.1.50; opening a file named ebrowse tries to start EBrowse
Date: Thu, 23 Jun 2016 19:48:43 +0300 [thread overview]
Message-ID: <83inwz3l78.fsf@gnu.org> (raw)
In-Reply-To: <E1bG7dJ-0001eZ-Mv@fencepost.gnu.org> (ams@gnu.org)
> 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.
next prev parent reply other threads:[~2016-06-23 16:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-23 14:32 bug#23835: 25.1.50; opening a file named ebrowse tries to start EBrowse Alfred M. Szmidt
2016-06-23 15:13 ` Eli Zaretskii
2016-06-23 16:37 ` Alfred M. Szmidt
2016-06-23 16:48 ` Eli Zaretskii [this message]
2020-08-12 2:09 ` Stefan Kangas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83inwz3l78.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=23835@debbugs.gnu.org \
--cc=ams@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.