From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: Re: [PATCH] org-attach.el: Fetch attachments from git annex Date: Tue, 05 Jan 2016 12:14:20 -0500 Message-ID: <87lh84rlsj.fsf@kyleam.com> References: <568b532e.d111620a.b25a8.ffffbb7c@mx.google.com> <568b5e82.0406430a.a1c6a.0ce9@mx.google.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGVBl-0005b3-3H for emacs-orgmode@gnu.org; Tue, 05 Jan 2016 12:14:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aGVBh-0004zc-0X for emacs-orgmode@gnu.org; Tue, 05 Jan 2016 12:14:29 -0500 Received: from pb-smtp0.int.icgroup.com ([208.72.237.35]:65448 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aGVBg-0004zG-Rb for emacs-orgmode@gnu.org; Tue, 05 Jan 2016 12:14:24 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-smtp0.pobox.com (Postfix) with ESMTP id 05E0C362BA for ; Tue, 5 Jan 2016 12:14:24 -0500 (EST) Received: from pb-smtp0.int.icgroup.com (unknown [127.0.0.1]) by pb-smtp0.pobox.com (Postfix) with ESMTP id EF769362B9 for ; Tue, 5 Jan 2016 12:14:23 -0500 (EST) Received: from localhost (unknown [130.132.173.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp0.pobox.com (Postfix) with ESMTPSA id 95B53362B7 for ; Tue, 5 Jan 2016 12:14:23 -0500 (EST) In-Reply-To: (rasmus@gmx.us's message of "Tue, 5 Jan 2016 09:56:39 +0000 (UTC)") 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 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/ > 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"? [...] > Can you ask annex if it's an annexed file? There's probably a better way, but the return value of "git annex find FILE" will signal this. -- Kyle