\hspace does not work at the beginning of line. The poster was writing a call stack and needed each line to be indented by varying amount of space. Much better would be to ask I need to write a call stack with indented lines.

Redefining \verb to be \url The poster asked about changing some LaTeX commands. After a short discussion, it was found that his real issue is that the \verb command gets nice highlight in Emacs and he wanted \url to be highlighted the same way. The correct question would state something like How to get Emacs properly highlight \url.