+(defun nimcoon-search(args query)
+ "Search by QUERY with the given ARGS."
+ (with-output-to-temp-buffer "*NimCoon search results*"
+ (call-process "nimcoon" nil "*NimCoon search results*" t args query)
+ (with-current-buffer "*NimCoon search results*"
+ (org-mode))))
+