From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Long Subject: Re: Emacs opens a frame for each file in agenda list on org-mobile Date: Thu, 26 Nov 2009 13:07:58 -0700 Message-ID: <4B0EE01E.8050709@yahoo.co.uk> References: <4B0AC979.4090704@yahoo.co.uk> <4B0BAE68.6060109@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 1NDkdH-00088u-EY for emacs-orgmode@gnu.org; Thu, 26 Nov 2009 15:08:03 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NDkdG-00087S-Ih for emacs-orgmode@gnu.org; Thu, 26 Nov 2009 15:08:02 -0500 Received: from [199.232.76.173] (port=33866 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDkdG-00087B-DW for emacs-orgmode@gnu.org; Thu, 26 Nov 2009 15:08:02 -0500 Received: from qmta15.emeryville.ca.mail.comcast.net ([76.96.27.228]:32948) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NDkdF-0007EP-W0 for emacs-orgmode@gnu.org; Thu, 26 Nov 2009 15:08:02 -0500 In-Reply-To: <4B0BAE68.6060109@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: Steve Brown Cc: emacs-orgmode@gnu.org Dear Steve and All, I've been able to suppress the problem by commenting out one line (line 232) in org-mobile.el (in the version of org I just recently got from git, 6.33f+). That line is: ;; (push (cons file link-name) rtn)) Unfortunately, this also suppresses the update of the .org file of interest in the staging directory. Can anyone fluent in list propose how to update the org file without having the file "pop" open on Windows XP? Also, it is not simply an "emacsclient" issue as I was first guessing. If I use a .txt file as my org file of interest this gets opened by notepad rather than emacs (since I have not "told" Windows to open .txt files with emacs, but I have allowed org to use txt files.) (Also note, .txt files are not supported in the present version of mobileorg, but Richard has written a version which should be able to access them in the future.) Here are more details: file: org-6.33f\lisp\org-mobile.el I traced the problem by following: 1. defun org-mobile-push which calls org-mobile-files-alist 2. defun org-mobile-files-alist contains (push (cons file link-name) rtn)) Thanks! Stoph Steve Brown wrote: > Hi Christopher, > > On 23/11/2009 17:42, Christopher Long wrote: >> Dear Steve and All, >> >> Was this additional instance of emacs problem resolved? >> I am having the same problem also on windows XP. >> I wonder whether emacsclient or emacsclientw need to be called instead >> of a new instance of emacs. > > Sadly, I've not managed to resolve this at all. > > I did try using (server-start) but the frames still open and they > bitterly complain that a server instance is already running. > > I'm going to strip out everything from my .emacs until I just have the > org-mode settings left to see if that changes anything, but I'm not > hopeful. > > I haven't seen many complaints about this issue, so I assume that it > is uncommon and possibly difficult to replicate. > > Unfortunately I don't know how to step through elisp to debug this > myself ;-) I may have a steep learning curve ahead of me. > > If someone could give me a hint as to how to do this I'd be grateful. > > Best, > > Steve >