all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: "Ryan C. Thompson" <rct@thompsonclan.org>
Cc: org-mode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: Setting org-remember-store-without-prompt specifically for certain templates?
Date: Sun, 25 Oct 2009 11:50:05 +0100	[thread overview]
Message-ID: <E4F52D56-3EEC-4CEA-88E5-DACCCF5CC905@gmail.com> (raw)
In-Reply-To: <4AE4291D.40103@thompsonclan.org>


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

  reply	other threads:[~2009-10-25 10:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-21 18:15 Setting org-remember-store-without-prompt specifically for certain templates? Ryan C. Thompson
2009-10-22  5:49 ` Darlan Cavalcante Moreira
2009-10-22  5:53   ` Ryan C. Thompson
2009-10-24 12:15     ` Carsten Dominik
2009-10-24 21:00       ` Ryan C. Thompson
2009-10-25  8:11         ` Carsten Dominik
2009-10-25 10:31           ` Ryan C. Thompson
2009-10-25 10:50             ` Carsten Dominik [this message]
2009-10-25 17:10               ` James TD Smith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E4F52D56-3EEC-4CEA-88E5-DACCCF5CC905@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rct@thompsonclan.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.