From: "Jeff Rancier" <jeff.rancier@softechnics.com>
Subject: c-mode : can't expand '#d' to '#define'
Date: Tue, 24 Sep 2002 17:35:09 GMT [thread overview]
Message-ID: <hn1k9.26234$Kj4.6837710@twister.nyroc.rr.com> (raw)
Hello All:
In c-mode, I have the following:
(defconst c-expand-list '(
("#d" "#define ")
("d" "do\n{\n\n} while();" (6 15))
("de" "default:")
) "Expansions for C mode" )
(defun c-mode-expand-add-hooks ()
(expand-add-abbrevs c-mode-abbrev-table c-expand-list))
(add-hook 'c-mode-hook 'c-mode-expand-add-hooks)
When I type #d followed by a space, I get the do expansion. Can anyone
explain this?
--
Thanks,
Jeff
next reply other threads:[~2002-09-24 17:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-24 17:35 Jeff Rancier [this message]
2002-09-24 19:52 ` c-mode : can't expand '#d' to '#define' Kai Großjohann
2002-09-30 1:24 ` Luis Fernandes
2002-09-30 12:54 ` Clemens Fischer
2002-09-30 14:29 ` Kai Großjohann
2002-09-30 23:55 ` Luis Fernandes
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='hn1k9.26234$Kj4.6837710@twister.nyroc.rr.com' \
--to=jeff.rancier@softechnics.com \
/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).