From: Eli Zaretskii <eliz@gnu.org>
To: Wilfred Hughes <me@wilfred.me.uk>
Cc: emacs-devel@gnu.org
Subject: Re: Why is .ml associated with lisp-mode in auto-mode-alist?
Date: Sun, 24 Jun 2018 17:39:47 +0300 [thread overview]
Message-ID: <83efgwtfik.fsf@gnu.org> (raw)
In-Reply-To: <CAFXAjY5kAutTX1JMKutKSJreKwdzwAuM74qdxO-yeeJWB5WctA@mail.gmail.com> (message from Wilfred Hughes on Sun, 24 Jun 2018 12:28:25 +0100)
> From: Wilfred Hughes <me@wilfred.me.uk>
> 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.
prev parent reply other threads:[~2018-06-24 14:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-24 11:28 Why is .ml associated with lisp-mode in auto-mode-alist? Wilfred Hughes
2018-06-24 11:58 ` Andreas Schwab
2018-06-24 12:05 ` Alexis
2018-06-24 12:23 ` Adam Sampson
2018-06-24 20:12 ` Richard Stallman
2018-06-24 20:55 ` Paul Eggert
2018-06-25 10:00 ` Andreas Röhler
2018-06-25 10:25 ` Andreas Röhler
2018-07-05 16:08 ` Perry E. Metzger
2018-06-24 14:39 ` Eli Zaretskii [this message]
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=83efgwtfik.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=me@wilfred.me.uk \
/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.