all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: bvraghav@iitk.ac.in (B.V. Raghav)
To: help-gnu-emacs@gnu.org
Subject: C Headers completion candidates
Date: Thu, 14 Jul 2016 10:21:49 +0530	[thread overview]
Message-ID: <87k2gozusa.fsf@ram.bvr.dp.lan> (raw)

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




             reply	other threads:[~2016-07-14  4:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-14  4:51 B.V. Raghav [this message]
2016-07-14 13:02 ` C Headers completion candidates 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k2gozusa.fsf@ram.bvr.dp.lan \
    --to=bvraghav@iitk.ac.in \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.