emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Holger Wenzel <drholgerwenzel@googlemail.com>
To: emacs-orgmode@gnu.org
Subject: org-insert-link and partial-completion-mode incompatibility?
Date: Wed, 22 Jun 2011 22:27:54 +0200	[thread overview]
Message-ID: <87k4cdwr05.fsf@googlemail.com> (raw)

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

             reply	other threads:[~2011-06-22 18:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-22 20:27 Holger Wenzel [this message]
2011-06-28 16:49 ` org-insert-link and partial-completion-mode incompatibility? Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k4cdwr05.fsf@googlemail.com \
    --to=drholgerwenzel@googlemail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).