Difference between revisions of "Talk:Emacs"
Jump to navigation
Jump to search
(Created page with '==Zen Coding for dix?== I think the Zen Coding syntax is more useful for XML types where you can have nesting, and where the structure changes more than the content; in eg. a bid…') |
|||
Line 5: | Line 5: | ||
YASnippet that let you tab through these places: |
YASnippet that let you tab through these places: |
||
<e><p><l>$1<s n="$2"/></l><r>$3<s n="$4"/></r></p></e> |
<pre><e><p><l>$1<s n="$2"/></l><r>$3<s n="$4"/></r></p></e></pre> |
||
Revision as of 07:45, 3 May 2010
Zen Coding for dix?
I think the Zen Coding syntax is more useful for XML types where you can have nesting, and where the structure changes more than the content; in eg. a bidix you'd probably find more use for a simple YASnippet that let you tab through these places:
<e><p><l>$1<s n="$2"/></l><r>$3<s n="$4"/></r></p></e>
Alternatively, it'd be fun to make a very compact dix expansion
syntax…
i dag+adv=today+adv <e> <p><l>i<b/>dag<s n="adv"/></l><r>today<s n="adv"/></r></p></e> driv.op/en__adj <e lm="driven"> <i>driv</i><par n="op/en__adj"/></e> irsk=Irish.__n_adj <e> <p><l>irsk</l><r>Irish</r></p><par n="__n_adj"/></e> .iI.rsk=rish.__n_adj <e> <par n="iI"/><p><l>irsk</l><r>Irish</r></p><par n="__n_adj"/></e> >ombudskvinne+n+f=ombudsman+n <e r="LR"><p><l>ombudskvinne<s n="n"/><s n="f"/></l><r>ombudsman<s n="n"/></r></p></e> <skulde( på)+vblex=blame+vblex <e r="RL"><p><l>skulde<g><b/>på</g><s n="vblex"/></l><r>blame</g><s n="vblex"/></r></p></e> \. <e> <i>.</i></e>