From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steve Brown Subject: Re: Emacs opens a frame for each file in agenda list on org-mobile Date: Tue, 24 Nov 2009 17:00:51 +0000 Message-ID: References: <4B0AC979.4090704@yahoo.co.uk> <4B0BAE68.6060109@gmail.com> <4B0BC44B.60902@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NCymd-0004cK-Tf for emacs-orgmode@gnu.org; Tue, 24 Nov 2009 12:02:31 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NCymY-0004ZB-5x for emacs-orgmode@gnu.org; Tue, 24 Nov 2009 12:02:30 -0500 Received: from [199.232.76.173] (port=49929 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NCymX-0004Ys-Hl for emacs-orgmode@gnu.org; Tue, 24 Nov 2009 12:02:25 -0500 Received: from lo.gmane.org ([80.91.229.12]:46937) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NCymX-00069Y-2g for emacs-orgmode@gnu.org; Tue, 24 Nov 2009 12:02:25 -0500 Received: from list by lo.gmane.org with local (Exim 4.50) id 1NCymV-0003OF-F8 for emacs-orgmode@gnu.org; Tue, 24 Nov 2009 18:02:23 +0100 Received: from 92.26.245.235 ([92.26.245.235]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Nov 2009 18:02:23 +0100 Received: from steve.stevebrown by 92.26.245.235 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 24 Nov 2009 18:02:23 +0100 In-Reply-To: <4B0BC44B.60902@gmail.com> 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: emacs-orgmode@gnu.org On 24/11/2009 11:32, Steve Brown wrote: > Okay, a quick follow up on this. > > Is there a command to close all frames but the current one? I could add > this to the post push hooks. Okay, I'm getting somewhere. I found out how how to step through elisp (hooray!) and called (debug-on-entry) on (org-mobile-copy-agenda-files) The new frame was opened when the *Backtrace* buffer showed: call-process("E:/Emacs/bin/cmdproxy.exe" nil t nil "-c" " \"e:/home/Orgfiles/work.org\"") [please read as all one line] Now, I'm afraid I'm at a loss. This seems to be a result of the environment I'm running in, and I can't install Cygwin - which is why I run Emacs off a USB stick. So, could someone show me how to close the frames once the push has been completed using the post-push hook? Thank you, Steve