[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Enabling Auto Complete fro C/C++ files

From: Ken Goldman
Subject: Re: Enabling Auto Complete fro C/C++ files
Date: Mon, 19 Jun 2006 16:33:21 -0400
User-agent: Mozilla/5.0 (X11; U; AIX 000C89FF4C00; en-US; rv:1.7) Gecko/20040617

Saurabh Mehta wrote:

I have been using emacs for editing vhdl and verilog files in their
respective electric modes.
Now i want to use it for C/C++ files also, but it does not provide me the
auto-complete and colour diffrentiation facilities as it does in the vhdl

A basic auto-complete is

        M-/ runs the command dabbrev-expand

There might be something better, specifically for C.

Colorizing code is usually on by default. Does the mode line say C or C++. Does this help?

(global-font-lock-mode 1)
(setq font-lock-maximum-decoration t)

Can anyone please help me enable auto-complete and color diffrentiation for
C/C++ files.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]