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, 05 Jan 2016 19:16:14 +0100 Message-ID: <87d1tf7uz5.fsf@gmx.us> References: <568b532e.d111620a.b25a8.ffffbb7c@mx.google.com> <568b5e82.0406430a.a1c6a.0ce9@mx.google.com> <87lh84rlsj.fsf@kyleam.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:32831) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGW9z-00083Z-7M for emacs-orgmode@gnu.org; Tue, 05 Jan 2016 13:16:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGW9v-0006En-6o for emacs-orgmode@gnu.org; Tue, 05 Jan 2016 13:16:43 -0500 Received: from plane.gmane.org ([80.91.229.3]:40860) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGW9u-0006Ee-WA for emacs-orgmode@gnu.org; Tue, 05 Jan 2016 13:16:39 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aGW9p-0005FR-Se for emacs-orgmode@gnu.org; Tue, 05 Jan 2016 19:16:33 +0100 Received: from 62.80.108.11 ([62.80.108.11]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Jan 2016 19:16:33 +0100 Received: from rasmus by 62.80.108.11 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Jan 2016 19:16:33 +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 Hi Kyle, Kyle Meyer writes: > Rasmus writes: > > [...] > >>> This patch automatically calls =git annex get PATH= when you open the >>> attachment from Org, if the file has not been fetched already. >> >> This is a good idea. Though really this sounds like something that >> should be done by the git annex assistant rather than per application. > > I think a good number of people use git-annex without git-annex > assistant. There was a question related to this on the git-annex > survey: > > http://git-annex-survey.branchable.com/polls/2015/command_line_vs_assistant/ That’s a fair point. >> Has Joey spoken for or against automatic fetching of content when >> requested? > > I think I'm missing something. Why would he have an issue with running > "git annex get"? I don't have anything against it, but in OP he also talks about implementing something similar for ox-$BACKEND output... Which doesn’t seem like a bad request. Why should org-attachment support git-annex other parts of Org not? But I don’t think we want to support annexed files in general. (What about LFS’ed files? Assuming a similar feature exists) Perhaps I’m abstracting too much here. Rasmus -- Even a three-legged dog has three good legs to lose