Re: BBDB anniversaries in the calendar/diary
Roland == Roland Winkler wink...@gnu.org writes: On Fri Nov 29 2013 Uwe Brauer wrote: Exactly. - Your screenshot is from Xemacs? That could explain the difference. I do not know anything about it. Yes, 21.4.X or 21.5.33. smime.p7s Description: S/MIME cryptographic 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=84349351iu=/4140/ostg.clktrk___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: BBDB anniversaries in the calendar/diary
On Sat Nov 30 2013 Uwe Brauer wrote: Yes, 21.4.X or 21.5.33. So it seems I did not overlook anything when I filed bug#15987 for GNU Emacs. -- 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=84349351iu=/4140/ostg.clktrk ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: BBDB anniversaries in the calendar/diary
Roland Winkler wink...@gnu.org writes: On Thu Nov 28 2013 Uwe Brauer wrote: I use (require 'bbdb-anniv) (add-hook 'list-diary-entries-hook #'bbdb-include-anniversaries) In my 2.35 bbdb version and I do see the anniversaries marked in the calendar. Are you saying this is not possible in vs 3? You are talking about which version of bbdb-anniv.el and which version of Emacs? For bbdb 2.35, I only know bbdb-anniv.el by Ivar Rummelhoff (dated 1998). This code uses add-to-diary-list to communicate with diary, and this function is also used by bbdb-anniv.el in BBDB 3. With recent versions of GNU Emacs, add-to-diary-list only works with the diary buffer, but -to the best of my knowledge- it cannot mark these entries in the calendar buffer. I'd certainly be glad to know if and how this approach can also be extended to marking entries in the calendar buffer. Roland It might be worth looking at the code in org-bbdb.el: org-bbdb-make-anniv-hash builds a hash table of all anniversaries in the BBDB, which would be a useful starting place. Key is (month date), value is ((year record-name anniversary-type) (year record-name anniversary-type) etc). Load org-bbdb.el and populate the hash with org-bbdb-make-anniv-hash. Then some setup: (add-hook 'calendar-move-hook (lambda () (maphash (lambda (k v) (calendar-mark-visible-date `(,(car k) ,(cadr k) ,displayed-year)) ; later add custom face org-bbdb-anniv-hash))) And then this, a mashup of calendar-cursor-holidays and bbdb-anniv-diary-entries: (defun bbdb-anniv-cursor-anniv (optional date) (interactive) (or date (setq date (calendar-cursor-to-date t))) (let* ((date-string (calendar-date-string date)) (m (car date)) (d (second date)) (anniv-list (gethash (list m d) org-bbdb-anniv-hash)) leaps msg) ;; leap year handling from bbdb-anniv (when (and (= m 3) (= d 1) (not (null (gethash (list 2 29) org-bbdb-anniv-hash))) (not (calendar-leap-year-p y))) (setq leaps (gethash (list 2 29) org-bbdb-anniv-hash)) (mapcar (lambda (l) (push l anniv-list)) leaps)) (when anniv-list (setq msg (format %s: %s date-string (mapconcat (lambda (a) (let ((form (cdr (assoc (intern (nth 2 a)) bbdb-anniv-alist))) yy text ord) (setq yy (if (car a) (- (calendar-extract-year date) (car a)) 100) ord (when ( yy 0) (diary-ordinal-suffix yy)) text (or form unspecified for %n) text (replace-regexp-in-string \\`[ \t]+ text) text (replace-regexp-in-string [ \t]+\\' text) text (replace-regexp-in-string %n (nth 1 a) text)) (if (and yy ord) (format text yy ord) text))) anniv-list ; ))) (message %s msg (add-hook 'calendar-mode-hook (lambda () (define-key calendar-mode-map (kbd b) 'bbdb-anniv-cursor-anniv))) This is the simplest hack, but obviously we wouldn't want to borrow org code, and bbdb-anniv could probably use some refactoring. But it's a starting place. Would a separate anniversary hash table be something desirable in BBDB itself? Or Anyway, food for thought. Eric -- 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=84349351iu=/4140/ostg.clktrk ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: BBDB anniversaries in the calendar/diary
On Sun Dec 1 2013 Eric Abrahamsen wrote: It might be worth looking at the code in org-bbdb.el: org-bbdb-make-anniv-hash builds a hash table of all anniversaries in the BBDB, which would be a useful starting place. Key is (month date), value is ((year record-name anniversary-type) (year record-name anniversary-type) etc). Load org-bbdb.el and populate the hash with org-bbdb-make-anniv-hash. There are various possibilities to achieve such a goal in more or less dirty ways using different hooks, see also GNU Emacs bug#15987. (I do not see the need to populate a hash table as an intermediate step, as it requires more coding efforts to keep such a hash table up to date when BBDB records get modified.) Yet I wish that, first of all, diary/calendar would officially support such a thing so that BBDB and org-mode need not hook into diary/calendar in some dirty ways. As a general strategy, with the new BBDB I want to avoid trying to be smarter than the main Emacs which BBDB builds upon. In my humble opinion, the old BBDB contained too many patches of that kind. Then some setup: (add-hook 'calendar-move-hook (lambda () (maphash (lambda (k v) (calendar-mark-visible-date `(,(car k) ,(cadr k) ,displayed-year)) ; later add custom face org-bbdb-anniv-hash))) And then this, a mashup of calendar-cursor-holidays and bbdb-anniv-diary-entries: (defun bbdb-anniv-cursor-anniv (optional date) (interactive) (or date (setq date (calendar-cursor-to-date t))) (let* ((date-string (calendar-date-string date)) (m (car date)) (d (second date)) (anniv-list (gethash (list m d) org-bbdb-anniv-hash)) leaps msg) ;; leap year handling from bbdb-anniv (when (and (= m 3) (= d 1) (not (null (gethash (list 2 29) org-bbdb-anniv-hash))) (not (calendar-leap-year-p y))) (setq leaps (gethash (list 2 29) org-bbdb-anniv-hash)) (mapcar (lambda (l) (push l anniv-list)) leaps)) (when anniv-list (setq msg (format %s: %s date-string (mapconcat (lambda (a) (let ((form (cdr (assoc (intern (nth 2 a)) bbdb-anniv-alist))) yy text ord) (setq yy (if (car a) (- (calendar-extract-year date) (car a)) 100) ord (when ( yy 0) (diary-ordinal-suffix yy)) text (or form unspecified for %n) text (replace-regexp-in-string \\`[ \t]+ text) text (replace-regexp-in-string [ \t]+\\' text) text (replace-regexp-in-string %n (nth 1 a) text)) (if (and yy ord) (format text yy ord) text))) anniv-list ; ))) (message %s msg (add-hook 'calendar-mode-hook (lambda () (define-key calendar-mode-map (kbd b) 'bbdb-anniv-cursor-anniv))) This is the simplest hack, but obviously we wouldn't want to borrow org code, and bbdb-anniv could probably use some refactoring. But it's a starting place. Would a separate anniversary hash table be something desirable in BBDB itself? Or Anyway, food for thought. -- 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=84349351iu=/4140/ostg.clktrk ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: BBDB anniversaries in the calendar/diary
Roland Winkler wink...@gnu.org writes: On Sun Dec 1 2013 Eric Abrahamsen wrote: It might be worth looking at the code in org-bbdb.el: org-bbdb-make-anniv-hash builds a hash table of all anniversaries in the BBDB, which would be a useful starting place. Key is (month date), value is ((year record-name anniversary-type) (year record-name anniversary-type) etc). Load org-bbdb.el and populate the hash with org-bbdb-make-anniv-hash. There are various possibilities to achieve such a goal in more or less dirty ways using different hooks, see also GNU Emacs bug#15987. (I do not see the need to populate a hash table as an intermediate step, as it requires more coding efforts to keep such a hash table up to date when BBDB records get modified.) Yet I wish that, first of all, diary/calendar would officially support such a thing so that BBDB and org-mode need not hook into diary/calendar in some dirty ways. As a general strategy, with the new BBDB I want to avoid trying to be smarter than the main Emacs which BBDB builds upon. In my humble opinion, the old BBDB contained too many patches of that kind. Oh sure, I don't think this is a good solution by any means. It just presented itself as the shortest distance from here to there, at present. I hadn't read the conversation on the bug report. My 2 cents is that the calendar and the diary ought to be separate or at least separable things. I want to use the calendar; I have no need for the diary. Org mode users, in particular, will be using org to do what diary does, and my guess is most of us would like the bbdb-to-calendar integration to be separate from the diary. As you mention in the report, there's really no reason for an intermediate file. That's why `calendar-mark-visible-date' seemed like the best entry point: it's actually quite clean. But the rest of the code (including population of org-bbdb-anniv-hash) only works because org-bbdb loads diary-lib and does all the diary-related stuff for us. Does calendar/diary separation seem like a good idea? I could possibly chime in on the bug report... E -- 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=84349351iu=/4140/ostg.clktrk ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: BBDB anniversaries in the calendar/diary
On Fri Nov 29 2013 Uwe Brauer wrote: Before we are going into details: here is a screenshot, of why I understand my marked. For example the 21 is a birthday of somebody, it is marked in red. Are you saying you cannot obtain this behavior? Exactly. - Your screenshot is from Xemacs? That could explain the difference. I do not know anything about it. -- 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=84349351iu=/4140/ostg.clktrk ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: BBDB anniversaries in the calendar/diary
On Wed Nov 27 2013 Joseph Mingrone wrote: The only piece missing, from my perspective, is that these days aren't marked in the calendar like they would be for an equivalent anniversary created in the diary. Am I missing a function that could be added to a calendar hook to have these BBDB anniversaries mark the calendar? No, I think that you are not missing anything. Currently you cannot do what you want. It seems to me that the code used by diary and calendar for these things is unnecessarily complicated (duplicating code) such that, in particular, it becomes difficult to feed things such as BBDB anniversaries into the algorithm for marking the calendar. I have filed this as GNU Emacs bug#15987. Roland -- 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=84349351iu=/4140/ostg.clktrk ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: BBDB anniversaries in the calendar/diary
Roland Winkler wink...@gnu.org writes: On Wed Nov 27 2013 Joseph Mingrone wrote: The only piece missing, from my perspective, is that these days aren't marked in the calendar like they would be for an equivalent anniversary created in the diary. Am I missing a function that could be added to a calendar hook to have these BBDB anniversaries mark the calendar? No, I think that you are not missing anything. Currently you cannot do what you want. It seems to me that the code used by diary and calendar for these things is unnecessarily complicated (duplicating code) such that, in particular, it becomes difficult to feed things such as BBDB anniversaries into the algorithm for marking the calendar. I have filed this as GNU Emacs bug#15987. Thank you Roland. BBDB 3 is working out quite well. :) Thank you Uwe and Kevin for your replies as well. Joseph -- 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=84349351iu=/4140/ostg.clktrk ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: BBDB anniversaries in the calendar/diary
Roland == Roland Winkler wink...@gnu.org writes: On Wed Nov 27 2013 Joseph Mingrone wrote: The only piece missing, from my perspective, is that these days aren't marked in the calendar like they would be for an equivalent anniversary created in the diary. Am I missing a function that could be added to a calendar hook to have these BBDB anniversaries mark the calendar? I still do not understand, I use (require 'bbdb-anniv) (add-hook 'list-diary-entries-hook #'bbdb-include-anniversaries) In my 2.35 bbdb version and I do see the anniversaries marked in the calendar. Are you saying this is not possible in vs 3? Uwe Brauer smime.p7s Description: S/MIME cryptographic 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=84349351iu=/4140/ostg.clktrk___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: BBDB anniversaries in the calendar/diary
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 -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=84349351iu=/4140/ostg.clktrk___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: BBDB anniversaries in the calendar/diary
Kevin Brubeck Unhammer unham...@fsfe.org writes: 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) It's no problem to have the BBDB anniversaries show up in the Org agenda. In fact, I noticed after upgrading to BBDB 3 and adding bbdb-anniv-diary-entries to diary-list-entries-hook the %%(org-bbdb-anniversaries) line in an Org file isn't necessary to have these anniversaries show up in the agenda. Cool. Of course, they show up in the fancy diary display as well when you hit 'd' on the day from the calendar. The only piece missing, from my perspective, is that these days aren't marked in the calendar like they would be for an equivalent anniversary created in the diary. Am I missing a function that could be added to a calendar hook to have these BBDB anniversaries mark the calendar? Thanks for all the feedback, Joseph -- 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=84349351iu=/4140/ostg.clktrk ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
BBDB anniversaries in the calendar/diary
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? Putting %%(org-bbdb-anniversaries) in the diary file marks the calendar, but hitting 'd' in the calendar doesn't show the anniversary, so org-bbdb-anniversaries in org-bbdb.el might be a good starting place to get this functionality? Update: I see Take birthdays from the BBDB, add them to calendar. From Boris Goldowsky. is on the list of TODO, so maybe this being worked on. Thanks, Joseph -- 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=84349351iu=/4140/ostg.clktrk ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: BBDB anniversaries in the calendar/diary
Hello Uwe, Uwe Brauer o...@mat.ucm.es writes: Joseph == Joseph Mingrone j...@ftfl.ca writes: 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? Yes, such a functionality was implemented by Robert Fenk, I still have his pkg. However I have only tested in 2.35 and cannot guarantee that it will work in vs 3. If you want it I can send it to you. However this is only for the simple diary/ccalendar, not for org-agenda etc. Yes, please. I'm using 2.35 and as long things appear in the diary/calendar, Org can pick them up to display in the agenda. Thanks, Joseph -- 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=84349351iu=/4140/ostg.clktrk ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: BBDB anniversaries in the calendar/diary
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.) Does this answer your question? Roland -- 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=84349351iu=/4140/ostg.clktrk ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: BBDB anniversaries in the calendar/diary
Joseph == Joseph Mingrone j...@ftfl.ca writes: 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? Yes, such a functionality was implemented by Robert Fenk, I still have his pkg. However I have only tested in 2.35 and cannot guarantee that it will work in vs 3. If you want it I can send it to you. However this is only for the simple diary/ccalendar, not for org-agenda etc. Uwe Brauer smime.p7s Description: S/MIME cryptographic 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=84349351iu=/4140/ostg.clktrk___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: BBDB anniversaries in the calendar/diary
Hello Roland, 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.) Does this answer your question? This looks promising. I uninstalled BBDB 2.35 and installed the package 20131116.1130 (with list-packages). From reading the comments in bbdb-anniv.el I put (add-hook 'diary-list-entries-hook 'bbdb-anniv-diary-entries) in init.el. I added a birthday to a contact with: - M-x bbdb (found a record) - i birthday 29-11-1955 (tried a few other formats as well) - save the record. When I open the calendar, I don't see anything on the 29th. A few related questions: Is there anything I need to do to update my database to the new BBDB version? Can arbitrary anniversaries be added, e.g. death? When I open a message in Gnus I see: run-hooks: Symbol's function definition is void: bbdb/gnus-pop-up-bbdb-buffer. Any hints to fix this? I tried setting bbdb-use-pop-up to nil without success. Please excuse me if there is any documentation I'm missing that describes these issues. Thanks, Joseph -- 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=84349351iu=/4140/ostg.clktrk ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: BBDB anniversaries in the calendar/diary
I'm close to having most of the questions from my last email answered. I can get the BBDB anniversaries to show up in the fancy diary, however even with the code below in init.el, I have to run (add-hook 'diary-list-entries-hook 'bbdb-anniv-diary-entries). Ideas? ;; bbdb (add-hook 'after-init-hook ( lambda () (bbdb-initialize 'gnus 'message) (bbdb-mua-auto-update-init 'gnus 'message)) (add-hook 'diary-list-entries-hook 'bbdb-anniv-diary-entries)) The second thing that threw me off was that calendar days for BBDB anniversaries weren't marked even with calendar-mark-diary-entries-flag set to t. Is it possible to mark calendar days for BBDB anniversaries? Thanks, Joseph -- 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=84349351iu=/4140/ostg.clktrk ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/