14 Commits

Author SHA1 Message Date
Joao Tavora
26065ae4f5 fix: don't require lexical-binding to call transforms with field text 2013-10-16 19:05:03 +01:00
Joao Tavora
33c696516a fix: correctly allow functions as snippet forms
also make define-snippet expand directly to a defun
2013-10-16 19:05:02 +01:00
Joao Tavora
123f204d20 fix: slightly terser loop syntax 2013-10-16 19:05:01 +01:00
Joao Tavora
d2717d47fd fix: set local variables correctly, i.e. dont set lexical-binding here 2013-10-16 19:04:59 +01:00
Joao Tavora
e00c7e2661 fix: respect 80 column rule mostly 2013-10-16 19:04:58 +01:00
Joao Tavora
3446300c1f new: tests go in separate file, minor cleanup in snippet.el 2013-10-14 15:49:34 +01:00
Joao Tavora
2d0a1b831d fix: possibly fragile fix for zero-length field/mirror bug 2013-10-14 15:12:06 +01:00
Joao Tavora
1f1edb6d4e wip: fix the overlay-moving bug, but zero-length mirrors/fields still a problem 2013-10-14 15:09:20 +01:00
Joao Tavora
002d524a32 wip: still buggy, but inching closer 2013-10-14 14:54:08 +01:00
Joao Tavora
0919fa6575 fix: oops, big bug, mirrors and fields have to be made then initialized 2013-10-14 01:58:53 +01:00
Joao Tavora
21986d92fd fix: need to intern marker symbols somewhere, otherwise they won't match 2013-10-13 22:27:25 +01:00
Joao Tavora
5d93e83375 add: insertion works nicely and seems i have simplified the marker mechanism 2013-10-13 21:52:35 +01:00
Joao Tavora
fc1c3632b6 wip: still inoperative, but much better macros, support parent fields 2013-10-12 15:47:43 +01:00
Joao Tavora
f00509a696 wip: a distilled snippet engine 2013-10-12 00:17:37 +01:00