emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Dave Abrahams <dave@boostpro.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: Bad doc [7.4]
Date: Mon, 20 Dec 2010 15:16:28 +0100	[thread overview]
Message-ID: <CCA4C041-F0A5-4C12-9AB9-4F8422A6BA63@gmail.com> (raw)
In-Reply-To: <m2lj3kkgvb.wl%dave@boostpro.com>


On Dec 20, 2010, at 9:06 AM, Dave Abrahams wrote:

> At Mon, 20 Dec 2010 08:40:50 +0100,
> Carsten Dominik wrote:
>>
>> This is a bit tricky and not fully documented.
>>
>> If you have no or only only a single template defined, then
>> template selection is bypassed and you do not get a chance
>> to press C to get to the customization buffer.  This is to
>> please John Wiegley :) who only uses a single capture template
>
> And I'm using his template, practically unmodified :-)
>
>> and rightfully wanted to lose the extra key press.
>
> And I like that feature myself.
>
>> As soon
>> as you have at least 2 templates, you will get the menu and
>> also the chance to press `C'.
>>
>> I am not quite sure what to do about it, documenting it makes
>> things look more complicated as they are.
>
> Hmm, seems to me that it would be more principled to have org-capture
> take an optional argument that indicates the template index, and ask
> me and John to bind our key to (lambda () (org-capture 0))

You are right, this is better for consistency.
You can do that already, bind something like (org-capture "t")
where "t" is the selection key.

(define-key global-map "\C-c c"
    (lambda () (interactive) (org-capture "t")))

Thanks.

- Carsten

>
> -- 
> Dave Abrahams
> BoostPro Computing
> http://www.boostpro.com
>

  reply	other threads:[~2010-12-20 14:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-20  6:12 Bug: Bad doc [7.4] Dave Abrahams
2010-12-20  6:22 ` Leo
2010-12-20  7:21   ` Dave Abrahams
2010-12-20  6:28 ` Noorul Islam K M
2010-12-20  6:58 ` Nick Dokos
2010-12-20  8:08   ` Dave Abrahams
2010-12-20  7:40 ` Carsten Dominik
2010-12-20  8:06   ` Dave Abrahams
2010-12-20 14:16     ` Carsten Dominik [this message]
2010-12-20 16:56       ` Dave Abrahams
2010-12-20 16:59         ` Carsten Dominik

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=CCA4C041-F0A5-4C12-9AB9-4F8422A6BA63@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=dave@boostpro.com \
    --cc=emacs-orgmode@gnu.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).