Alan Baljeu writes:
?- ensure_loaded('C:\ciao-1.8p2Win32\tmp\test.pl').
yes ?- write('e\tf'). e f yes ?-
Surely it's prolog which interprets the single \ as an escape sequence? But 2 \ works okay.
What I get in Linux from your second query is
?- write('e\tf'). e f yes
because '\t' is passed to Ciao Prolog verbatim and interpreted as a tabular by Ciao Prolog; see also:
?- set_prolog_flag(write_strings, off).
yes ?- atom_codes('e\tf', X).
X = [101,9,102] ?
yes
where \t translates to the ninth ascii code (sorry about this low level parlance). However I guess that this is not what is happening in your case, i.e., Ciao Prolog is not receiving a backslash _and_ a 't', but some precooked code. Again, if this is so, it is the Emacs mode which should be change to behave properly under XEmacs.
MCL
__________________________________________ ¡Ay, qué miedo saber tanto! (Lola Flores). ============================================================================== Message: Address: Action: help majordomo(a)clip.dia.fi.upm.es Info. on useful commands subscribe ciao-users-request(a)clip.dia.fi.upm.es Subscribe to this list unsubscribe ciao-users-request(a)clip.dia.fi.upm.es Unsubscribe from this list <whatever> ciao-users(a)clip.dia.fi.upm.es Send message to list ----------------------------------------------------------------------------- Archived messages: http://www.clip.dia.fi.upm.es/Mail/ciao-users/ -----------------------------------------------------------------------------