wxMaxima-developers / wxmaxima

A gui for the computer algebra system Maxima built with wxWidgets
https://wxMaxima-developers.github.io/wxmaxima/
Other
469 stars 98 forks source link

macOS smart quotes break path of Maxima startup commands #1418

Open divarre opened 3 years ago

divarre commented 3 years ago

Version: wxMaxima 20.09.0 Tested on: macOS 10.15.7

When “Use smart quotes and dashes” is enabled in System Preferences > Keyboard > Text,

1

and I have set wxMaxima to execute commands at every start of Maxima,

4

and if I close and re-open the wxMaxima preferences and go to the “Startup commands” tab again,

then the straight double quotes in the path of the commands are replaced by curly double quotes.

2

This breaks Maxima, and it hangs on “Reading Maximat output“ and stores all evaluated cells in the evaluation queue.

3

To prevent this, the “Use smart quotes and dashes” must be disabled in System Preferences > Keyboard > Text.

gunterkoenigsmann commented 3 years ago

If wxWidgets 3.1 is used wxMaxima can turn off smart quotes automatically. But for wxWidgets 3.0 that isn't possible.

divarre commented 3 years ago

Thanks for looking into it! I'll give it a try.