[O] Org Agenda and recurring icalendar events

2016-09-30 Thread cschr
Hello together

 

Im now running Emacs 25.1 with Org 8.3.5 on Windows.   I love Emacs and
Orgmode and I want to use it instead of Microsoft Office.   But in order to
replace MS-Outlook calendar by Org Agenda, and in order to sync Org Agenda
with my Android phone, I would need all icalendar functionality, which is
used by MS-Outlook and by Android, implemented in Orgmode. Most urgently
missing are recurrence features like RRULE, EXDATE, DTSTART, DTEND, etc, and
import and export of those from and to icalendar.   The current
implementation is only rudimentary.

 

Emacs diary is not suitable - import and export from and to icalendar are
also not working properly for most recurring events, and of course it misses
the Orgmode features.

 

My idea would be to introduce recurring icalendar elements like RRULE,
EXDATE, DTSTART and DTEND as Org Properties, which would make importing and
exporting them straightforward, I guess. Main work would be to make these
dates show up in the Org Agenda properly.

 

Wonderful would be to have this functionality as an official part of orgmode
and maintained

 

A similar work was started in 2013 already:
http://thread.gmane.org/gmane.emacs.orgmode/74391

 

But that’s all I was able to find on the web about this subject – it seems
no work is going on here - or does anybody know there is?

 

Im wondering if this idea is of interest to anybody else – to me this is a
real killer feature for using Org Agenda.

 

I had sent the below emails via bug-gnu-emacs, but there was no response –
was it the wrong place to send to ?

 

I don’t have Emacs development knowledge.  Is there any expert here who
could tell me if this is possible at all, whether this could become part of
official orgmode and how, and what could the effort be – is this a few
weeks, or a few months, or much more work ?

 

Thank you so much

 

Kind regards

Chris

 

 

 

 

From: cschr [mailto:cs...@freenet.de] 
Sent: 12 August 2016 09:34
To: bug-gnu-em...@gnu.org
Subject: RE: Subject: 25.0.94; Proposal to make orgmode agenda really useful

 

RRULE might better be an orgmode PROPERTY too, like proposed for Recurrence
End Date and Exceptions in
<http://thread.gmane.org/gmane.emacs.orgmode/74391>
http://thread.gmane.org/gmane.emacs.orgmode/74391

 

In fact, its several properties, but not all are needed for Android Sync. I
only need: RRULE_FREQ, RRULE_INTERVAL, RRULE_BYDAY, RRULE_COUNT,
RRULE_UNTIL. 

Also, EXDATE is needed which is not part of RRULE but part of VEVENT, and
TRIGGER which is part of VALARM

 

 

From: cschr [ <mailto:cs...@freenet.de> mailto:cs...@freenet.de] 
Sent: 10 August 2016 20:27
To:  <mailto:bug-gnu-em...@gnu.org> bug-gnu-em...@gnu.org
Subject: Subject: 25.0.94; Proposal to make orgmode agenda really useful

 

I love emacs - its incredibly powerful and helpful - its almost all i

ever dreamt of. 

 

One thing i miss urgently: make org agenda files fully sync with my

icalendar files, including recurrance with end dates, and including alarms.

RRule Exceptions would also be helpfull. 

 

Here are my ideas, and I would be curious to hear your plans:

 

1. Would it be an idea to implement a DIARY_RRULE function which can be used

in date sexpr in org agenda (and maybe also the diary) and which accepts

an icalendar RRULE string as parameter ?   This could make icalendar

export and import very easy (just copy the string), and implementation

in elisp shouldnt be too hard (but thats something I can only guess -

you know it better).

 

2. exceptions and end dates could also be implemented as org properties,

as already proposed by  <http://thread.gmane.org/gmane.emacs.orgmode/74391>
http://thread.gmane.org/gmane.emacs.orgmode/74391

 

3. At the moment i am stuck because my icalendar file can only be

imported into the diary: import into org files is restricted to single
events

(and maybe very simple recurring events?). And the diary import uses
diary-date

a lot which cannot be exported, and diary export does not create VALARms,

and the ORG features are not available for the diary.

 

Thanks a lot for your great work !!!

Kind regards – Christoph Schröder, Cham, Switzerland

 

 



[O] individual alerts

2016-01-12 Thread cschr
Hello

 

Im a software developer and new to emacs. I want to maintain my calendar
appointments in orgmode, and define individual alerts for each appointment
(which also includes to have no alert for some appointments). Using the
emacs diary is not enough for me – I want orgmode!   

 

I found out already how to export SCHEDULED and DEADLINE timestamps from
orgmode to iCalendar VEVENTs, but the VALARM TRIGGERs produced always have
the same value (VALARM TRIGGER is always “P0DT0H0M0S”). How can I define an
individual alert for each appointment in ORGMODE, and have the alert values
exported as icalendar VALARM TRIGGERs?  

 

The :APPT_WARNTIME: property in orgmode seems to do nothing, nor does it
seem to help if I add a “WARNTIME …” text to the orgmode item – this seems
to work for emacs diary entries only.   

 

I would furthermore like my individual orgmode alerts to be interpreted by
the emacs appointment system in order for emacs to notify me – again this
seems to always produce a constant notification

 

Again: maintaining my appointments within the emacs diary is not an option
for me – I need the orgmode features

 

Thanks very much

Kind regards

Christoph Schröder



[O] MobileOrg does not sync with local Android calendar

2016-01-30 Thread cschr
Hi

 

I set up MobileOrg and it now shows the appointments from my emacs diary and
my orgmode agenda. But nothing shows in my local android calendar, although
I configured MobileOrg to sync with the android calendar. Is this
functionality known to work, at all, and are there any special preconditions
?   I tried with two different smartphones - a Sony Xperia Pro with Android
4.0.4, and a Mobistel Cygnus with Android 4.4.2

 

Many thanks

Regards - Chris



Re: [O] MobileOrg does not sync with local Android calendar

2016-02-06 Thread cschr
Thanks Ramon and Eric

Are you using custom agenda views ?   Someone wrote on the web that this is 
required - is he right ?

Chris

-Original Message-
From: emacs-orgmode-bounces+cschr=freenet...@gnu.org 
[mailto:emacs-orgmode-bounces+cschr=freenet...@gnu.org] On Behalf Of Ramon 
Diaz-Uriarte
Sent: Sonntag, 31. Januar 2016 16:13
To: Eric S Fraga
Cc: emacs-orgmode@gnu.org; cschr
Subject: Re: [O] MobileOrg does not sync with local Android calendar




On Sun, 31-01-2016, at 13:36, Eric S Fraga  wrote:
> On Sunday, 31 Jan 2016 at 08:42, cschr wrote:
>> Hi
>>
>> I set up MobileOrg and it now shows the appointments from my emacs 
>> diary and my orgmode agenda. But nothing shows in my local android 
>> calendar, although I configured MobileOrg to sync with the android 
>> calendar. Is this functionality known to work, at all, and are there
>> any special preconditions ?   I tried with two different smartphones
>> – a Sony Xperia Pro with Android 4.0.4, and a Mobistel Cygnus with 
>> Android 4.4.2
>>
>
> It syncs with my calendar on cyanogenmod latest nightly snapshot on a 
> Nexus 4.  I've had no issues in this regard in a very long time.
>

It has also worked for me for a long time in several tablets/phones. Right now 
it is working on two tablets (BQ edison 3 and Nexus 7) with stock android 4.4 
and a phone with stock android 5. It has worked in the past with Android 4.1.




> I think what I am using is roughly equivalent to android 5.1?  Not 
> entirely sure however but definitely well past 4.x versions.  Whether 
> this is relevant or not is unclear!


--
Ramon Diaz-Uriarte
Department of Biochemistry, Lab B-25
Facultad de Medicina
Universidad Autónoma de Madrid
Arzobispo Morcillo, 4
28029 Madrid
Spain

Phone: +34-91-497-2412

Email: rdia...@gmail.com
   ramon.d...@iib.uam.es

http://ligarto.org/rdiaz





[O] Dired does not correctly process file names with ornamented and special Characters in Emacs for Windows

2016-02-28 Thread cschr
Hello

 

Filenames with ornamented or special characters are often not shown correctly 
in "dired", and cannot be opened. The strange thing is: sometimes it works 
properly, but I cant figure out under what circumstances - it seems to be 
completely arbitrary. Would anybody know how to make it always work ?

 

Im on Windows 7-64bit, running a Emacs Version 25.0.50.1 (x86_64-w64-mingw32) 
of 2015-11-10, which I downloaded from 
http://sourceforge.net/projects/emacsbinw64/?source=typ_redirect 

 

I additionally installed msys2-64bit with mingw64, which is included in my 
Windows environment variable PATH (...;C:\Programme\msys2-64\mingw64\bin)

 

Based on information I found on the web, I further added the following to my 
init.el file:

 

;; configure grep acc to 
http://jpstup.blogspot.ch/2011/02/getting-emacss-rgrep-working-in-windows.html 

;; and 
http://www.gnu.org/software/emacs/manual/html_mono/efaq-w32.html#Dired-ls 

 

(when (or (eq system-type 'windows-nt) (eq system-type 'msdos))

  (setenv "PATH" (concat 
"C:\\Programme\\msys2-64\\usr\\bin;C:\\Programme\\msys2-64\\mingw64\\bin;" 
(getenv "PATH")))

  (setq ;;find-program "C:\\Programme\\msys2-64\\usr\\bin\\find.exe"

;;grep-program "C:\\Programme\\msys2-64\\usr\\bin\\grep.exe"

ls-lisp-use-insert-directory-program t  ;; use external ls

insert-directory-program 
"c:\\Programme\\msys2-64\\usr\\bin\\ls.exe" ;; ls program name

diff-command 
"C:\\Programme\\msys2-64\\mingw64\\bin\\diff.exe"

  )

)

;; Prevent issues with the Windows null device (NUL)

;; when using cygwin find with rgrep.

(defadvice grep-compute-defaults (around 
grep-compute-defaults-advice-null-device)

"Use cygwin's /dev/null as the null-device."

(let ((null-device "/dev/null"))

ad-do-it))

(ad-activate 'grep-compute-defaults)