From: Baloff <washdc@wash.edu>
Subject: complete the word
Date: 14 Aug 2005 14:06:20 +1000 [thread overview]
Message-ID: <87d5ohxiv7.fsf@wash.edu> (raw)
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
next reply other threads:[~2005-08-14 4:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-14 4:06 Baloff [this message]
2005-08-14 7:53 ` complete the word Tim X
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=87d5ohxiv7.fsf@wash.edu \
--to=washdc@wash.edu \
/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.