* get bbdb entry from org-agenda
@ 2008-05-29 23:20 Rares Vernica
2008-05-30 4:12 ` Carsten Dominik
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Rares Vernica @ 2008-05-29 23:20 UTC (permalink / raw)
To: emacs-orgmode
Hello,
I am using org-bbdb to add the anniversaries of my bbdb contacts to
org-agenda.
When I select an anniversary in org-agenda, my .org file that
contains (org-bbdb-anniversaries) shows up. Is it possible to show up
the bbdb entry for that name instead?
Thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: get bbdb entry from org-agenda
2008-05-29 23:20 get bbdb entry from org-agenda Rares Vernica
@ 2008-05-30 4:12 ` Carsten Dominik
2008-05-30 17:28 ` Thomas Baumann
2008-06-12 14:32 ` Carsten Dominik
2 siblings, 0 replies; 5+ messages in thread
From: Carsten Dominik @ 2008-05-30 4:12 UTC (permalink / raw)
To: Rares Vernica; +Cc: emacs-orgmode
Hmmm, that would be nice, but I don't know how to do this.
Thomas, could you add a text property to the anniversary string that
contains enough information about the origin of this entry,
for example a [[bbdb:...]] link or so?
- Carsten
On May 30, 2008, at 1:20 AM, Rares Vernica wrote:
> Hello,
>
> I am using org-bbdb to add the anniversaries of my bbdb contacts to
> org-agenda.
>
> When I select an anniversary in org-agenda, my .org file that
> contains (org-bbdb-anniversaries) shows up. Is it possible to show up
> the bbdb entry for that name instead?
>
> Thanks.
>
>
>
> _______________________________________________
> 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] 5+ messages in thread
* Re: get bbdb entry from org-agenda
2008-05-29 23:20 get bbdb entry from org-agenda Rares Vernica
2008-05-30 4:12 ` Carsten Dominik
@ 2008-05-30 17:28 ` Thomas Baumann
2008-06-12 14:31 ` Carsten Dominik
2008-06-12 14:32 ` Carsten Dominik
2 siblings, 1 reply; 5+ messages in thread
From: Thomas Baumann @ 2008-05-30 17:28 UTC (permalink / raw)
To: emacs-orgmode
Hi,
the display of bbdb-anniversaries can be customized to use a function to
insert a link to bbdb:
M-x customize-option org-bbdb-anniversary-format-alist
and then add/change
(("birthday" lambda
(name years suffix)
(concat "Birthday: [[bbdb:" name "][" name " ("
(number-to-string years)
suffix ")]]"))
("wedding" lambda
(name years suffix)
(concat "[[bbdb:" name "][" name "'s "
(number-to-string years)
suffix " wedding anniversary]]")))
If one doesn't like to use a function, an alternative would be
(("birthday" . "Birthday: [[bbdb:%s]] (%d%s)")
("wedding" . "[[bbdb:%s]]'s %d%s wedding anniversary"))
but this leaves the agenda with bbdb:Name links.
I don't think I know how to make <TAB> jump to the bbdb-buffer
instead to the org-file
Ciao
Thomas
PS. Carsten should we make the function the default behaviour?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Re: get bbdb entry from org-agenda
2008-05-30 17:28 ` Thomas Baumann
@ 2008-06-12 14:31 ` Carsten Dominik
0 siblings, 0 replies; 5+ messages in thread
From: Carsten Dominik @ 2008-06-12 14:31 UTC (permalink / raw)
To: Thomas Baumann; +Cc: emacs-orgmode
Hi Thomas,
this is excellent, thank you very much! Sorry that it took so long.
I am making this the default.
- Carsten
On May 30, 2008, at 7:28 PM, Thomas Baumann wrote:
> Hi,
>
> the display of bbdb-anniversaries can be customized to use a
> function to
> insert a link to bbdb:
>
> M-x customize-option org-bbdb-anniversary-format-alist
>
> and then add/change
>
>
> (("birthday" lambda
> (name years suffix)
> (concat "Birthday: [[bbdb:" name "][" name " ("
> (number-to-string years)
> suffix ")]]"))
> ("wedding" lambda
> (name years suffix)
> (concat "[[bbdb:" name "][" name "'s "
> (number-to-string years)
> suffix " wedding anniversary]]")))
>
> If one doesn't like to use a function, an alternative would be
>
> (("birthday" . "Birthday: [[bbdb:%s]] (%d%s)")
> ("wedding" . "[[bbdb:%s]]'s %d%s wedding anniversary"))
>
> but this leaves the agenda with bbdb:Name links.
>
> I don't think I know how to make <TAB> jump to the bbdb-buffer
> instead to the org-file
>
> Ciao
> Thomas
>
> PS. Carsten should we make the function the default behaviour?
>
>
>
> _______________________________________________
> 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] 5+ messages in thread
* Re: get bbdb entry from org-agenda
2008-05-29 23:20 get bbdb entry from org-agenda Rares Vernica
2008-05-30 4:12 ` Carsten Dominik
2008-05-30 17:28 ` Thomas Baumann
@ 2008-06-12 14:32 ` Carsten Dominik
2 siblings, 0 replies; 5+ messages in thread
From: Carsten Dominik @ 2008-06-12 14:32 UTC (permalink / raw)
To: Rares Vernica; +Cc: emacs-orgmode
On May 30, 2008, at 1:20 AM, Rares Vernica wrote:
> Hello,
>
> I am using org-bbdb to add the anniversaries of my bbdb contacts to
> org-agenda.
>
> When I select an anniversary in org-agenda, my .org file that
> contains (org-bbdb-anniversaries) shows up. Is it possible to show up
> the bbdb entry for that name instead?
Hi Rares,
this works not, thanks to a patch from Thomas Baumann. It is in the
latest GIT release.
- Carsten
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-06-12 14:32 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-29 23:20 get bbdb entry from org-agenda Rares Vernica
2008-05-30 4:12 ` Carsten Dominik
2008-05-30 17:28 ` Thomas Baumann
2008-06-12 14:31 ` Carsten Dominik
2008-06-12 14:32 ` Carsten Dominik
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).