From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Fixes for org-capture-templates-contexts Date: Thu, 24 Jan 2013 17:08:03 +0100 Message-ID: <8738xq36os.fsf@bzg.ath.cx> References: <878v7yu6wf.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:54788) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TyPLY-0003Or-Cc for emacs-orgmode@gnu.org; Thu, 24 Jan 2013 11:08:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TyPLT-0006br-Bw for emacs-orgmode@gnu.org; Thu, 24 Jan 2013 11:08:12 -0500 Received: from mail-wg0-f49.google.com ([74.125.82.49]:38522) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TyPLT-0006bc-17 for emacs-orgmode@gnu.org; Thu, 24 Jan 2013 11:08:07 -0500 Received: by mail-wg0-f49.google.com with SMTP id 15so2867410wgd.28 for ; Thu, 24 Jan 2013 08:08:06 -0800 (PST) In-Reply-To: (Paul Sexton's message of "Mon, 14 Jan 2013 22:21:20 +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: Paul Sexton Cc: emacs-orgmode@gnu.org Hi Paul, Paul Sexton writes: > Below are patches against org.el and org-capture.el. it really helps to send patches with git format-patch, and to add a ChangeLog... at least it speeds up the patch reviewing process for me! > Are you sure it works correctly? Yes -- please re-read the docstring: '(("c" ((in-mode . "message-mode")))) ^^ ^^ Notice the parentheses here. Please have a go with this syntaxe and let me know, but I tested again and it works for me. If that's okay for you, I'm fine with just adding the in-buffer/not-in-buffer feature. Thanks! -- Bastien