From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Best way to implement project specific captures Date: Thu, 23 Aug 2012 11:13:02 +0200 Message-ID: <87a9xmyns1.fsf@altern.org> References: <878vd79en7.fsf@altern.org> <874nnv9ekc.fsf@altern.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4TT8-0003uo-Ba for emacs-orgmode@gnu.org; Thu, 23 Aug 2012 05:12:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T4TT2-0008It-Mh for emacs-orgmode@gnu.org; Thu, 23 Aug 2012 05:12:50 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:62957) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4TT2-0008Ij-Cq for emacs-orgmode@gnu.org; Thu, 23 Aug 2012 05:12:44 -0400 Received: by weys10 with SMTP id s10so304031wey.0 for ; Thu, 23 Aug 2012 02:12:43 -0700 (PDT) In-Reply-To: (Sylvain Rousseau's message of "Wed, 22 Aug 2012 20:04:00 +0200") 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: Sylvain Rousseau Cc: emacs-orgmode@gnu.org Sylvain Rousseau writes: >> One possible enhancement: allow using only the capture/agenda >> template instead of the full template in > `org-context-capture-alist' >> and `org-context-agenda-alist'. > > Good idea! Adding it to my todo list with org-context ;-) Actually I love your idea so much I just implemented it in core. See these new options: org-agenda-custom-commands-contexts org-capture-templates-contexts The basic idea is the same than yours, except you only need to define rules for the agenda/capture keys. It's also extending the notion of context by allowing to check against modes, not only files. Please let me know what do you think. And thanks again for this simple and beautiful idea. -- Bastien