From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: FR: pre-select applicable templates depending on the context Date: Tue, 04 Mar 2008 03:38:54 +0000 Message-ID: <878x0z9n01.fsf@bzg.ath.cx> References: <873arak0oj.fsf@bzg.ath.cx> <5C86CAC0-BA1B-4131-AEE9-92944046CA73@science.uva.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JWNzX-0000Ir-M9 for emacs-orgmode@gnu.org; Mon, 03 Mar 2008 22:38:59 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JWNzV-0000IL-1z for emacs-orgmode@gnu.org; Mon, 03 Mar 2008 22:38:58 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JWNzU-0000IF-P8 for emacs-orgmode@gnu.org; Mon, 03 Mar 2008 22:38:56 -0500 Received: from fg-out-1718.google.com ([72.14.220.157]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JWNzU-0004u8-7D for emacs-orgmode@gnu.org; Mon, 03 Mar 2008 22:38:56 -0500 Received: by fg-out-1718.google.com with SMTP id d23so450817fga.30 for ; Mon, 03 Mar 2008 19:38:54 -0800 (PST) In-Reply-To: <5C86CAC0-BA1B-4131-AEE9-92944046CA73@science.uva.nl> (Carsten Dominik's message of "Mon, 3 Mar 2008 09:12:40 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Carsten Dominik writes: > I would with the addition that I'd also like to allow a function > in there that would determine if the template should be pre-selected. Done. I've also updated the documentation. Maybe the new (info "(org)Remember templates") section of the manual is now to big, but I couldn't figure out a better place for this. > The trouble with implementing this is that you need to modify the > customize type, in a way that is compatible with older versions. > This has happened before with the org-remember-templates, therefore there > is already a :get element that normalizes the value. Please modify this > in a way so that customize will swallow old settings. It should be safe... let me know if it's working ok. -- Bastien