From mboxrd@z Thu Jan 1 00:00:00 1970 From: Taru Karttunen Subject: server-kill-new-buffers and org-agenda Date: Fri, 13 Mar 2009 15:34:37 +0200 Message-ID: <20090313133437.GA23278@taruti.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Li7XC-0008TP-C3 for emacs-orgmode@gnu.org; Fri, 13 Mar 2009 09:34:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Li7X7-0008R0-T6 for emacs-orgmode@gnu.org; Fri, 13 Mar 2009 09:34:45 -0400 Received: from [199.232.76.173] (port=53916 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Li7X7-0008Qx-N7 for emacs-orgmode@gnu.org; Fri, 13 Mar 2009 09:34:41 -0400 Received: from courier.cs.helsinki.fi ([128.214.9.1]:60991 helo=mail.cs.helsinki.fi) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Li7X7-0005Dv-CO for emacs-orgmode@gnu.org; Fri, 13 Mar 2009 09:34:41 -0400 Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org-mode ml Hello It seems that server-kill-new-buffers in emacs23 works fine for normal org-mode files, but it doesn't affect buffers opened with org-agenda. Is it possible to fix this? The problematic behaviour is as follows: 1) look at the agenda in emacsclient 2) close emacsclient (org-mode buffers opened by agenda are not closed) 3) some hours later the files are edited by git etc 4) open emacsclient to edit some org-file and when saving in emacs it complains rightly that the file has been changed on the disk. Thus I would need a way to close the buffers opened by org-agenda when the emacsclient exits. Any suggestions? - Taru Karttunen