Baloff <[EMAIL PROTECTED]> 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

-- 
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!
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to