Re: [Orgmode] Unintended behavior? Links without description

2011-02-14 Thread Bastien
Hi Christian, Christian Moe writes: > I've sent a patch separately. Please take a hard look at it, since > org-bbdb.el is a suggested model for people to look at when devising custom > link types. Looks good, thanks again. -- Bastien ___ Emacs-org

Re: [PATCH] Re: [Orgmode] Unintended behavior? Links without description

2011-02-14 Thread Bastien
Hi Christian, Christian Moe writes: > bbdb: Export links with normalized desc part > > * org-bbdb.el (org-bbdb-export): When a link description has been > added by org-export-normalize-links, use path instead (remove the > `bbdb:' prefix). > > The existing code handled the case where desc is nil

Re: [Orgmode] Unintended behavior? Links without description

2011-02-13 Thread Christian Moe
Hi, I've sent a patch separately. Please take a hard look at it, since org-bbdb.el is a suggested model for people to look at when devising custom link types. Yours, Christian On 2/12/11 11:11 PM, Bastien wrote: Hi Christian, Christian Moe writes: I think I've tracked down the problem,

[PATCH] Re: [Orgmode] Unintended behavior? Links without description

2011-02-13 Thread Christian Moe
bbdb: Export links with normalized desc part * org-bbdb.el (org-bbdb-export): When a link description has been added by org-export-normalize-links, use path instead (remove the `bbdb:' prefix). The existing code handled the case where desc is nil. However, this no longer occurs, since org-export

Re: [Orgmode] Unintended behavior? Links without description

2011-02-12 Thread Bastien
Hi Christian, Christian Moe writes: > I think I've tracked down the problem, but I don't necessarily understand > what org-export-normalize-links is supposed to do or what other behaviors > depend on this, so I'm not going to submit a patch. If this is now the > intended behavior, it will be no

[Orgmode] Unintended behavior? Links without description

2010-12-28 Thread Christian Moe
(sorry -- hit "send" too early by mistake in the previous mail) Hi, In pre-processing for export with org-export-normalize-links, links that lack a description part are given one, which consists of the full raw path of the link. In other words, link descriptions are never nil. This seems to c

[Orgmode] Unintended behavior? Links without description

2010-12-28 Thread Christian Moe
Hi, In pre-processing for export, links that lack a description part are given one, which consists of the full raw path of the link. In other words, link descriptions are never nil. This seems to conflict with the expectations of org-bbdb.el and custom links based on that example. The link [