unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* C Headers completion candidates
@ 2016-07-14  4:51 B.V. Raghav
  2016-07-14 13:02 ` Stefan Monnier
  2016-07-14 14:27 ` Drew Adams
  0 siblings, 2 replies; 9+ messages in thread
From: B.V. Raghav @ 2016-07-14  4:51 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

I want a set of completion candidates for c-headers, something like
`auto-complete c headers'. Only, I do not want the complete ac-library
tagged along, nor do I want the popups.

Personally, I want to use the icicles interface, where I feel
comfortable.

Step 1. Identifying the context
--- Example
#include <vec|>
---
`|' represents the cursor here
I think I can code the regexp here

Step 2. Set of completion candidates
Search the $INCLUDE environment variable, with `visited' flags on the
folders that have been visited; and create the set of completion
candidates, one in a line

I hope there is a smarter way?

Step 3. Tell Icicles to invoke these set of completion candidates, when
the context is active. How? I do not know.

Help appreciated.

Thanks,
r

-- 
(B.V. Raghav)
Ph.D. Student,
Design Programme, IIT Kanpur




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-07-18 14:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-14  4:51 C Headers completion candidates B.V. Raghav
2016-07-14 13:02 ` Stefan Monnier
2016-07-14 14:27 ` Drew Adams
2016-07-17  8:40   ` B.V. Raghav
2016-07-17 15:02     ` Drew Adams
2016-07-18  3:07       ` B.V. Raghav
2016-07-18  5:17         ` Drew Adams
2016-07-18 11:21           ` B.V. Raghav
2016-07-18 14:17             ` Drew Adams

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).