lokedhs / gnu-apl-mode

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

Error using )-commands in edit function #20

Open fourier opened 7 years ago

fourier commented 7 years ago

When editing interactive function, it is not possible to close/save function buffer with Ctrl-c Ctrl-c when the function contains build-in function calls like

)HOST 'ls'

The error is Error on line 41: Error parsing expression

fourier commented 7 years ago

Nevermind, my mistake somewhere.

lokedhs commented 7 years ago

This message is displayed if GNU APL is not able to define the function. The error message should probably be more clear. Could you provide an example of some code that triggers this so that I can test it?

fourier commented 7 years ago

Basically there is no way to insert this text into the function. The only way to have ")"-commands in the function is to wrap them to string and eval: ⍎")HOST 'ls'"