Macaulay2 / M2-emacs

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

Jump to files in comments #6

Closed d-torrance closed 3 years ago

d-torrance commented 3 years ago

Maybe a better solution would be to fix the Emacs mode so that it will still jump to a file even with -- in front?

Sure, that would be nice. Then code can also put -- before the source code, so the output can be correctly evaluated.

Originally posted by @mahrud in https://github.com/Macaulay2/M2/issues/1762#issuecomment-752701626

mahrud commented 3 years ago

Here is where the changes would need to occur: https://github.com/Macaulay2/M2-emacs/blob/54c0c47e352ec2ca2766ac219a41a800767570c7/M2.el#L303-L360