"Roland Winkler" <wink...@gnu.org> writes: > On Tue Nov 26 2013 Joseph Mingrone wrote: >> It's useful being able to have BBDB anniversaries show up in the Org >> agenda following section 10.3.1 of the Org manual. The only problem >> with putting the anniversaries in BBDB instead of the diary is that the >> dates aren't marked in the calendar and don't show up the diary. Is >> there away to make the calendar/diary aware of anniversaries in BBDB? > > Have you looked at bbdb-anniv.el of BBDB 3? Its only goal is to > make calendar/diary aware of anniversaries / birthdays etc. stored > in BBDB. (I do not know how to further propagate these dates to org > mode; but once these things are known to calendar/diary/ this should > be no problem anymore.)
I use bbdb-anniv. It shows anniversaries in my org-agenda since one of my files says # %%(org-bbdb-anniversaries) but I don't know if there's a way to "capture" bbdb-anniversaries from e.g. calendar/diary/agenda. In case it's helpful, here are the relevant parts of my .emacs.d setup: #+BEGIN_SRC emacs-lisp ;;; Anniversaries: (when (require 'bbdb-anniv nil 'noerror) (add-hook 'diary-list-entries-hook 'bbdb-anniv-diary-entries) (setq ;; seems like org-bbdb just ignores these: bbdb-default-anniversary-format "gebursdag" bbdb-anniv-alist '( (gebursdag . "Gebursdag: %n blir %d!") (årsdag . "%n, %d-årsjubileum") ) ;; … so we set them here as well: org-bbdb-default-anniversary-format "gebursdag" org-bbdb-anniversary-format-alist '(("gebursdag" lambda (name years suffix) (concat "Gebursdag: [[bbdb:" name "][" name " (" (number-to-string years) " år)]]")) ("årsdag" lambda (name years suffix) (concat "[[bbdb:" name "][" (number-to-string years) "-årsjubileum: " name "]]"))))) ;; Unlike other date forms, I want anniversaries in the format YYYY-MM-DD, and ;; diary-date-forms is used by bbdb-anniv to parse the anniversary field (eval-after-load 'calendar-norway ; calls (calendar-set-date-style 'european) '(add-to-list 'diary-date-forms '(year "-" month "-" day "[^0-9]"))) #+END_SRC (so yes, you can add arbitrary anniversary types and change the date format) -- Kevin Brubeck Unhammer GPG: 0x766AC60C
pgpuShrNr9BaN.pgp
Description: PGP signature
------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/