emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christopher Long <stophlong@yahoo.co.uk>
To: Steve Brown <steve.stevebrown@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Emacs opens a frame for each file in agenda list on org-mobile
Date: Thu, 26 Nov 2009 13:07:58 -0700	[thread overview]
Message-ID: <4B0EE01E.8050709@yahoo.co.uk> (raw)
In-Reply-To: <4B0BAE68.6060109@gmail.com>

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
>

      parent reply	other threads:[~2009-11-26 20:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-23 17:42 Emacs opens a frame for each file in agenda list on org-mobile Christopher Long
2009-11-24  9:59 ` Steve Brown
2009-11-24 11:32   ` Steve Brown
2009-11-24 17:00     ` Steve Brown
2009-11-26 19:06   ` org-babel for matlab? Christopher Long
2009-11-27 19:56     ` Eric Schulte
2009-11-26 20:07   ` Christopher Long [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B0EE01E.8050709@yahoo.co.uk \
    --to=stophlong@yahoo.co.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=steve.stevebrown@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).