emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Alexis <flexibeast@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: orgmode-contacts "wrong type arguments"
Date: Tue, 17 Feb 2015 19:55:23 +1100	[thread overview]
Message-ID: <87wq3gnchw.fsf@gmail.com> (raw)
In-Reply-To: <87lhjyngfs.fsf@gmail.com>


On 2015-02-17T00:17:59+1100, Tory S. Anderson said:
 
 TSA> In my efforts to improve my elisp, can anyone tell me why 
 the code TSA> doesn't work, and what might have changed to cause 
 it to break?

 TSA> Error: completion-in-region: Wrong type argument: listp, 
 #("NAME TSA> <address@gmail.com>, NAME <address@aol.com>, NAME 
 TSA> <address@gmail.com>, NAME <address@gatech.edu>" 0 15 
 (fontified TSA> nil org-category "contacts") 44 65 (fontified nil 
 org-category TSA> "contacts") 88 99 (fontified nil org-category 
 "contacts") 127 TSA> 141 (fontified nil org-category "contacts"))

It looks like something in `completion-in-region` wanted a plain 
old list of items, but instead got a propertized string. For 
further information, check out section "31.19.2, Changing Text 
Properties" of the Emacs Lisp Reference Manual - in particular, 
the entry for the `propertize` function.


Alexis.

  reply	other threads:[~2015-02-17  8:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-16 13:17 orgmode-contacts "wrong type arguments" Tory S. Anderson
2015-02-17  8:55 ` Alexis [this message]
2015-02-17 13:40 ` Nick Dokos
2015-02-17 16:07   ` Tory S. Anderson

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=87wq3gnchw.fsf@gmail.com \
    --to=flexibeast@gmail.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).