Hi,
in emacs 23.3 with the org-mode release_7.5-421-ge734e I experience an
incompatibility between org-insert-link and partial-completion-mode.
org-insert-link in an org-mode buffer results in:
"Symbol's definition is void: t"
The trace back looks like
Debugger entered--Lisp error: (void-function t)
t(-1)
org-icompleting-read("Link: " (("http:") ("https:") ("ftp:") ("mailto:";)
("file:") ("news:";) ("shell:") ("elisp:") ("doi:") ("message:") ("file+sys:")
("file+emacs:") ("bbdb:") ("bibtex:") ("docview:") ("gnus:") ("info:") ("irc:")
("mew:") ("mhe:") ("rmail:") ("vm:") ("wl:")) nil nil nil tmphist nil)
apply(org-icompleting-read ("Link: " (("http:") ("https:") ("ftp:")
("mailto:";) ("file:") ("news:";) ("shell:") ("elisp:") ("doi:") ("message:")
("file+sys:") ("file+emacs:") ("bbdb:") ("bibtex:") ("docview:") ("gnus:")
("info:") ("irc:") ("mew:") ("mhe:") ("rmail:") ("vm:") ("wl:")) nil nil nil
tmphist nil))
org-completing-read("Link: " (("http:") ("https:") ("ftp:") ("mailto:";)
("file:") ("news:";) ("shell:") ("elisp:") ("doi:") ("message:") ("file+sys:")
("file+emacs:") ("bbdb:") ("bibtex:") ("docview:") ("gnus:") ("info:") ("irc:")
("mew:") ("mhe:") ("rmail:") ("vm:") ("wl:")) nil nil nil tmphist nil)
org-insert-link(nil)
call-interactively(org-insert-link nil nil)
Deactivating partial-completion-mode let me insert the link with no
problems.
Then it looks like org-insert-link doesn't call org-completing-read at
all.
Using the org version that comes with emacs 23.3 doesn't exhibit this
behaviour.
Kind regards,
Holger