add get-dwim-at-point function

this probably already exists in variations, somewhere.