unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* ElDoc configuration advice
@ 2020-12-22 11:54 Angel de Vicente
  0 siblings, 0 replies; only message in thread
From: Angel de Vicente @ 2020-12-22 11:54 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I've been trying to configure ElDoc to help me while writing C code, but
somehow I cannot make it work properly for the standard libraries, so I
was hoping somebody here could give me some hints.

My setting for ElDoc right now is just: 

,----
| ;;; ElDoc
| ;;; https://github.com/nflath/c-eldoc
| (add-hook 'c-mode-hook 'c-turn-on-eldoc-mode)
| (setq c-eldoc-includes "`pkg-config gtk+-2.0 --cflags` -I./ -I/.. -I/usr/include/")
`----

I modified the c-eldoc-includes variable to include /usr/include, where
stdio.h, etc. are located, but when I write a function name I always get
the message "Function doesn't exist".

Anybody here with a working ElDoc setting that can shed some light on
what I'm missing?

Many thanks,
-- 
Ángel de Vicente
http://angel-de-vicente.blogspot.com/




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-22 11:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-22 11:54 ElDoc configuration advice Angel de Vicente

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).