From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Setting org-remember-store-without-prompt specifically for certain templates? Date: Sun, 25 Oct 2009 11:50:05 +0100 Message-ID: References: <4ADF4FBB.3070404@thompsonclan.org> <4adff270.100bca0a.327d.5f22@mx.google.com> <4ADFF344.4020102@thompsonclan.org> <8EF1E435-2FE9-4159-8E04-0CB806957587@gmail.com> <4AE36AE6.90905@thompsonclan.org> <642A5598-2B64-49BA-BE80-96E5714698B6@gmail.com> <4AE4291D.40103@thompsonclan.org> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N20fw-0002SN-K4 for emacs-orgmode@gnu.org; Sun, 25 Oct 2009 06:50:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N20fq-0002Ki-VL for emacs-orgmode@gnu.org; Sun, 25 Oct 2009 06:50:15 -0400 Received: from [199.232.76.173] (port=47106 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N20fq-0002KQ-Pa for emacs-orgmode@gnu.org; Sun, 25 Oct 2009 06:50:10 -0400 Received: from mail-ew0-f228.google.com ([209.85.219.228]:58799) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N20fq-00050y-Am for emacs-orgmode@gnu.org; Sun, 25 Oct 2009 06:50:10 -0400 Received: by ewy28 with SMTP id 28so4268528ewy.42 for ; Sun, 25 Oct 2009 03:50:09 -0700 (PDT) In-Reply-To: <4AE4291D.40103@thompsonclan.org> 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: "Ryan C. Thompson" Cc: org-mode Mailinglist On Oct 25, 2009, at 11:31 AM, Ryan C. Thompson wrote: > My original idea for a per-template solution was to create a > function to set buffer-local values of the appropriate variables in > the rememebr buffer, and have that function return an empty string, > and then put it inside a %(sexp) in the template itself. Should this > work? Would buffer-local values take precedence when I press C-c C-c > after finishing my note? > > My first few attempts were unsuccessful, but I'm not sure I got the > code right. I suppose I should try manually setting buffer-local > values and observing the effects. Well, yes you should try, it might work, something like this: %(progn (org-set-local 'org-remember-store-without-prompt nil) "") - Carsten