From 699d49a268153a7eb6aa012ee6ce8b3598dfd0ea Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 15 Mar 2014 17:46:46 -0400 Subject: [PATCH] devblog --- ...ay_134-135__avoiding_the_turing_tarpit.mdwn | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 doc/devblog/day_134-135__avoiding_the_turing_tarpit.mdwn diff --git a/doc/devblog/day_134-135__avoiding_the_turing_tarpit.mdwn b/doc/devblog/day_134-135__avoiding_the_turing_tarpit.mdwn new file mode 100644 index 0000000000..d18470ae03 --- /dev/null +++ b/doc/devblog/day_134-135__avoiding_the_turing_tarpit.mdwn @@ -0,0 +1,18 @@ +Added some power and convenience to [[preferred_content]] expressions. + +Before, "standard" was a special case. Now it's a first-class keyword, +so you can do things like "standard or present" to use the standard +preferred content expression, modified to also want any file that happens +to be present. + +Also added a way to write your own reusable preferred content expressions, +tied to groups. To make a repository use them, set its preferred +content to "groupwanted". Of course, "groupwanted" is also a first-class +keyword, so "not groupwanted" or something can also be done. + +While I was at it, I made `vicfg` show the built-in standard preferred +content expressions, for reference. This little IDE should be pretty +self-explanatory, I hope. + +So, preferred content is almost its own little programming language now. +Except I was careful to not allow recursion. ;)