handle edit exceptions, timeout after succesful edit
generalize pacman.conf template