Emacs smart mode line respect code structure.

Smart mode line respect source code directory structure.