emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-icalendar--combine-files aggressively releases buffers
@ 2017-08-31 13:33 Michaël Cadilhac
  2017-08-31 14:00 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Michaël Cadilhac @ 2017-08-31 13:33 UTC (permalink / raw)
  To: emacs-orgmode

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)

…I'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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-08-31 15:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-31 13:33 org-icalendar--combine-files aggressively releases buffers Michaël Cadilhac
2017-08-31 14:00 ` Nicolas Goaziou
2017-08-31 15:03   ` Michaël Cadilhac

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).