|
Re: Skeleton & Abbrev: msg#00930emacs.help
kai.grossjohann@xxxxxxxxxxxxxxx (Kai Großjohann wrote in message news:<847kdvkyfc.fsf@xxxxxxxxxxxxxxxxxxxxxxx>... > tennis_smith@xxxxxxxxx (Tennis Smith) writes: > > > So, when I type in _if in a tcl buffer, it should auto-expand to a new > > "if" statement stub. But, it doesn't do anything. I've turned on abbrev > > mode and skeleton, but it doesn't make any difference. > > Hm. Underscore looks suspicious. How about you try another abbrev, > such as ifif? Remember to type whitespace before and after the abbrev. Thanks, that worked. :) Also, how do I pass a var to the skeleton? For example: (define-skeleton tcl-proc "A simple tcl proc skeleton" nil \n "#\n#\n#\n" "proc PROC_NAME { } {" \n _ \n "} # end PROC_NAME " ) How do I make "PROC_NAME" the contents of a var I pass at invocation time? TIA, -Tennis |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | filtering output to the *compilation* buffer: 00930, Theepa Somasundaram |
|---|---|
| Next by Date: | Re: emacs won't forget file state as saved by desktop.el: 00930, Faheem Mitha |
| Previous by Thread: | Re: Skeleton & Abbrevi: 00930, Kai Großjohann |
| Next by Thread: | Re: Skeleton & Abbrev: 00930, Kai Großjohann |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |