emacs ebuild[bash] mode makes entering <<< extremely difficult as << is transformed to: <<EOF EOF This doesn't make sense for plain bash mode either, where I have been told this behaviour originates. I'm using emacs-22.1-r3.
It's not a bug, it's a feature. Possible workarounds: 1. Type "C-u 3 <" 2. Disable it with (define-key sh-mode-map "<" 'self-insert-command) Please report upstream, if you want this behaviour changed.