From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: [PATCH] org-attach.el: Fetch attachments from git annex Date: Tue, 5 Jan 2016 09:56:39 +0000 (UTC) Message-ID: References: <568b532e.d111620a.b25a8.ffffbb7c@mx.google.com> <568b5e82.0406430a.a1c6a.0ce9@mx.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56965) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGOMJ-0006j4-EM for emacs-orgmode@gnu.org; Tue, 05 Jan 2016 04:56:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGOMG-0000pM-6Y for emacs-orgmode@gnu.org; Tue, 05 Jan 2016 04:56:55 -0500 Received: from plane.gmane.org ([80.91.229.3]:36708) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGOMF-0000pI-Sn for emacs-orgmode@gnu.org; Tue, 05 Jan 2016 04:56:52 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aGOMC-0003q5-BV for emacs-orgmode@gnu.org; Tue, 05 Jan 2016 10:56:48 +0100 Received: from src.ecb.int ([195.128.1.25]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Jan 2016 10:56:48 +0100 Received: from rasmus by src.ecb.int with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Jan 2016 10:56:48 +0100 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org SGkgRXJpaywKCj4gSSBjb3VsZG7igJl0IGZpZ3VyZSBvdXQgaG93IHR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