From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Bug: Bad doc [7.4] Date: Mon, 20 Dec 2010 15:16:28 +0100 Message-ID: References: <03A952A4-467F-45B8-A668-8991218D6E2A@gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=60513 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PUgXS-0000Si-Sb for emacs-orgmode@gnu.org; Mon, 20 Dec 2010 09:16:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PUgXR-0008Sv-67 for emacs-orgmode@gnu.org; Mon, 20 Dec 2010 09:16:34 -0500 Received: from mail-bw0-f43.google.com ([209.85.214.43]:62395) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PUgXR-0008So-18 for emacs-orgmode@gnu.org; Mon, 20 Dec 2010 09:16:33 -0500 Received: by bwz14 with SMTP id 14so3181435bwz.30 for ; Mon, 20 Dec 2010 06:16:32 -0800 (PST) In-Reply-To: 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: Dave Abrahams Cc: emacs-orgmode@gnu.org 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 >