emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [org-8.0.7] pb with org-anniversary
@ 2013-09-03  9:38 Yvon Henel
  2013-09-03 19:16 ` Fabrice Niessen
  0 siblings, 1 reply; 2+ messages in thread
From: Yvon Henel @ 2013-09-03  9:38 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [org-8.0.7] pb with org-anniversary
  2013-09-03  9:38 [org-8.0.7] pb with org-anniversary Yvon Henel
@ 2013-09-03 19:16 ` Fabrice Niessen
  0 siblings, 0 replies; 2+ messages in thread
From: Fabrice Niessen @ 2013-09-03 19:16 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-09-03 19:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-03  9:38 [org-8.0.7] pb with org-anniversary Yvon Henel
2013-09-03 19:16 ` Fabrice Niessen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).