Hello, See https://github.com/sagemath/sagenb/pull/290#event-206993817 and links from there for details and examples.
Basically, notebook cells have whitespace stripped from the beginning and the end (of the whole cell, not each line). This leads to problems with languages that require some spacing in front, like Fortran in this case, and can lead to strange results with other languages where indentation matters, like Python. The proposed fix for Fortran is to detect that this is Fortran and do only right stripping, not left. It seems to me that there should be no such stripping at all - don't mess with the code in a language you don't know! It is like autocorrection enabled by default that will "fix" your writing just because it does not understand that it is already correct. (Last summer I wasted a lot of time because password capitalization was changed by autocorrector.) Note that this issue is actually orthogonal to supporting "block dedent"/"prompt stripping" which is useful for copy-pasting examples from documentation that will all start with "sage:" Does anyone have arguments to keep stripping? Thank you, Andrey -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.