Hi! I like to keep track of birthdays of people I know. For the last 6 months, I've been keeping a birthday section in my organizer.org, having multiple lines like this one: %%(diary-anniversary 1 1 1111) Geburtstag Foo: %d Jahre. But, since I started with emacs, I wanted to get used to the bbdb, and since the start my bday section ends like this: %%(org-bbdb-anniversaries) I am no lisper, but I spent several days to get this working, lately. Try and Error, and I got it! Hooray!! ... 2 Days ago, my hd died, my backups are 2 weeks old, it is lost again :((. Today, I tried 4 hours to remember how I got it working, but, nothing yet, and it starts frustrating me. Could someone *please* post a line of his .bbdb, containing the anniversary field as it works? I am just not strong enought to do it again ;) tia
Memnon Anon <gegendosenfleisch@gmail.com> wrote:
> Hi!
>
> I like to keep track of birthdays of people I know.
> For the last 6 months, I've been keeping a birthday section
> in my organizer.org, having multiple lines like this one:
>
> %%(diary-anniversary 1 1 1111) Geburtstag Foo: %d Jahre.
>
> But, since I started with emacs, I wanted to get used to the bbdb,
> and since the start my bday section ends like this: %%(org-bbdb-anniversaries)
>
> I am no lisper, but I spent several days to get this working, lately.
> Try and Error, and I got it! Hooray!!
>
> ...
>
> 2 Days ago, my hd died, my backups are 2 weeks old, it is lost again :((.
>
> Today, I tried 4 hours to remember how I got it working, but, nothing yet,
> and it starts frustrating me.
>
> Could someone *please* post a line of his .bbdb, containing the anniversary
> field as it works? I am just not strong enought to do it again ;)
>
I think something like this should work:
anniversary: 1972-02-26 birthday
Check the documentation for the variable org-bbdb-anniversary-field:
C-h v org-bbdb-anniversary-field RET
HTH,
Nick
Nick Dokos <nicholas.dokos@hp.com> writes:
>
> I think something like this should work:
>
> anniversary: 1972-02-26 birthday
>
Okay, here a line from my .bbdb:
,----[ Linebreaks manually added ]
| ["FirstName" "LastName" nil nil (["Telephone" "xxx/xxxxxxxx"]
| ["Cellphone" "xxxx/xxxxxx"]) (["Home" ("Musterstr. 123") "Bremen" "Bremen" "11111" "D"])
| ("foo@baz.de") (anniversary 1980-01-01 birthday) (timestamp . "2009-01-15")
| (creation-date . "2009-01-15") nil]
`----
I tried adding "'s, adding []'s, etc. And one combination was right, but
I can not find it anymore :(. Lost, lost my precious ...
As I said, if you use this feature, please send me just one line of your .bbdb.
I will fix the rest ;)
Thank you very much...
Memnon Anon <gegendosenfleisch@gmail.com> wrote:
> Nick Dokos <nicholas.dokos@hp.com> writes:
>
> >
> > I think something like this should work:
> >
> > anniversary: 1972-02-26 birthday
> >
>
> Okay, here a line from my .bbdb:
>
> ,----[ Linebreaks manually added ]
> | ["FirstName" "LastName" nil nil (["Telephone" "xxx/xxxxxxxx"]
> | ["Cellphone" "xxxx/xxxxxx"]) (["Home" ("Musterstr. 123") "Bremen" "Bremen" "11111" "D"])
> | ("foo@baz.de") (anniversary 1980-01-01 birthday) (timestamp . "2009-01-15")
> | (creation-date . "2009-01-15") nil]
> `----
>
> I tried adding "'s, adding []'s, etc. And one combination was right, but
> I can not find it anymore :(. Lost, lost my precious ...
>
> As I said, if you use this feature, please send me just one line of your .bbdb.
> I will fix the rest ;)
>
> Thank you very much...
>
Oh, sorry: that was the format that one uses when interactively adding a
field to a bbdb entry. Here is a line from the bbdb file:
["First" "Last" nil nil (["Home" 212 555 1212 0] ["Mobile" 212 5555 1212 0]) (["Home" ("1 First St") "Anytown" "MA" "01234" "USA"]) ("foo@bar.com") ((creation-date . "2009-02-05") (timestamp . "2009-02-26") (anniversary . "1976-02-26 birthday\n1993-02-27 wedding")) nil]
This one includes two anniversaries (a birthday and a wedding anniversary).
For just a birthday it would look like this:
....(anniversary . "1976-02-26 birthday")
HTH,
Nick
[-- Attachment #1.1: Type: text/plain, Size: 1886 bytes --] Do we need to improve the documentation in org-bbdb.el? Can someone please suggest an improvement? Thanks. - Carsten On Feb 26, 2009, at 6:14 PM, Nick Dokos wrote: > Memnon Anon <gegendosenfleisch@gmail.com> wrote: > >> Nick Dokos <nicholas.dokos@hp.com> writes: >> >>> >>> I think something like this should work: >>> >>> anniversary: 1972-02-26 birthday >>> >> >> Okay, here a line from my .bbdb: >> >> ,----[ Linebreaks manually added ] >> | ["FirstName" "LastName" nil nil (["Telephone" "xxx/xxxxxxxx"] >> | ["Cellphone" "xxxx/xxxxxx"]) (["Home" ("Musterstr. 123") "Bremen" >> "Bremen" "11111" "D"]) >> | ("foo@baz.de") (anniversary 1980-01-01 birthday) (timestamp . >> "2009-01-15") >> | (creation-date . "2009-01-15") nil] >> `---- >> >> I tried adding "'s, adding []'s, etc. And one combination was >> right, but >> I can not find it anymore :(. Lost, lost my precious ... >> >> As I said, if you use this feature, please send me just one line of >> your .bbdb. >> I will fix the rest ;) >> >> Thank you very much... >> > > Oh, sorry: that was the format that one uses when interactively > adding a > field to a bbdb entry. Here is a line from the bbdb file: > > ["First" "Last" nil nil (["Home" 212 555 1212 0] ["Mobile" 212 5555 > 1212 0]) (["Home" ("1 First St") "Anytown" "MA" "01234" "USA"]) ("foo@bar.com > ") ((creation-date . "2009-02-05") (timestamp . "2009-02-26") > (anniversary . "1976-02-26 birthday\n1993-02-27 wedding")) nil] > > This one includes two anniversaries (a birthday and a wedding > anniversary). > For just a birthday it would look like this: > > ....(anniversary . "1976-02-26 birthday") > > HTH, > Nick > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode [-- Attachment #1.2: Type: text/html, Size: 3505 bytes --] [-- Attachment #2: Type: text/plain, Size: 204 bytes --] _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Nick Dokos <nicholas.dokos@hp.com> writes:
> ["First" "Last" nil nil (["Home" 212 555 1212 0] ["Mobile" 212 5555 1212 0]) (["Home" ("1 First St") "Anytown" "MA" "01234" "USA"]) ("foo@bar.com") ((creation-date . "2009-02-05") (timestamp . "2009-02-26") (anniversary . "1976-02-26 birthday\n1993-02-27 wedding")) nil]
>
> For just a birthday it would look like this:
>
> ....(anniversary . "1976-02-26 birthday")
Thank you *very* much. Seems so simple, yet I tried hours...
Carsten Dominik <dominik@science.uva.nl> writes: > Do we need to improve the documentation in org-bbdb.el? Can someone > please suggest an improvement? I can describe my approach to things like this: Being no lisper, I usually try to find a working example that basically does what I want. Then I try-and-error tweak it, till it works. For creating new records, I found these: Append a birthday field: http://sachachua.com/wp/2008/07/20/emacs-bbdb-modifying-the-record-creation-process/ German modifications to the cration process: http://www.emacswiki.org/emacs/BbdbCreateRecord And it works so far. But I got no clue, how the bbdb really works :(. But I think Birthdays should be in there, and not in a separate org file. Searching through http://orgmode.org/org.html, the monolithic org documentation for org-bbdb, I only find this line: Thomas Baumann wrote org-bbdb.el and org-mhe.el. And the manual (for very good reasons: Excellent!) is the first place I have a look at. Having a look at the faq, I find a page for diary integration, but org-bbdb is not mentioned there, either (afaik). Google was no help, so there seems to me there is only the documentation in org-bbdb.el, which is, I am sure, enough for everyone who knows lisp and the bbdb... Still, a faq-page, maybe dedicated to "Interaction with other modes", might help: This could include remember, diary and bbdb integration. Now, there is only Appointments/Diary. And I think mentioning it in the manual somewhere (maybe with a link to the faq page) would be great. I found out about org-bbdb.el only by reading this list closely. Nur meine 0.02 cent ;) And again, thanks for org-mode ;)!