Re: skeleton improvement
Charles Hines <[email protected]> Thu, 24 Feb 2005 13:08:41 -0500
| Newsgroups | gmane.emacs.xemacs.design |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "Zajcev" =3D=3D Zajcev Evgeny <[email protected]> writes: Zajcev> Pierre Courtieu <[email protected]> writes: >> On 24 f=E9v 2005, Pierre Courtieu wrote: ... >> (defvar mc-if-skel >> '(nil >> > "if (" _ ") {" \n > @ \n > "}" '(progn (indent-according-to-mode) ni= l) \n > @ >> nil) >> "*Skeleton for if statement") >>=20 >> Then you can use add a hook skeleton-end-hook to store those positions= in >> mark-stack if you want (I plan to make another hook building a "hole" = at >> each position). Zajcev> Definitely! Tottally agree that skeleton must have builtin suppo= rt Zajcev> for saving interesting points. However mcskels just shows how to Zajcev> workarond when skeleton have no such support. I believe that tempo mode provides this functionality. Chuck --=20 Charles K. Hines <[email protected]> <[email protected]> Principal Scientist at ReQuest Technologies Inc. (http://www.ReQuestTech.= com/) "When things don't sound evil enough on their own I like to toss in a BU-WHA-HA-HA-HA". - Catbert (from Dilbert)