[PATCH] Avoid syntax complaints in #'substitute-in-file-name

Stephen J. Turnbull stephen at xemacs.org
Fri Dec 14 15:12:37 EST 2007


Aidan Kehoe writes:
 > 
 >  Ar an dara lá déag de mí na Nollaig, scríobh Stephen J. Turnbull: 
 > 
 >  > QUERY
 >  > 
 >  > Aren't we being altogether too smart for our own good at C level? 
 > 
 > Yes. 
 > 
 >  > If you're going to try to second-guess a luser, do it in Lisp. If you
 >  > really think you need to do this here, I question whether
 >  > substitute-in-file-name isn't being called in the wrong place or with
 >  > insufficient protection.
 > 
 > It's called when determining the user's home directory at startup; also from
 > load-internal. I don't think making use of #'substitute-in-file-name's
 > features at dump time is a particularly good idea, so it might be a better
 > idea to move the function to Lisp and only call it from both places if it's
 > bound.

Thanks for the analysis.



More information about the XEmacs-Patches mailing list