<div dir="ltr"><div><div><div>Hello all <br></div>I started learning agda and installed <a href="http://emacsformacosx.com/">gnu-emacs </a>version 24.2 and I followed all the instructions given of <a href="http://wiki.portal.chalmers.se/agda/pmwiki.php?n=Main.MacOSX">wiki</a> except aquamacs and library installation ( Currently I am not trying to import any library ). I have written this small code Test.agda <br>
<br>Module Test <br><br>data Bool : Set where<br> true : Bool<br> false : Bool <br><br></div>I am not getting any syntax highlights and when I am opening this file ( C-f C-x ) , getting errors <br><br>File mode specification error: (file-error "Searching for program" "No such file or directory" "agda") [2 times]<br>
(No changes need to be saved)<br>Starting agda process `agda'.<br>apply: Searching for program: No such file or directory, agda<br>progn: Another command is currently in progress<br>(if a command has been aborted you may want to restart Agda)<br>
<br></div><div>I am using ghc-7.6.1 , Agda-2.3.2 and mtl-2.1.2 ( After bit of searching I got this post <a href="https://lists.chalmers.se/pipermail/agda/2012/004675.html">https://lists.chalmers.se/pipermail/agda/2012/004675.html</a> but the problem was mtl-2.1 which is not in my case ). My .emacs file configuration is <br>
<br>; sane path<br>(setq path "/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/mukeshtiwari/Programming/GHC/ghc-7.6.1/bin:/Users/mukeshtiwari/.cabal/bin:/Users/mukeshtiwari/Erlang/bin:/Users/mukeshtiwari/Programming/Scala/scala-2.10.0/bin:/usr/local/smlnj-110.75/bin")<br>
(setenv "PATH" path)<br><br>(load-file (let ((coding-system-for-read 'utf-8))<br> (shell-command-to-string "agda-mode locate")))<br><br>(put 'downcase-region 'disabled nil)<br>
<br><br></div><div>Kindly tell me how to resolve this issue. <br><br></div><div>Regards <br>Mukesh Tiwari<br></div></div>