From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: server-kill-new-buffers and org-agenda Date: Fri, 13 Mar 2009 18:04:18 +0100 Message-ID: <0904CE10-85B1-4894-A9D4-95242E59D61E@uva.nl> References: <20090313133437.GA23278@taruti.net> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LiBrV-0004bE-Q6 for emacs-orgmode@gnu.org; Fri, 13 Mar 2009 14:12:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LiBrR-0004YX-W6 for emacs-orgmode@gnu.org; Fri, 13 Mar 2009 14:12:01 -0400 Received: from [199.232.76.173] (port=57223 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LiBrR-0004YS-Np for emacs-orgmode@gnu.org; Fri, 13 Mar 2009 14:11:57 -0400 Received: from nf-out-0910.google.com ([64.233.182.191]:50855) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LiBrR-00024f-Co for emacs-orgmode@gnu.org; Fri, 13 Mar 2009 14:11:57 -0400 Received: by nf-out-0910.google.com with SMTP id b11so655135nfh.26 for ; Fri, 13 Mar 2009 11:11:56 -0700 (PDT) In-Reply-To: <20090313133437.GA23278@taruti.net> 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: Taru Karttunen Cc: Org-mode ml On Mar 13, 2009, at 2:34 PM, Taru Karttunen wrote: > 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? It might help if you exit the agenda with "x" before quitting. x will remove org files loaded to create the agenda. - Carsten