As an extra note: The problem I encountered was when the alias was defined using single quote marks:
alias ls='ls blabla "problem"' this is parsed to: ("ls" . "blabla \"problem\"") Which is written as: alias ls="blabla "problem"" Which is wrong. So the problem relies on the fact that the quotations marks have been changed from ' to " and the escaping have not been adjusted accordingly. :)