From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] org-capture: Add a custom to control save target file or not. Date: Sat, 29 Sep 2018 08:31:57 +0200 Message-ID: <87o9cg6ci3.fsf@nicolasgoaziou.fr> References: <19dc1211.1e75.162b770bd5c.Coremail.tumashu@163.com> <87po34y2ya.fsf@nicolasgoaziou.fr> <77a63bcf.32cc.162bcc4a5d0.Coremail.tumashu@163.com> <877epap70f.fsf@nicolasgoaziou.fr> <875zyro5jz.fsf@gmail.com> <87sh1t5ots.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37346) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g68nL-0002wD-Jq for emacs-orgmode@gnu.org; Sat, 29 Sep 2018 02:32:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g68nI-0001ZE-Dz for emacs-orgmode@gnu.org; Sat, 29 Sep 2018 02:32:03 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:58703) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g68nI-0001Yn-7l for emacs-orgmode@gnu.org; Sat, 29 Sep 2018 02:32:00 -0400 In-Reply-To: (Kaushal Modi's message of "Fri, 28 Sep 2018 17:17:39 -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" To: Kaushal Modi Cc: tumashu , emacs-org list Kaushal Modi writes: > Sorry. Here's the original thread: > https://lists.gnu.org/r/emacs-orgmode/2018-04/msg00204.html Thank you. > My email client shows the whole thread from then to now, so I forgot > pasting that. Mine (Gnus) also used to, but, for some reason, it doesn't anymore. > That's a valid concern, though I see the risk of losing unsaved data as > higher than that. Then saving should be the default again, and not saving optional. What about introducing a :no-save keyword in capture templates? It could be useful when the capture target is a remote file, as the OP noted, or when you simply want to handle buffer saving manually. Regards,