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 22:55:49 +0100 Message-ID: <87fuybn122.fsf@pank.eu> References: <568b532e.d111620a.b25a8.ffffbb7c@mx.google.com> <568b5e82.0406430a.a1c6a.0ce9@mx.google.com> <87lh84rlsj.fsf@kyleam.com> <87d1tf7uz5.fsf@gmx.us> <877fjnsu2v.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]:35162) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGZac-0001GO-VF for emacs-orgmode@gnu.org; Tue, 05 Jan 2016 16:56:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGZaY-00076d-V1 for emacs-orgmode@gnu.org; Tue, 05 Jan 2016 16:56:26 -0500 Received: from plane.gmane.org ([80.91.229.3]:57589) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGZaY-00076S-O0 for emacs-orgmode@gnu.org; Tue, 05 Jan 2016 16:56:22 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aGZaP-0007hR-G4 for emacs-orgmode@gnu.org; Tue, 05 Jan 2016 22:56:13 +0100 Received: from x4db0e905.dyn.telefonica.de ([77.176.233.5]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Jan 2016 22:56:13 +0100 Received: from rasmus by x4db0e905.dyn.telefonica.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Jan 2016 22:56:13 +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 Kyle Meyer writes: > Rasmus writes: > >>>> 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) > > I think Joey is a vim user, so I doubt he's said anything about an Emacs > program choosing to call "git annex get" :) I want to know if e.g. the git annex (assistant?) could support transparently getting files. That is once I try to open file X, which is annexed and stored somewhere else, X will automatically be fetched /without/ the need to call "git annex get" first. I don’t know enough about annex, or file systems, to make a guess. [And I always just call "git annex get ." in the root of the annexed folder]. > But yeah, that's a good point about which parts of Org should support or > care about annexed files. IMO export and nearly all parts of Org should > not. I see org-attach as an exception because it is focused on managing > external files and already has some support for doing so with git and > git-annex. (I think it would be fine for org-attach to support other > ways of storing files, should someone care to implement it.) But I > don't actually use org-attach, so I may be off the mark here. The problem sounds like an Upstream Problemᵀᴹ (IMO), and I’d be happy to get rid of org-attach-git-annex-cutoff, i.e. cutting back on the "explicit" support (in favor of the better tools for this problem built into git annex). Rasmus -- Together we will make the possible totalllly impossible!