built-in add -p: implement the 'g' ("goto") command