From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daryl Manning Subject: Re: Emacs-orgmode Digest, Vol 159, Issue 29 Date: Wed, 29 May 2019 12:08:16 +0800 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000073b5170589feef0a" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:43394) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVptP-0005eI-HO for emacs-orgmode@gnu.org; Wed, 29 May 2019 00:08:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVptN-00027A-OD for emacs-orgmode@gnu.org; Wed, 29 May 2019 00:08:47 -0400 Received: from mail-yb1-xb2a.google.com ([2607:f8b0:4864:20::b2a]:36096) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hVptN-0001yE-F6 for emacs-orgmode@gnu.org; Wed, 29 May 2019 00:08:45 -0400 Received: by mail-yb1-xb2a.google.com with SMTP id y2so287440ybo.3 for ; Tue, 28 May 2019 21:08:36 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --00000000000073b5170589feef0a Content-Type: text/plain; charset="UTF-8" Hey Niko! I have to admit I grabbed org-contacts to solve my addressbook problem because I had thought BBDB was non-supported these days (and possibly overkill for my use case), though just noted from the other post in the digest that there is an EIEIO re-write. So, may check that out this weekend. Git cloning the code for BBDB from GH I could not find the (org-bbdb-anniversaries-future) function in the BBDB code base (since I thought of just applying it to this use case for org-contacts rather than switching to BBDB). Is that something custom you wrote to support this? If so, could you post it (or mail direct to me?) if you're willing to share? I will be taking a look at EBDB this weekend to see if that might do what I want better (and since it has a nice import function.)... =] thanks! Daryl PS> I have to admit though being a little confused at how the emacs diary works versus org-agenda though I know they interoperate... the simple entries I make which have `<2019-05-29>` type entries in them in my text org file named cal.org, so worried my lack of understanding of emacs internals may be having me conflating things that replace each other. Emacs seems a deep deep rabbit hole at times for us (relative) newbies On Wed, May 29, 2019 at 12:01 AM wrote: > > > Today's Topics: > 5. Re: Advance notice of birthdays in org-mode via org-contacts > (Nick Dokos) > ------------------------------ > > Message: 5 > Date: Mon, 27 May 2019 22:05:07 -0400 > From: Nick Dokos > To: emacs-orgmode@gnu.org > Subject: Re: [O] Advance notice of birthdays in org-mode via > org-contacts > Message-ID: <87lfyrl4fg.fsf@alphaville.usersys.redhat.com> > Content-Type: text/plain; charset=utf-8 > > Daryl Manning writes: > > > I'm trying to come up with a better way to give myself advanced notice > on some peoples' birthdays coming up.? > > > > Right now, I use the following in a `cal.org` file to give me notice in > agenda that birthdays are coming up: > > > > ``` > > * BDays ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? > ? ? ? ? :bday: > > %%(org-contacts-anniversaries "BIRTHDAY") > > ``` > > > > The generally feeds off a `contacts.org` entry of the nature: > > > > ``` > > *** John Wick? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?? > > :PROPERTIES: > > :EMAIL: therealjdub@notthepuppy.com > > :BIRTHDAY: 1975-06-06 > > :END: > > ``` > > > > What I'd like is to get, on virtually all birthdays , a week's notice > through due soon (which I'll sort out in org-super-agenda in the view). > Alternatively, is there a nicer way to tag or > > otherwise note some birthdays in the `contacts.org` so that I could > note special people (close friends, family, etc) where I could set a > specific advanced notice period so that I have time > > to do something special for them etc? > > > > Would love to hear peoples' approaches to this. In general, if I'm not > looking out 2 weeks ahead (I spend most time in the day view), I can get > surprised. > > > > I use bbdb, not org-contacts, and I have this in one of my agenda files: > > * Anniversaries > :PROPERTIES: > :CATEGORY: Anniv > :ID: 409062f6-6cb1-467f-b192-2dfcb7b384ca > :END: > %%(org-bbdb-anniversaries-future) > > That gives me the default 7 days of warning, but you can pass an > argument to it to specify the number of days of warning. > > The function is fairly generic, so it should be possible to adapt it > to org-contacts with some modifications. > > -- > Nick > > End of Emacs-orgmode Digest, Vol 159, Issue 29 > ********************************************** > --00000000000073b5170589feef0a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hey Niko!

I have to admi= t I grabbed org-contacts to solve my addressbook problem because I had thou= ght BBDB was non-supported these days=C2=A0 (and possibly overkill for my u= se case), though just noted from the other post in the digest that there is= an EIEIO re-write. So, may check that out this weekend. Git cloning the co= de for BBDB from GH I could not find the
(org-bbdb-anniversa= ries-future) function
in the BBDB code base (since I thought= of just applying it to this use case for org-contacts rather than switchin= g to BBDB).

Is that something custom you wrote= to support this? If so, could you post it (or mail direct to me?) if you&#= 39;re willing to share?

I will be taking a look at= EBDB this weekend to see if that might do what I want better (and since it= has a nice import function.)... =3D]

thanks!
Daryl
PS> I have to admit though being a little confused= at how the emacs diary=20 works versus org-agenda though I know they interoperate... the simple entri= es I make which have=20 `<2019-05-29>` type entries in them in my text org file named=20 cal.org, so worried my lack of understanding= of emacs internals may be=20 having me conflating things that replace each other. Emacs seems a deep dee= p rabbit hole at times for us (relative) newbies


On Wed, May 29, 2019 at 12:01 AM <emacs-orgmode-request@gnu.org> wrote= :
<snip>

Today's Topics:
=C2=A0 =C2=A05. Re: Advance notice of birthdays in org-mode via org-contact= s
=C2=A0 =C2=A0 =C2=A0 (Nick Dokos)
------------------------------

Message: 5
Date: Mon, 27 May 2019 22:05:07 -0400
From: Nick Dokos <= ndokos@gmail.com>
To: emacs-orgmod= e@gnu.org
Subject: Re: [O] Advance notice of birthdays in org-mode via
=C2=A0 =C2=A0 =C2=A0 =C2=A0 org-contacts
Message-ID: <87lfyrl4fg.fsf@alphaville.usersys.redhat.com>=
Content-Type: text/plain; charset=3Dutf-8

Daryl Manning <dwm+orgmode@wakatara.com> writes:

> I'm trying to come up with a better way to give myself advanced no= tice on some peoples' birthdays coming up.?
>
> Right now, I use the following in a `cal.org` file to give me notice in agend= a that birthdays are coming up:
>
> ```
> * BDays ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? = ? ? ? ? ? :bday:
> %%(org-contacts-anniversaries "BIRTHDAY")
> ```
>
> The generally feeds off a `contacts.org` entry of the nature:
>
> ```
> *** John Wick? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??
> :PROPERTIES:
> :EMAIL: therealjdub@notthepuppy.com
> :BIRTHDAY: 1975-06-06
> :END:
> ```
>
> What I'd like is to get, on virtually all birthdays , a week's= notice through due soon (which I'll sort out in org-super-agenda in th= e view). Alternatively, is there a nicer way to tag or
> otherwise note some birthdays in the `contacts.org` so that I could note= special people (close friends, family, etc) where I could set a specific a= dvanced notice period so that I have time
> to do something special for them etc?
>
> Would love to hear peoples' approaches to this. In general, if I&#= 39;m not looking out 2 weeks ahead (I spend most time in the day view), I c= an get surprised.
>

I use bbdb, not org-contacts, and I have this in one of my agenda files:
* Anniversaries
=C2=A0 =C2=A0 =C2=A0 =C2=A0:PROPERTIES:
=C2=A0 =C2=A0 =C2=A0 =C2=A0:CATEGORY: Anniv
=C2=A0 =C2=A0 =C2=A0 =C2=A0:ID:=C2=A0 =C2=A0 =C2=A0 =C2=A0409062f6-6cb1-467= f-b192-2dfcb7b384ca
=C2=A0 =C2=A0 =C2=A0 =C2=A0:END:
%%(org-bbdb-anniversaries-future)

That gives me the default 7 days of warning, but you can pass an
argument to it to specify the number of days of warning.

The function is fairly generic, so it should be possible to adapt it
to org-contacts with some modifications.

--
Nick

End of Emacs-orgmode Digest, Vol 159, Issue 29
**********************************************
--00000000000073b5170589feef0a--