Jörgen,
Thank you for your explanations.
So according to me:
- the advantage of your patch is that, when we define a function or a
class in the shell, the history is not cluttered anymore with
meaningless chunk of code (the various line of the function that have no
meaning outside it).
- the drawback is that if you did something wrong in the middle of a
function definition you have no chance to correct it using the shell
history.
Tell me if I'm right.
Regards,
Vivian.