[Top][All Lists]

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

Re: complete the word

From: Tim X
Subject: Re: complete the word
Date: 14 Aug 2005 17:53:31 +1000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4

Baloff <address@hidden> writes:

> Hello
> when I create a new .cpp file, considering that I have in my .emacs
> (add-hook 'c++-mode-hook
>           '(lambda ()
>            (turn-on-auto-fill) ;;Insert a newline if line gets to long.
>              (c-toggle-auto-state 1) ;;Make ; and { and } and : all electric
>              (c-set-style "mc394-style")))
> how do I get emacs to write "nclude" if I type "#i" and it is at the
> beginning of a line. so that when I type
> #i
> it appears 
> #include
> I have cedet but not sure if that makes any different.
> thanks

Look in the manual for abbrev mode and do an apropos for abbrev. 


Tim Cross
The e-mail address on this message is FALSE (obviously!). My real e-mail is
to a company in Australia called rapttech and my login is tcross - if you 
really need to send mail, you should be able to work it out!

reply via email to

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