Recent Changes

Updates since 1970-01-01 00:00 UTC

(for 2017-07-02_Using_yasnippet_programmatically only)

1 | 3 | 7 | 30 | 90 days
List latest change per page only List only major changes
List later changes RSS RSS with pages RSS with pages and diff

2017-07-02

  • 04:30 UTC (new) 2017-07-02 Using yasnippet programmatically . . . . Marcin Borkowski Some time ago I was writing an Emacs function to insert a certain template into a buffer. The template had a few places where user-defined strings should be put. My first approach was to write a template-interpolation facility for Elisp, and I will most probably blog about it some day – I learned a bit from it (spoiler: don’t use strings for heavy string manipulations, buffers are faster!). But after I revisited the issue after some time, it occured to me that it doesn’t make too much sense to first ask the user for some strings (using read-string or even completing-read) only to put it in the template with my functions when YASnippet is available!

More...

Filters