From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Why is .ml associated with lisp-mode in auto-mode-alist? Date: Sun, 24 Jun 2018 17:39:47 +0300 Message-ID: <83efgwtfik.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1529851107 31831 195.159.176.226 (24 Jun 2018 14:38:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 24 Jun 2018 14:38:27 +0000 (UTC) Cc: emacs-devel@gnu.org To: Wilfred Hughes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 24 16:38:23 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fX69k-00089Y-V7 for ged-emacs-devel@m.gmane.org; Sun, 24 Jun 2018 16:38:21 +0200 Original-Received: from localhost ([::1]:42146 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fX6Bq-0006CF-JG for ged-emacs-devel@m.gmane.org; Sun, 24 Jun 2018 10:40:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fX6BF-0006CA-6H for emacs-devel@gnu.org; Sun, 24 Jun 2018 10:39:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fX6BC-0007as-2t for emacs-devel@gnu.org; Sun, 24 Jun 2018 10:39:53 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54728) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fX6BB-0007aj-Vl; Sun, 24 Jun 2018 10:39:50 -0400 Original-Received: from [176.228.60.248] (port=4193 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fX6BB-0000j6-Cy; Sun, 24 Jun 2018 10:39:49 -0400 In-reply-to: (message from Wilfred Hughes on Sun, 24 Jun 2018 12:28:25 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:226648 Archived-At: > From: Wilfred Hughes > Date: Sun, 24 Jun 2018 12:28:25 +0100 > > I've noticed the following line in files.el: > > ("\\.ml\\'" . lisp-mode) > > This seems strange to me: .ml files are generally ML or Ocaml. Git > history says this line was added to Emacs in 1992 in commit > 7b3f3dc2bba80d, but that commit doesn't suggest why this association > was added. > > I'm not aware of any lisp file formats that use *.ml files, and > lisp-mode is not well suited for editing ML-family code. As others pointed out, it's for Mocklisp. See http://www.linuxmisc.com/10-unix-questions/e10216400ac9037d.htm > Does anyone object to me removing it? If I don't hear back I'll remove > it in a few days. I'm not sure I understand: you want to remove that association without replacing it with any other mode? Why is that a good idea? (I could understand if you were suggesting to replace lisp-mode by something else, but removing this with no replacement just means users will have to customize their Emacs anyway, so we will not gain anything in terms of usability OOTB. Or am I missing something? Thanks.