emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-contacts and birthdays without year
@ 2011-05-17 15:17 Le Wang
  2011-05-17 16:00 ` Julien Danjou
  0 siblings, 1 reply; 6+ messages in thread
From: Le Wang @ 2011-05-17 15:17 UTC (permalink / raw)
  To: Julien Danjou; +Cc: Orgmode Mailing List

Hi Julien,

I'm just starting with org-contacts, and my first step was translating
my %%(diary-anniversary... entries into contacts.  Maybe you can help
me with these issues.

It seems that an "EMAIL" property indicates the current heading is a
contact.  How can I store contacts that I don't have an e-mail for?
Again, this relates to my current task, so maybe a "BIRTHDAY" property
can also be made to indicate a contact?

Is it possible to specify birthdays without year?  I often want to jot
down someone's birthday so I'm not surprised next year, but don't want
to ask them how old they are.  :)


Thanks.

-- 
Le

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

* Re: org-contacts and birthdays without year
  2011-05-17 15:17 org-contacts and birthdays without year Le Wang
@ 2011-05-17 16:00 ` Julien Danjou
  2011-05-17 16:45   ` Memnon Anon
  2011-05-19  5:46   ` Le Wang
  0 siblings, 2 replies; 6+ messages in thread
From: Julien Danjou @ 2011-05-17 16:00 UTC (permalink / raw)
  To: Le Wang; +Cc: Orgmode Mailing List

[-- Attachment #1: Type: text/plain, Size: 537 bytes --]

On Tue, May 17 2011, Le Wang wrote:

> It seems that an "EMAIL" property indicates the current heading is a
> contact.  How can I store contacts that I don't have an e-mail for?

You change that rule. It's a defcustom, simply set it to be "there's an
EMAIL or a BIRTHDAY".

> Is it possible to specify birthdays without year?  I often want to jot
> down someone's birthday so I'm not surprised next year, but don't want
> to ask them how old they are.  :)

Not really :(

-- 
Julien Danjou
❱ http://julien.danjou.info

[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]

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

* Re: org-contacts and birthdays without year
  2011-05-17 16:00 ` Julien Danjou
@ 2011-05-17 16:45   ` Memnon Anon
  2011-05-19  5:46   ` Le Wang
  1 sibling, 0 replies; 6+ messages in thread
From: Memnon Anon @ 2011-05-17 16:45 UTC (permalink / raw)
  To: emacs-orgmode

Julien Danjou <julien@danjou.info> writes:

>> Is it possible to specify birthdays without year?  I often want to jot
>> down someone's birthday so I'm not surprised next year, but don't want
>> to ask them how old they are.  :)
>
> Not really :(

Same problem here, I just set the year to 1900 whenever I do not know.
Whenever my agenda tells me someone is celebrating their three digit
birthday, I am reminded that I need to find clever way to have a look at
their id someday ;).

Memnon

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

* Re: org-contacts and birthdays without year
  2011-05-17 16:00 ` Julien Danjou
  2011-05-17 16:45   ` Memnon Anon
@ 2011-05-19  5:46   ` Le Wang
  2011-05-19  6:41     ` [OT] " Jambunathan K
  2011-05-20  2:55     ` Le Wang
  1 sibling, 2 replies; 6+ messages in thread
From: Le Wang @ 2011-05-19  5:46 UTC (permalink / raw)
  To: Le Wang, Orgmode Mailing List

On Wed, May 18, 2011 at 12:00 AM, Julien Danjou <julien@danjou.info> wrote:
> You change that rule. It's a defcustom, simply set it to be "there's an
> EMAIL or a BIRTHDAY".

You mean `org-contacts-matcher'?  How does org-make-tags-matcher work?
 After googling and looking during some cursory investigation, it's
still not clear to me how to match EMAIL or BIRTHDAY.

>> Is it possible to specify birthdays without year?  I often want to jot
>> down someone's birthday so I'm not surprised next year, but don't want
>> to ask them how old they are.  :)
>
> Not really :(

Fair enough.  I'll use 1900 as a place holder for now.

On a separate note, the capture example on the org-contacts website
(http://julien.danjou.info/org-contacts.html) breaks without gnus,
Others were bitten by this
http://lists.gnu.org/archive/html/emacs-orgmode/2011-04/msg00079.html.
 Maybe this can be fixed?


-- 
Le

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

* Re: [OT] org-contacts and birthdays without year
  2011-05-19  5:46   ` Le Wang
@ 2011-05-19  6:41     ` Jambunathan K
  2011-05-20  2:55     ` Le Wang
  1 sibling, 0 replies; 6+ messages in thread
From: Jambunathan K @ 2011-05-19  6:41 UTC (permalink / raw)
  To: Orgmode Mailing List


>>> Is it possible to specify birthdays without year?  I often want to jot
>>> down someone's birthday so I'm not surprised next year, but don't want
>>> to ask them how old they are.  :)
>>
>> Not really :(
>
> Fair enough.  I'll use 1900 as a place holder for now.

I would call it unfair :-). I already see souls shuffling in their
cradles.

Jambunathan K.
-- 

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

* Re: org-contacts and birthdays without year
  2011-05-19  5:46   ` Le Wang
  2011-05-19  6:41     ` [OT] " Jambunathan K
@ 2011-05-20  2:55     ` Le Wang
  1 sibling, 0 replies; 6+ messages in thread
From: Le Wang @ 2011-05-20  2:55 UTC (permalink / raw)
  To: Orgmode Mailing List

On Thu, May 19, 2011 at 1:46 PM, Le Wang <l26wang@gmail.com> wrote:
> You mean `org-contacts-matcher'?  How does org-make-tags-matcher work?
>  After googling and looking during some cursory investigation, it's
> still not clear to me how to match EMAIL or BIRTHDAY.

Found the tags and properties matcher section in manual:
http://orgmode.org/manual/Matching-tags-and-properties.html

What I needed was: (setq org-contacts-matcher
"EMAIL<>\"\"|BIRTHDAY<>\"\"|PHONE<>\"\"")


-- 
Le

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

end of thread, other threads:[~2011-05-20  2:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-17 15:17 org-contacts and birthdays without year Le Wang
2011-05-17 16:00 ` Julien Danjou
2011-05-17 16:45   ` Memnon Anon
2011-05-19  5:46   ` Le Wang
2011-05-19  6:41     ` [OT] " Jambunathan K
2011-05-20  2:55     ` Le Wang

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