Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Amusing confusion involving colon ideals #33

Open
mahrud opened this issue Aug 31, 2022 · 0 comments
Open

Amusing confusion involving colon ideals #33

mahrud opened this issue Aug 31, 2022 · 0 comments

Comments

@mahrud
Copy link
Member

mahrud commented Aug 31, 2022

Here's a very amusing but unfortunate bug that only happens if you copy paste this string and run it from Emacs:

R = QQ[x,y,z]
i3 = (ideal vars R)^3
i3 : 0 == 1 -- false in Emacs, true in terminal
i3  : 0 == 1 -- always true
(i3 : 0) == 1 -- always true

Of course, this is because i3 : is interpreted by M2-mode as being the prefix of an input line in M2, so it is stripped from the command actually sent to M2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant