[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] [orgmobile] the role of the index.org file
From: |
Richard Moreland |
Subject: |
Re: [Orgmode] [orgmobile] the role of the index.org file |
Date: |
Thu, 19 Nov 2009 13:10:43 -0500 |
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 <address@hidden> 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.
>>> address@hidden
>>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>>