eldoc-box icon indicating copy to clipboard operation
eldoc-box copied to clipboard

how to disable "embark on _____" messages from appearing

Open margaretjoanmiller opened this issue 1 year ago • 2 comments

is there a way to prevent the "embark on _____" messages from appearing in eldoc-boxes? eldoc box example of embark message

margaretjoanmiller avatar Aug 26 '23 23:08 margaretjoanmiller

It seems to be some message that Embark displays using eldoc functionality? You can take a look at eldoc-documentation-functions and see if there's anything you can configure.

casouri avatar Oct 09 '23 06:10 casouri

@0x4d6165 This is caused by this hook that I assume you have set:

(add-hook 'eldoc-documentation-functions #'embark-eldoc-first-target)

Here's the full text from example config on #oantolin/embark

;; Show the Embark target at point via Eldoc.  You may adjust the Eldoc
;; strategy, if you want to see the documentation from multiple providers.
(add-hook 'eldoc-documentation-functions #'embark-eldoc-first-target)
;; (setq eldoc-documentation-strategy #'eldoc-documentation-compose-eagerly)

States you can adjust strategy, but I found out it was still just to chatty and took-out that hook.

jeff-phil avatar Nov 17 '23 23:11 jeff-phil