[O] [org-8.0.7] pb with org-anniversary

2013-09-03 Thread Yvon Henel
hello all

I've just reinstalled org-8.0.7 on emacs-23.3.1 (Ubuntu 12.04)
and I met a problem with the following syntax

%%(org-anniversary 1986 08 17) Cédric a %d ans.

moreover when emacs is in org-mode it does not recognize the function
org-anniversary

any help would be greatly appreciated

-- 
Yvon Henel



Re: [O] [org-8.0.7] pb with org-anniversary

2013-09-03 Thread Fabrice Niessen
Hello Yvon,

Yvon Henel wrote:
 I've just reinstalled org-8.0.7 on emacs-23.3.1 (Ubuntu 12.04)
 and I met a problem with the following syntax

Could you describe which problem?

 %%(org-anniversary 1986 08 17) Cédric a %d ans.

Could it be because of the accent in Cédric?  UTF-8 vs ISO Latin 1?

Personally, I use this, and it works (TM):

--8---cut here---start-8---
** January

%%(diary-anniversary 1979 01 15) Birthday of Sofia (%d years)
%%(diary-anniversary 1976 01 27) Birthday of Thomas (%d years)
--8---cut here---end---8---

 moreover when emacs is in org-mode it does not recognize the function
 org-anniversary

As `org-anniversary' is defined in `org-agenda':

  ╭
  │ org-anniversary is a Lisp function in `org-agenda.el'.
  │
  │ (org-anniversary YEAR MONTH DAY optional MARK)
  │
  │ Like `diary-anniversary', but with fixed (ISO) order of arguments.
  ╰

adding a:

(require 'org-agenda)

somewhere at the top of your .emacs could resolve that problem?

 any help would be greatly appreciated

HTH...

Best regards,
Fabrice

-- 
Fabrice Niessen
Leuven, Belgium