I added this to misc.el, but it could be added to a separate file as well. >> +(defun Man-at-mouse (e) >> ... >> +(defun Man-context-menu (menu click) >> + "Populate MENU with commands that open a man page at point." >> + (save-excursion >> + (mouse-set-point click) >> + (when (save-excursion > > It seems the second 'save-excursion' is superfluous? > >> + (skip-syntax-backward "^ ") >> + (and (looking-at >> + "[[:space:]]*\\([[:alnum:]_-]+([[:alnum:]]+)\\)") >> + (match-string 1))) >> + (define-key-after menu [man-separator] menu-bar-separator) >> + (define-key-after menu [man-at-mouse] >> + '(menu-item "Open man page" man-at-mouse > > Typo: the command name is capitalized 'Man-at-mouse'. > >> + (mouse-set-point click) >> + (when (symbol-at-point) > > This can be simplified to: > > (thing-at-mouse click 'symbol) Thanks for the hints, I have fixed them locally. -- Philip Kaludercic