From mboxrd@z Thu Jan 1 00:00:00 1970 From: Miguel Ruiz Subject: Re: Org capture with predefined entries from a list? Date: Wed, 22 Sep 2010 05:26:57 +0000 (GMT) Message-ID: <319837.26764.qm@web29005.mail.ird.yahoo.com> References: <87eicm1z3r.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=46511 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OyHrB-00036G-N2 for emacs-orgmode@gnu.org; Wed, 22 Sep 2010 01:27:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OyHrA-0008H7-BA for emacs-orgmode@gnu.org; Wed, 22 Sep 2010 01:27:01 -0400 Received: from web29005.mail.ird.yahoo.com ([212.82.110.139]:42350) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OyHrA-0008Gr-08 for emacs-orgmode@gnu.org; Wed, 22 Sep 2010 01:27:00 -0400 In-Reply-To: <87eicm1z3r.fsf@gnu.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: emacs-orgmode@gnu.org Cc: bastien.guerry@wikimedia.fr =0A=0A--- El mi=E9, 22/9/10, Bastien escribi= =F3:=0A=0A> De: Bastien =0A> Asunto: Re: [Orgm= ode] Org capture with predefined entries from a list?=0A> Para: "Miguel Rui= z" =0A> CC: emacs-orgmode@gnu.org=0A> Fecha: mi=E9rcoles= , 22 de septiembre, 2010 01:00=0A> Hi Miguel,=0A> =0A> Miguel Ruiz =0A> writes:=0A> =0A> > 1. In any buffer: M-x org-capture=0A> > = 2. Appears a menu saying "Select a capture template".=0A> Of course, two op= tions [t] and [j], and [C] Customize=0A> org-capture-templates and [q] Abor= t.=0A> > 3. I press [t] and get a "capture buffer" with "*=0A> TODO" insert= ed, ready to accept my entry=0A> > 4. Appears another menu saying "Select t= ask type or=0A> whatever": several options: [1] Task1 [2] Task2 [3] Task3= =0A> ...=0A> > 5. I press [1] and=A0 "capture buffer" updates with=0A> "* T= ODO Task1" inserted, ready to accept more info=0A> > 6. Ideally appears ano= ther menu saying "Select comment=0A> or whatever": several options: [1] Com= ment1 [2] Comment2 [3]=0A> Comment3 ...=0A> > 7. I press [1] and=A0 "captur= e buffer" updates with=0A> "* TODO Task1 Comment1" inserted, ready to accep= t more info=0A> > 8. Ideally steps 6 and 7 would be repeated (well, no=0A> = more than 4 or 5 times)=0A> > 4. C-c C-c finish and save the entry in ~/org= /gtd.org=0A> =0A> Do you really want capturing a task to be such a heavy=0A= > task?!=0A=0AActually, yes, I want, because steps 4, 6 and 8 contain long = lists hard to remember, and I want to guarantee exactly the inserted string= s are one of the included in the lists.=0A=0AIn the original post, I said t= hat I could manage with 2-3 keybindings that show, each, a list to choose a= nd insert the entry, but I am not sure how to do it.=0A=0A=0A> =0A> You sho= uld explore using multiple keys for the capture=0A> template=0A> definition= -- see the manual:=0A=0ADo you mean I should generate all the combinations= and assign a template to each one? Can you provide any kind of minimal exa= mple? =0A=0A> =0A> =A0 http://orgmode.org/manual/Template-elements.html#Tem= plate-elements=0A> =0A> HTH,=0A> =0A> -- =0A> Bastien=0A> =0A> ___________= ____________________________________=0A> Emacs-orgmode mailing list=0A> Ple= ase use `Reply All' to send replies to the list.=0A> Emacs-orgmode@gnu.org= =0A> http://lists.gnu.org/mailman/listinfo/emacs-orgmode=0A> =0A=0A=0A =