[Agda] command line type checker vs interactive

Andrés Sicard-Ramírez asr at eafit.edu.co
Thu Dec 31 18:38:42 CET 2015


Emacs version?

Which is the output of

  $ agda-mode --version

?

1. Remove the directory ~/.cabal/share/x86_64-linux-ghc-7.10.2/Agda-2.5

2. Install Agda using

  $ make install-bin

3. Use a clean .emacs only containing

 (load-file (let ((coding-system-for-read 'utf-8))
                (shell-command-to-string "agda-mode locate")))


Did you get the same error after loading

  postulate
    Foo : Set

?



On 31 December 2015 at 11:49, Sergei Meshveliani <mechvel at botik.ru> wrote:
> On Thu, 2015-12-31 at 10:38 -0500, Andrés Sicard-Ramírez wrote:
>> On 31 December 2015 at 09:30, Sergei Meshveliani <mechvel at botik.ru> wrote:
>> > Year or two ago, similar settings worked.
>> > But this year, it says only  "Another command is currently in progress".
>>
>> Which is the output of
>>
>>   $ type agda
>>
>> ?
>
>   "agda is /home/mechvel/.cabal/bin/agda"
>
>
>> After loading (C-c C-l) the file
>>
>> postulate
>>   Foo : Set
>>
>>
>> which is the content in the Emacs buffers *Messages* and *agda2*?
>>
>
> --*Messages* -------------------------------------------
>
> ("emacs" "TT.agda")
> Loading 00debian-vars...done
> Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
> Loading debian-ispell...
> Loading /var/cache/dictionaries-common/emacsen-ispell-default.el
> (source)...done
> Loading debian-ispell...done
> Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el
> (source)...done
> Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done
> Loading /etc/emacs/site-start.d/50git-core.el (source)...done
> Loading /etc/emacs/site-start.d/50latex-cjk-common.el (source)...
> Loading cjk-enc...done
> Loading /etc/emacs/site-start.d/50latex-cjk-common.el (source)...done
> Loading /etc/emacs/site-start.d/50latex-cjk-thai.el (source)...done
> Loading /etc/emacs/site-start.d/50thailatex.el (source)...done
> Loading /home/mechvel/.cabal/share/x86_64-linux-ghc-7.10.2/Agda-2.5/emacs-mode/agda2.el (source)...done
> For information about GNU Emacs and the GNU system, type C-h C-a.
> Loading quail/latin-ltx...done
> Starting agda process `agda'.
> (No changes need to be saved)
> agda2-abort-if-in-progress: Another command is currently in progress
> (if a command has been aborted you may want to restart Agda)
> ----------------------------------------------------------------
>
> -- *agda2* -----------------------
>
> Process Agda2 exited abnormally with code 1
> IOTCM "/home/mechvel/doconA/0.04/source/TT.agda" NonInteractive Indirect
> ( Cmd_load_highlighting_info
> "/home/mechvel/doconA/0.04/source/TT.agda" )
> ----------------------------------
>
>
>
>
>
> "La información contenida en este correo electrónico está dirigida únicamente a su destinatario y puede contener información confidencial, material privilegiado o información protegida por derecho de autor. Está prohibida cualquier copia, utilización, indebida retención, modificación, difusión, distribución o reproducción total o parcial. Si usted recibe este mensaje por error, por favor contacte al remitente y elimínelo. La información aquí contenida es responsabilidad exclusiva de su remitente por lo tanto la Universidad EAFIT no se hace responsable de lo que el mensaje contenga."
>
> "The information contained in this email is addressed to its recipient only and may contain confidential information, privileged material or information protected by copyright. Its prohibited any copy, use, improper retention, modification, dissemination, distribution or total or partial reproduction. If you receive this message by error, please contact the sender and delete it. The information contained herein is the sole responsibility of the sender therefore Universidad EAFIT is not responsible for what the message contains."



-- 
Andrés


More information about the Agda mailing list