hi Patrick > (global-set-key [f7] 'comint-kill-output) > or > (define-key ess-mode-map [f7] 'ess-comint-kill-output) where are those functions defined?