From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pengju Xu Subject: org mode suggestion: offer option to not save the buffer after capture Date: Thu, 18 Jul 2013 09:53:07 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_5dc107fa-dd84-4cbd-ad6c-24dcb77c2875_" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39900) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzrlP-00061I-Td for emacs-orgmode@gnu.org; Thu, 18 Jul 2013 13:13:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UzrlN-000206-4O for emacs-orgmode@gnu.org; Thu, 18 Jul 2013 13:13:11 -0400 Received: from bay0-omc1-s26.bay0.hotmail.com ([65.54.190.37]:11568) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UzrlM-0001zx-Vb for emacs-orgmode@gnu.org; Thu, 18 Jul 2013 13:13:09 -0400 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: "emacs-orgmode@gnu.org" --_5dc107fa-dd84-4cbd-ad6c-24dcb77c2875_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable after org mode capture and hitting "C-c C-c" capture will try to save the b= uffer in my case=2C that's not always desired=2C since it's a network share= file and it might not be available away from homebut I do have the buffer = open=2C and that buffer does seem updated other than not saved=2C it s= eems fine=2C I can simply kill the "Capture-xxx" buffer and the captur= ed text shows up in the target buffer =20 Here is my setup:(setq org-capture-templates '(("p" "ptodo" entry (fil= e (expand-file-name "dmz/ptodo.org" pjx-personal-folder)) "* TODO [= #1] %?\n%U\n %i\n %a" :prepend t)))=20 = --_5dc107fa-dd84-4cbd-ad6c-24dcb77c2875_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
after org mode capture and hitti= ng "C-c C-c" =3B
capture will try to save the buffer =3B
<= div>in my case=2C that's not always desired=2C since it's a network share f= ile and it might not be available away from home
but I do have th= e buffer open=2C and that buffer does seem updated
 =3B  = =3B  =3B other than not saved=2C it seems fine=2C I can simply kill the= "Capture-xxx" buffer
 =3B  =3B  =3B and the captured= text shows up in the target buffer =3B
 =3B


Here is my setup:
(setq org-capture-te= mplates
 =3B  =3B  =3B '(("p" "ptodo" entry (file (ex= pand-file-name "dmz/ptodo.org" pjx-personal-folder))
 =3B &nb= sp=3B  =3B  =3B  =3B"* TODO [#1] %?\n%U\n  =3B%i\n  =3B= %a" :prepend t))) =3B

= --_5dc107fa-dd84-4cbd-ad6c-24dcb77c2875_--