emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thomas Baumann <dtbaumann@yahoo.de>
To: emacs-orgmode@gnu.org
Subject: Re: get bbdb entry from org-agenda
Date: Fri, 30 May 2008 19:28:39 +0200	[thread overview]
Message-ID: <m31w3jd7lk.fsf@norvel.baumann-gauting.site> (raw)
In-Reply-To: y1rd4n4wvdi.fsf@ics.uci.edu

Hi,

the display of bbdb-anniversaries can be customized to use a function to
insert a link to bbdb:

M-x customize-option org-bbdb-anniversary-format-alist

and then add/change


(("birthday" lambda
  (name years suffix)
  (concat "Birthday: [[bbdb:" name "][" name " ("
          (number-to-string years)
          suffix ")]]"))
 ("wedding" lambda
  (name years suffix)
  (concat "[[bbdb:" name "][" name "'s "
          (number-to-string years)
          suffix " wedding anniversary]]")))

If one doesn't like to use a function, an alternative would be

(("birthday" . "Birthday: [[bbdb:%s]] (%d%s)")
 ("wedding" . "[[bbdb:%s]]'s %d%s wedding anniversary"))

but this leaves the agenda with bbdb:Name links.

I don't think I know how to make <TAB> jump to the bbdb-buffer
instead to the org-file

Ciao
Thomas

PS. Carsten should we make the function the default behaviour?

  parent reply	other threads:[~2008-05-30 17:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-29 23:20 get bbdb entry from org-agenda Rares Vernica
2008-05-30  4:12 ` Carsten Dominik
2008-05-30 17:28 ` Thomas Baumann [this message]
2008-06-12 14:31   ` Carsten Dominik
2008-06-12 14:32 ` Carsten Dominik

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=m31w3jd7lk.fsf@norvel.baumann-gauting.site \
    --to=dtbaumann@yahoo.de \
    --cc=emacs-orgmode@gnu.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).