On 26/04/12 22:43, Emilio Jesús Gallego Arias wrote:
Dear John,
"John O'Gorman" <john(a)og.co.nz> writes:
- In the Ciao query window the first query works as expected but when
it completes a. the query prompt ?- shows on a new line b. but the cursor is before it instead of after. c. arrow keys etc are echoed OK but the query engine does not respond. ciao 1.10p8
This is a bug in Ciao emacs mode fixed in recent releases. You may upgrade to a more recent Ciao version (I guess this is the recommended choice) or you may apply the following fix:
In the ciao-debug-filter function (locate it with C-h f), replace this code:
,---- | ciao-debug-filter-pending-text nil)) | (save-excursion | (set-buffer (process-buffer proc)) `----
by this one:
,---- | ciao-debug-filter-pending-text nil)) | (save-current-buffer | (set-buffer (process-buffer proc)) `----
Regards, Emilio
Thanks Emilio and Jose
The above fix did not work for me. So I downloaded the source for v 1.14, compiled and installed that and it works fine.
Still no luck with Xemacs. I'm not worried about that as there seems very little difference on the openSUSE platform between the 2 apps.
I also installed the Mac port and found that the emacs I had on that machine did not behave properly. So I looked for more ports of emacs to the Mac. Rather arbitrarily I chose Aquamacs and it worked properly with Ciao 1.14.
I gather that Aquamacs is not quite kosher in that it conforms to Apple Mac conventions more than GNU emacs. Any comments?
Anyway thanks for the advice so far. I can now settle down to becoming familiar with Ciao in the emacs environment.
Regards John O'Gorman