summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-03-15 17:46:46 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-03-15 17:46:46 -0400
commit41234a46a232df21516c03c6ce56a49356b6decc (patch)
tree354f1e34c378fa500b916713ae9994814ed55bc6 /doc
parenteb226f79f71fdfd9ea898127e3b30af12a5fc11b (diff)
devblog
Diffstat (limited to 'doc')
-rw-r--r--doc/devblog/day_134-135__avoiding_the_turing_tarpit.mdwn18
1 files changed, 18 insertions, 0 deletions
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 000000000..d18470ae0
--- /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. ;)