lokedhs / gnu-apl-mode

GNU APL mode for Emacs
GNU General Public License v3.0
94 stars 19 forks source link

Can't change/edit functions after having saved them about 2-4 times #39

Open okflo opened 4 years ago

okflo commented 4 years ago

hi Elias, hi APL-folks,

first let me thank for this sexy piece of software! I am new to the APL-world, but really enjoy wraping my mind around these wonderful symbols! :)

I am running current gnu-apl (svn1242) with current gnu-apl-mode (20200108.1633) under current GNU/Linux Emacs (from git) and MacOSX Emacs (26.3 from brew). Tried also with emacs -Q, having only loaded gnu-apl-mode. Both versions/platform show the same error:

Working out of the plain terminal with gnu-apl, editing functions in line-editing, multiple redefining functions, etc - works fine.

Thanks for any help or hint!

br okflo

okflo commented 4 years ago

Calling )SIC seem to mitigate the issue - as afterwards an function-edit buffer can be saved.

JanPeterP commented 4 years ago

Gentlemen I am no hacker but have used it for a while . Mostly as a calculator. I run under Linux Ubuntu 18.04.5 LTS I Use multiple buffers
When I create the function and try to compile ctrl c -c it dont work . I have to save it under a " name.apl " Close the file and reopen it ctrl x -f .. " name.apl " only the first time And then compile it then it works with no changes.
I Have noticed that when I compile - it can blink green but no function is created with no error messages In the function buffer .But it can be a code error this Emacs solution is the bomb I just copy the code line or lines from the function window ( buffer ) to the calling buffer past it there push enter button and get error message .Adjusting the code and go on until ) fns in the main buffer writes that the compilation has created the function. Variables can be set in the calling buffer so nothing needs to be in the function call I dont use fancy APL " oneliners " i use it i more as a line for line program And calculating in the main buffer. without functions. I have not noticed any problems saving and editing Straight forward world class ctrl x -s and ctrl -c - c Up to the calling buffer move with the Mouse cursor to the )fns to verify that the function is there with some )clear and )fns for verification Apologize if this is off topic .. Perhaps can give some hints on how enormously good this is. Keys Must have English keyboard .. But in Ubuntu one can have multiple and change via Windows button and spacebar.