From: Mark Mynsted <mmynsted_news@gbronline.com>
Subject: Re: Slickedit features in Emacs?
Date: 22 May 2003 14:42:14 -0500 [thread overview]
Message-ID: <m2vfw2u5t5.fsf@mmynsted.corp.vha.com> (raw)
In-Reply-To: u65o2lxc4.fsf@swbell.net
>>>>> "Peter" == Peter Lee <pete_lee@swbell.net> writes:
Peter> I added the above code and typing ifx in a c++ file didn't do
Peter> anything. Abbrev-mode was on... so I'm not sure. Any ideas ? I've
Peter> never used skeletons in emacs before.
Two ideas:
1. The abbrev code was
(define-abbrev c-mode-abbrev-table "ifx" "" 'my-skeleton-c-if)
That abbrev is specific for c-mode. Type M-h v mode-name
If the result is not "C" then I do not think you are in the correct
mode.
2. You have to type a non-word character following the abbrev to get
the abbrev to expand. (Or use one of the interactive functions.) So
ifx then space would expand the abbrev. But just ifx would not...
You could see if the skeleton is working by simply typing:
M-x my-skeleton-c-if
--
-MM
I rarely read email from this address /"\
because of spam. \ / ASCII Ribbon Campaign
I MAY see it if you put #NOTSPAM# X Against HTML Mail
in the subject line. / \
next prev parent reply other threads:[~2003-05-22 19:42 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-21 18:59 Slickedit features in Emacs? Henrik Jönsson
2003-05-21 19:08 ` Phillip Lord
2003-05-21 19:29 ` Benjamin Rutt
2003-05-22 7:07 ` Henrik Jönsson
2003-05-22 12:38 ` Bruce Ashfield
2003-05-22 14:14 ` Stefan Monnier
2003-05-22 17:12 ` Peter Lee
2003-05-22 19:42 ` Mark Mynsted [this message]
2003-05-22 20:04 ` Peter Lee
2003-05-22 20:23 ` Kai Großjohann
2003-05-22 20:52 ` Mark Mynsted
2003-05-22 21:03 ` Stefan Monnier
2003-05-23 13:38 ` Mark Mynsted
2003-05-23 15:44 ` Peter Lee
2003-05-21 19:34 ` Peter Lee
2003-05-21 19:38 ` Burton Samograd
2003-05-21 20:30 ` Stefan Monnier
2003-05-22 13:56 ` Benjamin Rutt
2003-05-21 20:53 ` Ole Laursen
2003-05-22 15:31 ` Kai Großjohann
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=m2vfw2u5t5.fsf@mmynsted.corp.vha.com \
--to=mmynsted_news@gbronline.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).