From: Richard Moreland <rlm@ncogni.to>
To: Marcelo de Moraes Serpa <celoserpa@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: [orgmobile] the role of the index.org file
Date: Thu, 19 Nov 2009 13:10:43 -0500 [thread overview]
Message-ID: <44A7C41E-73AE-459F-A4F8-AC82F6032996@ncogni.to> (raw)
In-Reply-To: <1e5bcefd0911191002n18c11fdat45eada58cd3eed57@mail.gmail.com>
Unfortunately you've crossed out of iPhone app territory and into the Emacs side where I can't help you very much.
My (hacky) solution would be to use a 'org-mobile-post-push-hook' to run a sed command on the generated index.org file to do your substitution. I think this should work, but I'm sure there is a much smarter way to do it.
There's an example that scp's the generated files here:
http://orgmode.org/manual/Setting-up-the-staging-area.html#Setting-up-the-staging-area
You would probably do the same, except use a sed command instead of scp (since your files are staged directly to your mounted WebDAV folder).
-Richard
On Nov 19, 2009, at 1:02 PM, Marcelo de Moraes Serpa wrote:
> Thanks again, Richard.
>
> Is there a way to change the name of the link? Currently it says "gtd/
> gtd.org" and I'd like to change it to Projects & Next Actions. However, I
> can't change the index.org directly as it is regenerated at each push. Any
> ideas?
>
> Marcelo.
>
> On Thu, Nov 19, 2009 at 11:59 AM, Richard Moreland <rlm@ncogni.to> wrote:
>
>> org-mobile-push creates index.org for you automatically. MobileOrg uses
>> it as a starting point from which it finds and fetches your other org files.
>> org-mobile-push also creates the agendas.org as well as a checksums.dat
>> file so MobileOrg can avoid re-downloading files that haven't changed.
>>
>> So yes, as you've discovered, the best way to go is to point MobileOrg at
>> the generated index.org file and you should be all set. As you add other
>> org files to your agenda files list, they will be included in your MobileOrg
>> sync as well.
>>
>> -Richard
>>
>> On Nov 19, 2009, at 12:49 PM, Marcelo de Moraes Serpa wrote:
>>
>>> Hello again Richard,
>>>
>>> I'd like to know what is the role of the index.org file. Does
>>> orgmobile.orgcreate it? At first, I just pointed
>>> orgmobile.org to my gtd.org file (which is my index file), but I started
>>> having problems of synchronization and I didn't get the agenda view nor
>> the
>>> colored tag icons in the items, now I pointed to index.org and I get a
>> link
>>> to my gtd.org file and to the agenda view.
>>>
>>> Thanks,
>>>
>>> Marcelo.
>>> _______________________________________________
>>> Emacs-orgmode mailing list
>>> Remember: use `Reply All' to send replies to the list.
>>> Emacs-orgmode@gnu.org
>>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>>
prev parent reply other threads:[~2009-11-19 18:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-19 17:49 [orgmobile] the role of the index.org file Marcelo de Moraes Serpa
2009-11-19 17:59 ` Richard Moreland
2009-11-19 18:02 ` Marcelo de Moraes Serpa
2009-11-19 18:10 ` Richard Moreland [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44A7C41E-73AE-459F-A4F8-AC82F6032996@ncogni.to \
--to=rlm@ncogni.to \
--cc=celoserpa@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.