From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Micha=C3=ABl_Cadilhac?= Subject: org-icalendar--combine-files aggressively releases buffers Date: Thu, 31 Aug 2017 14:33:11 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dnPbb-00022e-KD for emacs-orgmode@gnu.org; Thu, 31 Aug 2017 09:34:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dnPbX-0007UU-4s for emacs-orgmode@gnu.org; Thu, 31 Aug 2017 09:33:59 -0400 Received: from cadilhac.name ([163.172.56.42]:43318) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dnPbW-0007U1-Sh for emacs-orgmode@gnu.org; Thu, 31 Aug 2017 09:33:55 -0400 Received: from mail-ua0-f175.google.com (mail-ua0-f175.google.com [209.85.217.175]) by cadilhac.name (OpenSMTPD) with ESMTPSA id 17b7d7d8 (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO) for ; Thu, 31 Aug 2017 13:35:55 +0000 (UTC) Received: by mail-ua0-f175.google.com with SMTP id y50so1958666uay.4 for ; Thu, 31 Aug 2017 06:33:52 -0700 (PDT) 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: emacs-orgmode@gnu.org Hi there; I have an idle timer that uses org-icalendar-combine-agenda-files to publish my agenda. It may well be that I hadn't saved one of the Org files used in there, hence when org-icalendar--combine-files uses : (org-release-buffers org-agenda-new-buffers) =E2=80=A6I'm prompted to save before closing some buffers. Worst, I'm even asked to clock-out if I actually say yes to that question. Personally, I now expect org to leave quite a lot of .org files open (namely, my inbox, my todo file, my 3 gmail agendas), so I'd be fine with simply not having any of these closed for me. The right thing to do, however, is probably to check org-agenda-new-buffers before and after the files are processed, and close the new ones. Opinions? M.