Very messy piece of code, but works none the less to let you display all meaningful messages after emerge. It will get parse emerge.log to get information about last emerge, match emerge to logfiles in /var/log/portage (provided you enabled logging), and display them in a readable fashion. Maybe something similar should be added to portage?