[O] Anniversaries from BBDB
Hello, I am having troubles to get the anniversaries from BBDB to my agenda view. Following the instruction in 10.3.1: https://orgmode.org/manual/Weekly_002fdaily-agenda.html, I add the the the following to my only one agenda file ("agenda.org"): * Anniversaries :PROPERTIES: :CATEGORY: Anniv :END: %%(org-bbdb-anniversaries) In bbdb I query "John Doe" and try C-o with cursor in the record. I get an error: Buffer is read-only: #. So I insert a new field with bbdb-insert-field and name it "anniversary". I completed the date "09-23" to finish the process and save. I expected to see the anniversary in my agenda view when I push C-a a. No anniversary whatsoever. I've tried to toggle diary: (setq org-agenda-include-diary t) without success. I am using emacs 26.1. I've also try in a fresh emacs install with same result. Can someone help me? Thanks.
Re: [O] Anniversaries from BBDB
Hi! > I am having troubles to get the anniversaries from BBDB to my agenda view. > Following the > instruction in 10.3.1: > https://orgmode.org/manual/Weekly_002fdaily-agenda.html, I add the the the > following to my only one agenda file ("agenda.org"): > > * Anniversaries > :PROPERTIES: > :CATEGORY: Anniv > :END: > %%(org-bbdb-anniversaries) > > In bbdb I query "John Doe" and try C-o with cursor in the record. I get an > error: Buffer is > read-only: #. So I insert a new field with bbdb-insert-field > and name it > "anniversary". I completed the date "09-23" to finish the process and save. > I expected to see the anniversary in my agenda view when I push C-a a. No > anniversary whatsoever. > I've tried to toggle diary: (setq org-agenda-include-diary t) without > success. > I am using emacs 26.1. I've also try in a fresh emacs install with same > result. Can someone help > me? Thanks. > > The format of the anniversary date is expected to be -MM-DD e.g. 2000-09-23 AFAICT. See also variable `org-bbdb-extract-date-fun' for more flexibility. Ciao, -- Marco
Re: [O] Anniversaries from BBDB
HI! That was the problem! Thanks! In the documentation is clearly stated that we can use both formats: "...and then add the date in the format -MM-DD or MM-DD, followed by..." Perhaps this can be corrected. Also, "C-o" to insert a new field does not work. "i" would do the job instead. Thanks again! September 21, 2018 3:00 AM, "Marco Wahl" wrote: > Hi! > >> I am having troubles to get the anniversaries from BBDB to my agenda view. >> Following the >> instruction in 10.3.1: >> https://orgmode.org/manual/Weekly_002fdaily-agenda.html, I add the the the >> following to my only one agenda file ("agenda.org"): >> >> * Anniversaries >> :PROPERTIES: >> :CATEGORY: Anniv >> :END: >> %%(org-bbdb-anniversaries) >> >> In bbdb I query "John Doe" and try C-o with cursor in the record. I get an >> error: Buffer is >> read-only: #. So I insert a new field with bbdb-insert-field >> and name it >> "anniversary". I completed the date "09-23" to finish the process and save. >> I expected to see the anniversary in my agenda view when I push C-a a. No >> anniversary whatsoever. >> I've tried to toggle diary: (setq org-agenda-include-diary t) without >> success. >> I am using emacs 26.1. I've also try in a fresh emacs install with same >> result. Can someone help >> me? Thanks. > > The format of the anniversary date is expected to be > > -MM-DD > > e.g. > > 2000-09-23 > > AFAICT. See also variable `org-bbdb-extract-date-fun' for more > flexibility. > > Ciao, > -- > Marco
Re: [O] Anniversaries from BBDB
Hi leandro, Thanks for your report. > That was the problem! Thanks! > In the documentation is clearly stated that we can use both formats: > "...and then add the date in the format -MM-DD or MM-DD, followed > by..." Perhaps this can be corrected. Also, "C-o" to insert a new > field does not work. "i" would do the job instead. I digged somewhat into the matter today. AFAICT I removed a bug which prevented the interpretation of BBDB anniversary entries starting with MM-DD. So now the feature of anniversaries without year should be available in the maint and the master branch. Also I rewrote the documentation; in particular the "C-o" key for BBDB is not mentioned any more. Thanks and ciao, Marco
[O] Anniversaries from BBDB available to calendar and diary?
It makes sense to put birthdays and other anniversaries in BBDB as described in section 10.3.1 of the Org manual. Why repeat information by putting it in the diary when you already have a contact entry in BBDB for the person? The only problem with this is that the anniversaries 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? Joseph
Re: [O] Anniversaries from BBDB available to calendar and diary?
Hi Joseph, j...@ftfl.ca writes: > It makes sense to put birthdays and other anniversaries in BBDB as > described in section 10.3.1 of the Org manual. I wonder, did you look at the section of 10.3.1 titled "Anniversaries from BBDB"? > Why repeat information by putting it in the diary when you already > have a contact entry in BBDB for the person? The only problem with > this is that the anniversaries 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? Myles
Re: [O] Anniversaries from BBDB available to calendar and diary?
Hi Myles, Thanks for your reply. Myles English writes: > I wonder, did you look at the section of 10.3.1 titled "Anniversaries > from BBDB"? This is what prompted me to store many of the anniversaries in BBDB as opposed to the diary. Following the information in section 10.3.1 of the manual allows one to see these anniversaries in the Org agenda, but they are now not shown in the calendar/diary. So far, I've been able to partially resolve the issue by upgrading to BBDB 3, which includes bbdb-anniv.el. ;; To display BBDB anniversaries in the Emacs diary, use ;; (add-hook 'diary-list-entries-hook 'bbdb-anniv-diary-entries) Joseph
Re: [O] Anniversaries from BBDB available to calendar and diary?
Joseph Mingrone writes: > Hi Myles, > > Thanks for your reply. > > Myles English writes: >> I wonder, did you look at the section of 10.3.1 titled "Anniversaries >> from BBDB"? > > This is what prompted me to store many of the anniversaries in BBDB as > opposed to the diary. Following the information in section 10.3.1 of > the manual allows one to see these anniversaries in the Org agenda, but > they are now not shown in the calendar/diary. So far, I've been able to > partially resolve the issue by upgrading to BBDB 3, which includes > bbdb-anniv.el. > > ;; To display BBDB anniversaries in the Emacs diary, use > ;; (add-hook 'diary-list-entries-hook 'bbdb-anniv-diary-entries) Just to make sure I'm following -- no one's yet gotten BBDB anniversaries showing up in the calendar proper yet, have they? I don't use the diary, but I'd sure like to see colored blobs in the calendar (like holidays are currently displayed) for anniversaries defined in BBDB. Eric
Re: [O] Anniversaries from BBDB available to calendar and diary?
Eric Abrahamsen writes: > Joseph Mingrone writes: > >> Hi Myles, >> >> Thanks for your reply. >> >> Myles English writes: >>> I wonder, did you look at the section of 10.3.1 titled "Anniversaries >>> from BBDB"? >> >> This is what prompted me to store many of the anniversaries in BBDB as >> opposed to the diary. Following the information in section 10.3.1 of >> the manual allows one to see these anniversaries in the Org agenda, but >> they are now not shown in the calendar/diary. So far, I've been able to >> partially resolve the issue by upgrading to BBDB 3, which includes >> bbdb-anniv.el. >> >> ;; To display BBDB anniversaries in the Emacs diary, use >> ;; (add-hook 'diary-list-entries-hook 'bbdb-anniv-diary-entries) > > Just to make sure I'm following -- no one's yet gotten BBDB > anniversaries showing up in the calendar proper yet, have they? I don't > use the diary, but I'd sure like to see colored blobs in the calendar > (like holidays are currently displayed) for anniversaries defined in > BBDB. > No, but from the calendar, I can use 'd' (diary-view-entries) to show the fancy diary with the BBDB anniversaries. So, the only piece missing, from my perspective, is a way to mark the calendar for the days with a BBDB anniversary. A function for one of the calendar display hooks might do the trick. Joseph