From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adrian Bradd Subject: [PATCH] org-depend: multi-file TRIGGER and BLOCKER tasks Date: Thu, 27 Jul 2017 22:12:01 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="001a114119a4f0358505555734e2" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52395) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1daul4-0005Mt-6k for emacs-orgmode@gnu.org; Thu, 27 Jul 2017 22:12:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1daul3-0004pj-5q for emacs-orgmode@gnu.org; Thu, 27 Jul 2017 22:12:06 -0400 Received: from mail-ua0-x22f.google.com ([2607:f8b0:400c:c08::22f]:37204) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1daul3-0004oA-1f for emacs-orgmode@gnu.org; Thu, 27 Jul 2017 22:12:05 -0400 Received: by mail-ua0-x22f.google.com with SMTP id f9so154347570uaf.4 for ; Thu, 27 Jul 2017 19:12:03 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --001a114119a4f0358505555734e2 Content-Type: multipart/alternative; boundary="001a114119a4f0358005555734e0" --001a114119a4f0358005555734e0 Content-Type: text/plain; charset="UTF-8" Adds multi-file TRIGGER and BLOCKER tasks to org-depend by first searching the current file `org-find-entry-with-id` and then all files visisble through `org-find-id`. --001a114119a4f0358005555734e0 Content-Type: text/html; charset="UTF-8"
Adds multi-file TRIGGER and BLOCKER tasks to org-depend by first searching the current file `org-find-entry-with-id` and then all files visisble through `org-find-id`.


--001a114119a4f0358005555734e0-- --001a114119a4f0358505555734e2 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-org-depend-multi-file-TRIGGER-and-BLOCKER-tasks.patch" Content-Disposition: attachment; filename="0001-org-depend-multi-file-TRIGGER-and-BLOCKER-tasks.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_j5n8dev90 RnJvbSBkNDA5NWE1N2YxYzljNDI0MjZkOGMwZDUxY2E3ZjQ2NDBmMDM2YTNhIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBBZHJpYW4gQnJhZGQgPGFkcmlhbi5icmFkZEBnbWFpbC5jb20+ CkRhdGU6IFRodSwgMTMgSnVsIDIwMTcgMjI6NDk6MjYgLTA0MDAKU3ViamVjdDogW1BBVENIXSBv cmctZGVwZW5kOiBtdWx0aS1maWxlIFRSSUdHRVIgYW5kIEJMT0NLRVIgdGFza3MKCi0tLQogY29u dHJpYi9saXNwL29yZy1kZXBlbmQuZWwgfCAyNiArKysrKysrKysrKysrKysrKysrKystLS0tLQog MSBmaWxlIGNoYW5nZWQsIDIxIGluc2VydGlvbnMoKyksIDUgZGVsZXRpb25zKC0pCgpkaWZmIC0t Z2l0IGEvY29udHJpYi9saXNwL29yZy1kZXBlbmQuZWwgYi9jb250cmliL2xpc3Avb3JnLWRlcGVu ZC5lbAppbmRleCBkMWI5ODQ0MWMuLmZjN2Q2OWQxZCAxMDA2NDQKLS0tIGEvY29udHJpYi9saXNw L29yZy1kZXBlbmQuZWwKKysrIGIvY29udHJpYi9saXNwL29yZy1kZXBlbmQuZWwKQEAgLTIxMSw3 ICsyMTEsNyBAQCBUaGlzIGRvZXMgdHdvIGRpZmZlcmVudCBraW5kcyBvZiB0cmlnZ2VyczoKIAkg KGZyb20gKHBsaXN0LWdldCBjaGFuZ2UtcGxpc3QgOmZyb20pKQogCSAodG8gKHBsaXN0LWdldCBj aGFuZ2UtcGxpc3QgOnRvKSkKIAkgKG9yZy1sb2ctZG9uZSBuaWwpIDsgSU1QUk9UQU5UITogbm8g bG9nZ2luZyBkdXJpbmcgYXV0b21hdGljIH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luZC1maWxlIChjYXIg cDIpKQorCQkgICAgKGdvdG8tY2hhciAoY2RyIHAyKSkKKwkJICAgICh1bmxlc3MgKG9yZy1lbnRy eS1pcy1kb25lLXApCisJCSAgICAgIChvcmctbWFyay1yaW5nLXB1c2gpCisJCSAgICAgICh0aHJv dyAncmV0dXJuIG5pbCkpKSkpKSkKIAkgICAgdCA7IHJldHVybiB0IHRvIGluZGljYXRlIHRoYXQg d2UgYXJlIG5vdCBibG9ja2luZwogCSAgICApKSkKICAgICAod2hlbiBvcmctZGVwZW5kLXRhZy1i bG9ja2VkCi0tIAoyLjExLjAKCg== --001a114119a4f0358505555734e2--