Skip to main content

Timeline for Why doesn't this "diary sexp" work?

Current License: CC BY-SA 4.0

6 events
when toggle format what by license comment
Feb 2, 2023 at 9:05 comment added RenatoP ... More or less like this. I tried many ways to let that be understood. The only one I have found is the one explained in the previous posts
Feb 1, 2023 at 14:46 comment added NickD I know all this (as my answer clearly indicated). What is not clear is what was wrong, but it seems you don't know either: you did something and it fixed it but what exactly you did, nobody knows.
Feb 1, 2023 at 12:08 comment added RenatoP you can use: %%(org-anniversary 1948 02 01) Arthur's birthday (%d years old) or %%(diary-anniversary 02 01 1948) Arthur's birthday (%d years old con diary) the difference is on the date format. YYYY MM dd (for org-anniversary) MM dd YYY for diary-anniversary. I still can't understand why I didn't get any error messages abot the wrong format, but emacs has just ignored the text (or maybe MY emacs is setted to not display error messages)
Feb 1, 2023 at 12:01 comment added RenatoP you can use: %%(org-anniversary 1948 02 01) Arthur's birthday (%d years old)
Jan 31, 2023 at 19:18 comment added NickD I'm glad you solved it, but it is not clear how: the only difference between the form in your question and the one in your answer is that the day is 30, instead of 27. Although Arthur might object to having his birthday shifted like this, that makes no difference to Emacs. So what exactly was it that resolved the problem?
Jan 30, 2023 at 20:39 history answered RenatoP CC BY-SA 4.0