add & mod emacs macro, nslookup, perl