The first thing that comes to my mind, redefine the binding of C-k and backspace only in fricas-mode to your own functions. That function should just check where it is and then either call the original behaviour or (if on the first o and pressing backspace, or after the last i and pressing C-k) doing nothing.
I am sure you are better at elisp than me to find out where to twist these bindings. Ralf > (There is one known serious bug: the newline after input is not read-only. If > somebody knows how to set the text-properties properly, it would make me very > happy. More precisely, I have the following situation: > > ppppppiiiiiiiiiiiiiiiiiiiiiiiiiii > ooooooooooooooooooooooooooooooooooooooooooooo > ooooooooooooooooooooooooooooooooooooooooooooo > > where p is prompt and read-only > o is output and read-only > i is input and writeable. > > if point is somewhere on i and I press C-k (twice), then I get > > ppppppiiiiiiiiiiiiiooooooooooooooooooooooooooo > ooooooooooooooooooooo > > Same if one presses backspace sitting on the very first o. > > Help most appreciated, > > Martin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/fricas-devel?hl=en -~----------~----~----~----~------~----~------~--~---
