I have a problem with both of those methods.
1. Shift-enter surely adds a line on top of the line in question, but it's part of the same execution group. So if I press enter to evaluate either one of the two resultant lines, BOTH lines get evaluated even if it's important that only one does.
2. Even after making the prompt="" , lines that are created this way are still treated differently by maple than normal lines. You can tell the difference because when you make a line by using CTRL+J or CTRL+K , and have the prompt="" , you get a black square left bracket on the left of your line, while lines that are not created this way do not have anything at the beginning of the line. This a problem in evaluting lines, for example:
If I have 3 lines in a row that I want to evaluate, and the middle one has the square left bracket at the beginning (was created by CTRL+J) and the other two don't , and I press "ENTER" three times.. It will only evaluate the first and second ones. This middle one is jumped over because of the bracket at the beginning.
Is there a way to add new lines without the above two problems ??
I'd be very surprised if not.