Macaulay2 / M2-emacs

Macaulay2 emacs files
GNU General Public License v3.0
5 stars 3 forks source link

Update symbol completion #27

Closed d-torrance closed 2 years ago

d-torrance commented 2 years ago

The current symbol completion function, M2-dynamic-complete-symbol, calls comint-dynamic-simple-complete, which was made obsolete in Emacs 24.1, released a decade ago.

We update the M2 major modes to use the standard completion-at-point function. This has the added advantage of working with completion frameworks like company-mode out of the box.