Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I submitted a pull request to MELPA (melpa/melpa#9788) to get the Macaulay2 Emacs package included.
For the most part, everything looked good, but there's a big show-stopper: a standard Emacs convention is that package names should be all lower-case. So
M2won't work. However,macaulay2would be fine.So in this PR, we:
M2.elandM2-symbols.eltomacaulay2.elandmacaulay2-symbols.el, resp.M2-prefixes tomacaulay2-prefixes.M2-prefixed interactive functions and custom variables will still work (with an "obsolete" warning).M2(now an alias formacaulay2) is still set up as an autoload, since it's the primary entry point for most users. (Although most folks probably use F12 and may be none the wiser if the function name changes.)M2.elstill exists, but prints a little warning and then loadsmacaulay2. (As doesM2-mode, which hasn't had any actual code since 2003!)M2-init.el, which is loaded in the.emacssnippet set up bysetupEmacs(), still works for setting up the autoloads.So hopefully, things should work nicely out of the box for most users.
A couple other advantages besides getting in MELPA:
macaulay2would probably be my first guess of the package name if I didn't know it already.macaulay2package name.m2-mode, the Modula-2 major mode!@mahrud @mikestillman @antonleykin: Thoughts?