Links: Implement special completion support for some link types
commit762736d18d430a515e3f0331f0fc1cf8111cc810
authorCarsten Dominik <carsten.dominik@gmail.com>
Sun, 10 May 2009 06:51:18 +0000 (10 08:51 +0200)
committerCarsten Dominik <carsten.dominik@gmail.com>
Sun, 10 May 2009 06:51:18 +0000 (10 08:51 +0200)
treee73552eab352c910f99320ce9f06eb6e1543b74c
parent181120bcfbb717921484580264c0c6b004c800f6
Links: Implement special completion support for some link types

The commit implements a general mechanism for providing special
(e.g. completion) support for specific link types when entering links
with `C-c C-l'.  After calling `C-c C-l', you may now press RET after
inserting a link prefix, and Org will look for a function
`org-PREFIX-complete-link'.  Such functions may be defined for any
link types, including link abbreviations.  Currently, Org has
`org-file-complete-link' for file name completion, and
`org-bbdb-complete-link' for completion of record names from BBDB.
doc/ChangeLog
doc/org.texi
lisp/ChangeLog
lisp/org-bbdb.el
lisp/org.el