emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-bbdb: help
@ 2009-02-25 23:16 Memnon Anon
  2009-02-26  8:26 ` Nick Dokos
  0 siblings, 1 reply; 7+ messages in thread
From: Memnon Anon @ 2009-02-25 23:16 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-bbdb: help
  2009-02-25 23:16 org-bbdb: help Memnon Anon
@ 2009-02-26  8:26 ` Nick Dokos
  2009-02-26 16:53   ` Memnon Anon
  0 siblings, 1 reply; 7+ messages in thread
From: Nick Dokos @ 2009-02-26  8:26 UTC (permalink / raw)
  To: Memnon Anon; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-bbdb: help
  2009-02-26  8:26 ` Nick Dokos
@ 2009-02-26 16:53   ` Memnon Anon
  2009-02-26 17:14     ` Nick Dokos
  0 siblings, 1 reply; 7+ messages in thread
From: Memnon Anon @ 2009-02-26 16:53 UTC (permalink / raw)
  To: emacs-orgmode

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...

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Re: org-bbdb: help
  2009-02-26 16:53   ` Memnon Anon
@ 2009-02-26 17:14     ` Nick Dokos
  2009-02-26 20:19       ` Carsten Dominik
  2009-02-26 21:38       ` org-bbdb: help (solved, thx!) Memnon Anon
  0 siblings, 2 replies; 7+ messages in thread
From: Nick Dokos @ 2009-02-26 17:14 UTC (permalink / raw)
  To: Memnon Anon; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Re: org-bbdb: help
  2009-02-26 17:14     ` Nick Dokos
@ 2009-02-26 20:19       ` Carsten Dominik
  2009-02-26 21:38         ` Memnon Anon
  2009-02-26 21:38       ` org-bbdb: help (solved, thx!) Memnon Anon
  1 sibling, 1 reply; 7+ messages in thread
From: Carsten Dominik @ 2009-02-26 20:19 UTC (permalink / raw)
  To: nicholas.dokos; +Cc: Memnon Anon, emacs-orgmode


[-- 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-bbdb: help (solved, thx!)
  2009-02-26 17:14     ` Nick Dokos
  2009-02-26 20:19       ` Carsten Dominik
@ 2009-02-26 21:38       ` Memnon Anon
  1 sibling, 0 replies; 7+ messages in thread
From: Memnon Anon @ 2009-02-26 21:38 UTC (permalink / raw)
  To: 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...

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-bbdb: help
  2009-02-26 20:19       ` Carsten Dominik
@ 2009-02-26 21:38         ` Memnon Anon
  0 siblings, 0 replies; 7+ messages in thread
From: Memnon Anon @ 2009-02-26 21:38 UTC (permalink / raw)
  To: emacs-orgmode

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 ;)!

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-02-26 21:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-25 23:16 org-bbdb: help Memnon Anon
2009-02-26  8:26 ` Nick Dokos
2009-02-26 16:53   ` Memnon Anon
2009-02-26 17:14     ` Nick Dokos
2009-02-26 20:19       ` Carsten Dominik
2009-02-26 21:38         ` Memnon Anon
2009-02-26 21:38       ` org-bbdb: help (solved, thx!) Memnon Anon

Code repositories for project(s) associated with this 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).