[O] org-caldav sync issue

2015-10-22 Thread Martin Kaffanke
Hi there,

I now use org-caldav, which is a real great feature for me, using my
android phone for calendar and syncing to org-mode.

But:

After doing the sync - and rebuilding my org-agenda i get the message:

Unable to percent escape character: \303

How can I deal with that?  On some days this seems to make the agenda
buffer not working anymore, getting the message:

org-agenda-check-type: No Org agenda currently displayed

After restarting emacs it works again...

Thanks for your help,
Martin



[O] Bug on refile with attachments

2015-10-12 Thread Martin Kaffanke
Hi there:

Do in the agenda:

C-c C-a n -> create a new attachment.

after that you refile the entry to another file in another directory.

Now the attachment cannot be found anymore.

Is this a bug?

Thanks,
Martin




Re: [O] org google calender different files

2015-10-07 Thread Martin Kaffanke

Eric S Fraga writes:

> If org is your main route for working with the information, as opposed
> to just displaying that information in a calendar view, then maybe a
> one-way synchronisation may be sufficient and then exporting each org
> file to ICS separately would be sufficient for your needs.

ok, that brings me to a new idea how it could work.  if the ics files
hold the data from the families, and can be shown in the google calendar
its fine.

so now I would have to have one org file in two way sync somehow.  its
where I store new appointments directly on my phone, after a sync to
org, i can refile them to other files - the sync then is for deleting it
so i don't have it redundant as two appointments on my phone.

do you think that works?

thanks,
Martin





[O] Inserting to agenda

2015-10-07 Thread Martin Kaffanke
Hi there,

I do:

C-c a a RET
k a
Insert my entry later with C-c C-c or C-c C-w [refiling options]

but then the agenda is not updated.

I can update it by pressing 'r'.  But this reloads everything.  After
the capture the agenda could know the one entry I just created and just
insert that entry to the agenda.  That would be the suggested behaviour
of users I think.  Can we do that?

Thanks,
Martin




[O] org google calender different files

2015-10-07 Thread Martin Kaffanke
Hi there,

I store all my appointments in different files I work as psychologist
and have one file per familiy I work with.  So there are all
appointments where I make the documentation later too.

Normally I collect the appointments in an "Inbox" in my gtd.org file
where later I refile them to the clients.

Now I would like to use my phones calender (having android 5.0.2) to
collect the appointments for later use in my org files.  Is that
possible to have a two way sync for that with the different file
structure.  As far as I see the org-gcal is for one file for one google
calender, but I have one google calender and the appointments splittet
in several fiels.

Has anyone done that till now or do i have to go new way?

Thanks,
Martin




Re: [O] org-read-date wrong for dates before 1970 ?

2015-09-17 Thread Martin Kaffanke
Nicolas Goaziou writes:

> Hello,
>
> Martin Kaffanke  writes:
>
>> So there a (german, and english - the last one) formated time is
>> translated correct for dates after 1970, but its wrong before that.
>>
>> How can we fix that?
>
> See org-read-date-force-compatible-dates.

Thanks, that's the important hint.  Even if I think this solution is for
stability by having less functionality.  So maybe there should be found
a stable solution with full functionality?

Thanks,
Martin




[O] org-read-date wrong for dates before 1970 ?

2015-09-17 Thread Martin Kaffanke

Hi there,

I'm doing in *scratch* the following (with C-j at the end of the line):

(org-insert-time-stamp (org-read-date nil 'totime "8. März 2012"))
<2012-10-08 Mon>"<2012-10-08 Mon>"

(org-insert-time-stamp (org-read-date nil 'totime "8. März 1952"))
<1970-10-08 Don>"<1970-10-08 Don>"

(org-insert-time-stamp (org-read-date nil 'totime "1952-03-08"))
<1970-03-08 Son>"<1970-03-08 Son>"

So there a (german, and english - the last one) formated time is
translated correct for dates after 1970, but its wrong before that.

How can we fix that?

(this code is used in the google-contacts-to-org-contacts functions from
the google-contacts package)

Thanks,
Martin





[O] org-entry-get behaviour

2015-09-04 Thread Martin Kaffanke
Hi there,

I can see now, that (org-entry-get (point) "foo") is nil, if
:PROPERTIES: follows the CLOCK: entry.  Has it changed to be that
:PROPERTIES: now must be the first thing of the entry?  If so, how can I
change all my entries at once instead of going through all my items and
do it by hand?

Thanks,
Martin



Re: [O] (org-entry-get (point) "CLOCK") fails now

2015-08-30 Thread Martin Kaffanke

Nicolas Goaziou writes:
>
>> And how do I have to rewrite my code now?
>
> I don't have enough information to answer. 
>
> What is your code supposed to do? What did you use CLOCK property for?

I have only one CLOCK property for my entry and I just want to extract
the start time of that clock entry.  I did after the get-entry:

(let*
(

 (clockentry (org-entry-get (point) "CLOCK"))
 (clockstart (apply 'encode-time (org-parse-time-string clockentry)))

)
 .
 )


So maybe you just know how to rewrite this two lines?

Thanks,
Martin



[O] (org-entry-get (point) "CLOCK") fails now

2015-08-30 Thread Martin Kaffanke

Hi there,

I have an exisiting code using for monnth, and it worked well at the end
of July - now End of August I need it again, but it returns nil, even on
the org entries which I have successfully used my code.

Why is "CLOCK" property now missing (after elpa updates) in
org-entry-get?

It is even missing in (org-entry-properties) - which I don't use, I just
looked at it...

And how do I have to rewrite my code now?

Thanks,
Martin