emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Fabrice Niessen" <fni-news-TA4HMoP+1wHrZ44/DZwexQ@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: [org-8.0.7] pb with org-anniversary
Date: Tue, 03 Sep 2013 21:16:30 +0200	[thread overview]
Message-ID: <86r4d5d8c1.fsf@somewhere.org> (raw)
In-Reply-To: 5225AE05.40502@yvon-henel.fr

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

      reply	other threads:[~2013-09-03 19:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-03  9:38 [org-8.0.7] pb with org-anniversary Yvon Henel
2013-09-03 19:16 ` Fabrice Niessen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86r4d5d8c1.fsf@somewhere.org \
    --to=fni-news-ta4hmop+1whrz44/dzwexq@public.gmane.org \
    --cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).