From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#23835: 25.1.50; opening a file named ebrowse tries to start EBrowse Date: Tue, 11 Aug 2020 19:09:55 -0700 Message-ID: References: <83por82b1z.fsf@gnu.org> <83inwz3l78.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4804"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 23835@debbugs.gnu.org, "Alfred M. Szmidt" To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 12 04:11:14 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k5gEU-0001AY-ML for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Aug 2020 04:11:14 +0200 Original-Received: from localhost ([::1]:56248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k5gET-0000HI-M4 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 11 Aug 2020 22:11:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42528) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k5gEI-0000G0-MV for bug-gnu-emacs@gnu.org; Tue, 11 Aug 2020 22:11:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58968) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k5gEI-0008H5-Ca for bug-gnu-emacs@gnu.org; Tue, 11 Aug 2020 22:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k5gEI-0007GC-83 for bug-gnu-emacs@gnu.org; Tue, 11 Aug 2020 22:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Aug 2020 02:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23835 X-GNU-PR-Package: emacs Original-Received: via spool by 23835-submit@debbugs.gnu.org id=B23835.159719820527832 (code B ref 23835); Wed, 12 Aug 2020 02:11:02 +0000 Original-Received: (at 23835) by debbugs.gnu.org; 12 Aug 2020 02:10:05 +0000 Original-Received: from localhost ([127.0.0.1]:42281 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5gDM-0007Eo-Ng for submit@debbugs.gnu.org; Tue, 11 Aug 2020 22:10:04 -0400 Original-Received: from mail-yb1-f195.google.com ([209.85.219.195]:35273) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5gDJ-0007DI-0U for 23835@debbugs.gnu.org; Tue, 11 Aug 2020 22:10:02 -0400 Original-Received: by mail-yb1-f195.google.com with SMTP id y134so543274yby.2 for <23835@debbugs.gnu.org>; Tue, 11 Aug 2020 19:10:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=a9hg4qkSss8Zt3VmpU1lG/w9kW+XG7CxymSSSUST3Ks=; b=UksoQnMir1g9I+U+fWqCJ2YjI4B6eexvDm35limKZPgzX3aXzInI3qWkHohDRBG10W K29HYrj+kqKeEC1xsJ3je5oWECUqtCcfUQqU6NBH+Qs3zckLK/r5OHOsX+rbr2MSjWBl MEFHz/sVv1f1L0Mf8Q4Yh+JrmeaUv3JbekOczV1UYBSe14ggvss1Oz6ndbMqz4yyhNr/ 9ANIpBMkn1emgH+ldznWVcDUzKPGXaDD3fbp+nhc5NFPJ9z2nz2yNngbTXgUA6dHo5Xs iBx5t60vSAdqRHSk2+/eMiSm0XZVgWV4lM7FjfHBzRxwQfvUxRhyjFOSAh0sGBXSjb0k UVEA== X-Gm-Message-State: AOAM532HjY9pUXX3NTC8b6XNNLwEkHcV9UDLVxgf2IxEXIXWCXpTEvQ2 J4/wyJsqqUYKpL5p0D/jV09JFnRRiedFsWlhip4= X-Google-Smtp-Source: ABdhPJzJ+60I5fx9yWgYUL+DPgk2hd88/2CmZxwylX5z4dmFljVuHuAdssCmlK4hOMaounw5K8mxG9Zb5MTWiLMBmVo= X-Received: by 2002:a25:b88b:: with SMTP id w11mr54850660ybj.129.1597198195672; Tue, 11 Aug 2020 19:09:55 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 11 Aug 2020 19:09:55 -0700 In-Reply-To: <83inwz3l78.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 23 Jun 2016 19:48:43 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:184721 Archived-At: tags 23835 + notabug wontfix close 23835 thanks Eli Zaretskii writes: >> 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. 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