emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ken Mankoff <mankoff@gmail.com>
To: emacs-orgmode@gnu.org
Subject: auto-push to mobile (but only when editing org buffer)
Date: Tue, 14 Aug 2012 18:04:59 -0700	[thread overview]
Message-ID: <CAFdBzErToSET6Ot1-J4AR2fwUgQ5k_4rt7WNwBCk=uL+aywRJg@mail.gmail.com> (raw)

I'm trying to set up auto-pushing via org-mobile-push to make org-mode
work more seamlessly with the iPhone. I have the following in my
.emacs:

(run-at-time "00:10" 10 'org-mobile-push)

which is running org-mobile-push every 10 seconds. This is for
testing. I'll reduce it to every 5 minutes once I'm done testing. But
it runs even when I'm just editing ~/.emacs. How can I wrap that to
only run when the active buffer is in Org Mode?

Thanks,

   -k.

             reply	other threads:[~2012-08-15  1:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-15  1:04 Ken Mankoff [this message]
2012-08-15  1:36 ` auto-push to mobile (but only when editing org buffer) Bastien
2012-08-15  2:10   ` Ken Mankoff
2012-08-15  7:33     ` Marcel van der Boom
2012-08-16 21:54       ` Ken Mankoff
2012-08-17 22:53         ` Ken Mankoff

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='CAFdBzErToSET6Ot1-J4AR2fwUgQ5k_4rt7WNwBCk=uL+aywRJg@mail.gmail.com' \
    --to=mankoff@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).