From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sylvain Rousseau Subject: Re: Best way to implement project specific captures Date: Thu, 23 Aug 2012 19:16:01 +0200 Message-ID: References: <878vd79en7.fsf@altern.org> <874nnv9ekc.fsf@altern.org> <87a9xmyns1.fsf@altern.org> <84119130-9EE5-4516-B230-AB578DF615FB@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4b0m-0004H8-ML for emacs-orgmode@gnu.org; Thu, 23 Aug 2012 13:16:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T4b0l-0003gv-IS for emacs-orgmode@gnu.org; Thu, 23 Aug 2012 13:16:04 -0400 Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:38011) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4b0l-0003gc-BF for emacs-orgmode@gnu.org; Thu, 23 Aug 2012 13:16:03 -0400 Received: by lahd3 with SMTP id d3so608230lah.0 for ; Thu, 23 Aug 2012 10:16:01 -0700 (PDT) In-Reply-To: <84119130-9EE5-4516-B230-AB578DF615FB@gmail.com> 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: Carsten Dominik Cc: Bastien , emacs-orgmode@gnu.org 2012/8/23 Carsten Dominik : > I am wondering if the following feature would be useful as well: Context= sensitivity sounds most interesting to me if the same key would do differe= nt things in different contexts. I am not sure if this is possible with th= e current implementation? For example, I might want to have a bug recordin= g key which creates an entry in a bug tracker file, but the file is differe= nt for different source files, and also the template and target type defini= tions might be different in different contexts. For what it's worth I have pushed changes to github implementing this and offering the choice to override templates or put them in a submenu as well as a "stealing" mechanism to modify existing templates' target. I do not have access to Bastien's changes yet but from what I understood we might run out of letters to identify templates. For example, if we have 10 projects with 3 different templates each, we already have 30 items in `org-capture-templates'... Or did I miss something? Anyway, I'm glad to see that this feature will be in a future org release! Sylvain.