ignoring eshell data directory
Setting term-unbind-key-list
Adding foil tex helper function.
Debug.

When the last character of buffer is not new line,
the last line was killed.