From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: [feature request] org-capture-window-setup to stop capture window taking up whole frame Date: Thu, 18 Jun 2015 16:42:54 +0200 Message-ID: References: <87zj4ate9f.fsf@pinto.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44507) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5b1x-0002la-7I for emacs-orgmode@gnu.org; Thu, 18 Jun 2015 10:43:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5b1t-0002Bs-V1 for emacs-orgmode@gnu.org; Thu, 18 Jun 2015 10:43:01 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:51162) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5b1t-0002B5-OP for emacs-orgmode@gnu.org; Thu, 18 Jun 2015 10:42:57 -0400 In-Reply-To: (Xebar Saram's message of "Thu, 18 Jun 2015 14:52:01 +0300") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Xebar Saram Cc: org mode --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2015-06-18 13:52, Xebar Saram writes: > thx again Alan > > i do get an error if i eval (org-capture nil "t") > the error is: > > Debugger entered--Lisp error: (error "No capture template referred to by = \"t\" > keys") Yes: you need to define a capture template with that key. Here are my capture templates, for instance #+begin_src emacs-lisp (setq org-capture-templates (quote (("t" "todo" entry (file "refile-orgx.org") "* TODO %?\n %U") ("T" "todo with link" entry (file "refile-orgx.org") "* TODO %?\n %U\n\n%a") ("r" "Reply" entry (file "refile-orgx.org") "* TODO Reply to %:fromname about %:subject\n%?Received on %:date-= timestamp-inactive, link: %a") ("w" "Wait for reply" entry (file "refile-orgx.org") "* WAITING reply from %:to about %:subject\n%?Sent on %:date-times= tamp-inactive, link: %a") ("o" "Old Journal" entry (file+datetree+prompt "diary-runx.org") "* %i%?\n%u\n") ("O" "Old Journal with link" entry (file+datetree+prompt "diary-run= x.org") "* %i%?\n%u\n%a\n") ("j" "Journal" entry (file+datetree "diary-runx.org") "* %i%?\nEntered on %U\n") ("J" "Journal with link" entry (file+datetree "diary-runx.org") "* %i%?\nEntered on %U\n%a\n") ("i" "Store link in offline" plain (file "urls-offline.org") "%l")))) #+end_src You need to adapt this to your needs, of course. Alan =2D-=20 OpenPGP Key ID : 040D0A3B4ED2E5C7 Weekly CO=E2=82=82 average (2015-05-30, Mauna Loa Observatory): 403.41 ppm --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBCgAGBQJVgtjuAAoJEAQNCjtO0uXHgDAIAJI7PnHdhgA8vRMj5G9dppJL sXwpHDIOOWRvDJRbIOwGU6raLpQASxZt31tPMGnR4cFNrbnqOiyeSGQxaur/DtHb FWgNUwtwZpP/xW8pfcujnjIr9JL6QZelPhNL53zcWCJ1njitNz9ejjZ2qnrE3/I6 7bG9D9BtZHvPIk04VQOij/iZXPnL/a/OyoXa+iKVRh7daa+zY+OccCTZYNTjR+5w RLKvF+a8lWUgMdcagdNRwV7UTa/zahdmwe0hq3kYbpAQ+5KwJAFOArsX89SfT4Py m6vSQ0h+QxykCILeYCrLz8pwf29/6v0wscTeOJzJtsIx3QSBewlKgMrRtnihtg4= =wowL -----END PGP SIGNATURE----- --=-=-=--