[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Slickedit features in Emacs?
From: |
Mark Mynsted |
Subject: |
Re: Slickedit features in Emacs? |
Date: |
22 May 2003 14:42:14 -0500 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
>>>>> "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. / \
- Slickedit features in Emacs?, Henrik Jönsson, 2003/05/21
- Re: Slickedit features in Emacs?, Benjamin Rutt, 2003/05/21
- Re: Slickedit features in Emacs?, Henrik Jönsson, 2003/05/22
- Re: Slickedit features in Emacs?, Bruce Ashfield, 2003/05/22
- Re: Slickedit features in Emacs?, Stefan Monnier, 2003/05/22
- Re: Slickedit features in Emacs?, Peter Lee, 2003/05/22
- Re: Slickedit features in Emacs?,
Mark Mynsted <=
- Re: Slickedit features in Emacs?, Peter Lee, 2003/05/22
- Re: Slickedit features in Emacs?, Kai Großjohann, 2003/05/22
- Re: Slickedit features in Emacs?, Mark Mynsted, 2003/05/22
- Re: Slickedit features in Emacs?, Stefan Monnier, 2003/05/22
- Re: Slickedit features in Emacs?, Mark Mynsted, 2003/05/23
- Re: Slickedit features in Emacs?, Peter Lee, 2003/05/23
Re: Slickedit features in Emacs?, Peter Lee, 2003/05/21
Re: Slickedit features in Emacs?, Burton Samograd, 2003/05/21
Re: Slickedit features in Emacs?, Phillip Lord, 2003/05/21
Re: Slickedit features in Emacs?, Ole Laursen, 2003/05/21