emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* automatically org-mobile-push/pull ?
@ 2010-11-11  9:11 ishi soichi
  2010-11-11  9:31 ` Suvayu Ali
  0 siblings, 1 reply; 3+ messages in thread
From: ishi soichi @ 2010-11-11  9:11 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 292 bytes --]

Hi. Is there anyway to execute automatically "org-mobile-push/pull" ?

For example, when starting Emacs, "org-mobile-pull" is done.  And when
killing Emacs, "org-mobile-push".

I guess setting up elisp would do the job, but I am yet to understand elisp
that much.

Thanks in advance.

Soichi

[-- Attachment #1.2: Type: text/html, Size: 436 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: automatically org-mobile-push/pull ?
  2010-11-11  9:11 automatically org-mobile-push/pull ? ishi soichi
@ 2010-11-11  9:31 ` Suvayu Ali
  2010-11-11  9:54   ` ishi soichi
  0 siblings, 1 reply; 3+ messages in thread
From: Suvayu Ali @ 2010-11-11  9:31 UTC (permalink / raw)
  To: emacs-orgmode

Hi Soichi,

On Thursday 11 November 2010 01:11 AM, ishi soichi wrote:
> Hi. Is there anyway to execute automatically "org-mobile-push/pull" ?
>
> For example, when starting Emacs, "org-mobile-pull" is done.  And when
> killing Emacs, "org-mobile-push".
>

You can customise these hooks,

(add-hook 'after-init-hook 'org-mobile-pull)
(add-hook 'kill-emacs-hook 'org-mobile-push)

And put it in your init file (e.g. ~/.emacs or ~/.emacs.d/init.el).

> Soichi

Hope this helps.

-- 
Suvayu

Open source is the future. It sets us free.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: automatically org-mobile-push/pull ?
  2010-11-11  9:31 ` Suvayu Ali
@ 2010-11-11  9:54   ` ishi soichi
  0 siblings, 0 replies; 3+ messages in thread
From: ishi soichi @ 2010-11-11  9:54 UTC (permalink / raw)
  To: Suvayu Ali; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 930 bytes --]

Thanks everyone.  I will try to customize it.

soichi

2010/11/11 Suvayu Ali
<fatkasuvayu+linux@gmail.com<fatkasuvayu%2Blinux@gmail.com>
>

> Hi Soichi,
>
>
> On Thursday 11 November 2010 01:11 AM, ishi soichi wrote:
>
>> Hi. Is there anyway to execute automatically "org-mobile-push/pull" ?
>>
>> For example, when starting Emacs, "org-mobile-pull" is done.  And when
>> killing Emacs, "org-mobile-push".
>>
>>
> You can customise these hooks,
>
> (add-hook 'after-init-hook 'org-mobile-pull)
> (add-hook 'kill-emacs-hook 'org-mobile-push)
>
> And put it in your init file (e.g. ~/.emacs or ~/.emacs.d/init.el).
>
>  Soichi
>>
>
> Hope this helps.
>
> --
> Suvayu
>
> Open source is the future. It sets us free.
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>

[-- Attachment #1.2: Type: text/html, Size: 1773 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-11-11  9:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-11  9:11 automatically org-mobile-push/pull ? ishi soichi
2010-11-11  9:31 ` Suvayu Ali
2010-11-11  9:54   ` ishi soichi

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).