From: Nordlöw <per.nordlow@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: how to get the exhaustive list of auto completions while editing in .c or .cpp file.
Date: Thu, 20 Nov 2008 02:47:09 -0800 (PST) [thread overview]
Message-ID: <7bb81a94-4618-4830-81ae-02a8e17e8f62@33g2000yqm.googlegroups.com> (raw)
In-Reply-To: mailman.811.1227163931.26697.help-gnu-emacs@gnu.org
On 20 Nov, 04:55, "Anand S. Dhankshirur" <a...@cdotb.ernet.in> wrote:
> I have one more question
> GVIM, provides the auto completions with the exhaustive list of all the
> possibilities.
> while typing in .c file
> (for example GS_AM_ will give all the auto completions for all the
> tokens strating with GS_AM.)
> In emacs also M-/ gives the completions which are there in current buffer.
> Furhter it gives the case insensitive one.(the cases are ignored).
> But it will not give the completions from the TAGS file
> It does not consider other files and buffers.
> Is there any way to do it in emacs.?
Add the following to .emacs
(provide 'hippie-exp)
And the customize the variable hippie-expand-try-functions-list like
for example
(setq hippie-expand-try-functions-list
'(try-expand-dabbrev-visible ;from visible parts of all windows
try-expand-dabbrev ;from current buffer
try-expand-dabbrev-all-buffers ;from all other buffers
try-expand-tag ;Note: Expand from "TAGS"
table.
)
Then finally do
M-x hippie-expand
/Nordlöw
next parent reply other threads:[~2008-11-20 10:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.811.1227163931.26697.help-gnu-emacs@gnu.org>
2008-11-20 10:47 ` Nordlöw [this message]
2008-11-20 3:55 how to get the exhaustive list of auto completions while editing in .c or .cpp file Anand S. Dhankshirur
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7bb81a94-4618-4830-81ae-02a8e17e8f62@33g2000yqm.googlegroups.com \
--to=per.nordlow@gmail.com \
--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.
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).