emacs log which function snippet