emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Adam Spiers <orgmode@adamspiers.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: FR: make C-c C-c for storing remember notes optional
Date: Thu, 13 Dec 2007 22:18:15 +0100	[thread overview]
Message-ID: <28AAA740-13D2-42CD-8FF0-F383652D530B@gmail.com> (raw)
In-Reply-To: <20071211121511.GA12375@atlantic.linksys.moosehall>


On Dec 11, 2007, at 1:15 PM, Adam Spiers wrote:

> On Tue, Dec 11, 2007 at 12:33:09PM +0100, Bastien wrote:
>> Adam Spiers <orgmode@adamspiers.org> writes:
>>> I'm certainly not suggesting making it the default - only to make it
>>> possible to enable this behaviour for selected remember templates.
>>> But since I get SO many emails every day, I really need to be able  
>>> to
>>> apply the 2-minute rule of GTD: if the mail requires > 2 minutes of
>>> attention, I need to be able to convert it into a TODO (linking by
>>> message id via the org-mairix stuff) and archive it safely in the
>>> _absolute_minimum_ number of keystrokes.  Otherwise I am  
>>> constantly in
>>> the "processing" phase of the workflow and never get to the  
>>> "planning"
>>> and "doing" phases - then the whole system fails miserably :-)
>>
>> Okay.  Then each template would have now six elements, the last one
>> specifiying whether it should be automatically processed or not  
>> (being
>> nil by default).
>
> Yes, that's what I had in mind too.
>
>> Whether there are %^{prompt} constructs might be not relevant here:  
>> even
>> for plain templates we might want not to have to C-cC-c them for  
>> them to
>> be remembered, right?
>
> Agreed.
>
>> Say for example that you have a template associated with the key  
>> "m" and
>> this key binding:
>>
>> (global-set-key [(control meta r)] (lambda () (org-remember nil  
>> "m")))
>>
>> The "m" template doesn't require C-cC-c.  If there is %^{prompt}  
>> you do
>> C-M-r then interactively enter the info at the prompt, then you're  
>> done.
>> If there is no %^{prompt} you just C-M-r and you're done (you don't  
>> need
>> to actually *see* what you want to remember...)
>
> Yes, exactly.
>
>> I think this would be nice.  But I guess you see my point about
>> cancelling : with a %^{prompt} it's possible to C-g, but not when  
>> there
>> is no %^{prompt} -- which might be a bit dangerous..
>
> It doesn't seem particularly dangerous to me: you still have the
> option of 'undo' within the destination file, and even if you choose
> not to, at worst you have a new entry which you can later delete.
> It's not like you're at risk of losing existing data.
>
>> I hope Carsten will soon stumble on this :)
>
> /me sends good system restoration karma to Carsten over the ether :-)
>

Thanks, I am getting there.

God ideas in this thread,  I will put them in.  I guess the best way
would be to have

  %^{prompt|default|completion2|....}

to define prompt, default value and a completion table, and then
to keep a per-prompt history.

- Carsten

      parent reply	other threads:[~2007-12-13 22:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-09 12:44 FR: make C-c C-c for storing remember notes optional Adam Spiers
2007-12-10 15:22 ` Bastien
2007-12-10 22:20   ` Adam Spiers
2007-12-11 11:33     ` Bastien
2007-12-11 12:15       ` Adam Spiers
2007-12-11 14:38         ` Bastien
2007-12-13 21:18         ` Carsten Dominik [this message]

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=28AAA740-13D2-42CD-8FF0-F383652D530B@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=orgmode@adamspiers.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).