|
From: | Blake McBride |
Subject: | Re: [Bug-apl] Emacs mode: can't create a function with no lines |
Date: | Fri, 9 May 2014 07:27:01 -0500 |
OK, I'm confused, That should not happen.Could you change the code that displays the error (line 102 in gnu-apl-editor.el) to ad some logging?This line contains the following form, followed by a few extra end-parentheses:(error "Unexpected error: " (second return-data))Change this _expression_ to:(progn (message "Data:%S:End-Data" return-data) (error "Unexpected error: " (second return-data)))In other word, surround the _expression_ with (progn ...) and add a call to the function message.Then, reproduce the error so you get the "unexpected error" message, switch to the buffer *Messages* and send me the output of the command. I.e, the stuff that begins with "Data" and ends with "End-Data"Regards,EliasOn 9 May 2014 19:54, Blake McBride <address@hidden> wrote:
I just did a make clean, followed by a make under native. Also verified that emacs is loading the one I just built. Same errors.Thanks.BlakeOn Fri, May 9, 2014 at 6:48 AM, Elias Mårtenson <address@hidden> wrote:
Right, but did you compile the module in the "native" directory and point your Emacs to use it?On 9 May 2014 19:44, Blake McBride <address@hidden> wrote:
$ git pullAlready up-to-date.$On Fri, May 9, 2014 at 6:32 AM, Elias Mårtenson <address@hidden> wrote:
Hmm... I think I have an idea what's going on.Can you try with the latest version of gnu-apl-mode? That means both the Elisp code as well as the name module.Regards,EliasOn 9 May 2014 19:21, Blake McBride <address@hidden> wrote:
Dear Elias,Emacs version 24.3.1.I always have to move the cursor or I get the other error. So, after I move the cursor and attempt to save, I get the second error:Unexpected error:Thanks.BlakeOn Fri, May 9, 2014 at 12:14 AM, Elias Mårtenson <address@hidden> wrote:
Yes, I've been told that this happens. I just can't seem to reproduce it though. Can you confirm that it doesn't happen if you move the cursor prior to pressing C-c C-c?
What version of Emacs are you using?Regards,EliasOn 9 May 2014 11:59, Blake McBride <address@hidden> wrote:
From within emacs mode I do:∇xxand then save without adding any lines, emacs gives:Unexpected error:Thanks!Blake
[Prev in Thread] | Current Thread | [Next in Thread] |