On 23/01/2013 16:38, ciao(a)clip.dia.fi.upm.es wrote:
I notice when installing Ciao Prolog on Windows a message that Emacs is not installed, and it wants to install Emacs 22. Is there anything wrong with more recent versions?
No, it should work fine with the latest versions. Please let us know if you run into any problems. --Manuel H
I was installing from CiaoDE-1.14.2-13646.exe which sets up an Emacs-based programming environment, but only if Emacs 22 is installed. It does not detect any more recent version of Emacs that may be installed. If more recent versions are OK, can the programming environment be set up manually?
Yes, it should work by putting manually the load in your .emacs file:
(load-file "c:/Program Files/CiaoDE/emacs-mode/ciao-mode-init.el")
After you put this (and restart emacs) it should recognize .pl files as Ciao files, and show all the buttons and menus.
Regarding newer versions of emacs, they should work, but if they are too modern some things may not be backward compatible with the code in the (now somewhat old) 1.14 emacs interface. Check for example symbol help: put the cursor on a call to a library predicate (e.g., findall) and hit the symbol help button:
|--?--|
(or type C-c TAB) and it should take you to the corresponding manual page. This does not work in some newer versions of emacs with 1.14.
Newer versions of emacs do work with just fine with Ciao 1.15 (the development version), but unfortunately the emacs part of the 1.15 Windows installer seems to be broken (it is for some reason using cygwin paths) and as we mentioned we are in the middle of switching servers and moving from svn to git and cannot put up a new, working version right now. Please bear with us by using 1.14 until we can upload a new 1.15 (or 1.16) windows installer.
Apologies for the inconvenience, and let us know if you still have problems with the solution above for 1.14.
--Manuel H