[cl-who-devel] Question about *escape-char-p*

HI, Hope this is not too dumb a question. I am trying to run the hunchentoot-test example with the hunchentoot system. Each time I try to run the easy demo, get demo or post demo I get the error "Error in KERNEL:%COERCE-TO-FUNCTION: the function CL-WHO:*ESCAPE-CHAR-P* is undefined." Could you explain why this occurs. It also happens to me when I try use the escape-string method in code. FYI: I changed the *attribute-quote-char* in who.lis from #\' to #\" Thanks Paul

On Thu, 18 Jan 2007 18:45:29 -0800, "Paul Thirumalai" <paul.thirumalai@gmail.com> wrote:
I am trying to run the hunchentoot-test example with the hunchentoot system. Each time I try to run the easy demo, get demo or post demo I get the error
"Error in KERNEL:%COERCE-TO-FUNCTION: the function CL-WHO:*ESCAPE-CHAR-P* is undefined."
Strange. Are you using the newest version of all libraries? Could you provide a backtrace of the error? Also, we'd need information about your Lisp implementation and OS.
Could you explain why this occurs. It also happens to me when I try use the escape-string method in code. FYI: I changed the *attribute-quote-char* in who.lis from #\' to #\"
I assume you mean who.lisp. But of course the idea is that you change this value in your code and not in the source code of the library. Cheers, Edi.

Thanks so much. Undoing the change to *attribute-quote-char* fixed the issue. * Now I am using (setf *attribute-quote-char* #\") in my own code where ever I need to do it. On 1/18/07, Edi Weitz <edi@agharta.de> wrote:
On Thu, 18 Jan 2007 18:45:29 -0800, "Paul Thirumalai" < paul.thirumalai@gmail.com> wrote:
I am trying to run the hunchentoot-test example with the hunchentoot system. Each time I try to run the easy demo, get demo or post demo I get the error
"Error in KERNEL:%COERCE-TO-FUNCTION: the function CL-WHO:*ESCAPE-CHAR-P* is undefined."
Strange. Are you using the newest version of all libraries? Could you provide a backtrace of the error? Also, we'd need information about your Lisp implementation and OS.
Could you explain why this occurs. It also happens to me when I try use the escape-string method in code. FYI: I changed the *attribute-quote-char* in who.lis from #\' to #\"
I assume you mean who.lisp. But of course the idea is that you change this value in your code and not in the source code of the library.
Cheers, Edi.

On Mon, 22 Jan 2007 09:13:41 -0800, "Paul Thirumalai" <paul.thirumalai@gmail.com> wrote:
Thanks so much. Undoing the change to *attribute-quote-char* fixed the issue.
Good.
Now I am using (setf *attribute-quote-char* #\") in my own code where ever I need to do it.
As this is a global special variable, you shouldn't set its value but rather bind it (with LET), see for example Peter's chapter about variables, and the section about dynamic variables in particular: http://www.gigamonkeys.com/book/variables.html Cheers, Edi.
participants (2)
-
Edi Weitz
-
Paul Thirumalai