Re: [O] orgmode-contacts wrong type arguments

2015-02-17 Thread Tory S. Anderson
Thanks Nick for the tip; I've recently learned about debug-on-entry, which I 
attempted to use to no avail last night, but the functions listed in the info 
manual you cited are useful. Following them I have found that the problem seems 
to be a conflict bewteen Org-Contacts and Helm; loading without helm enabled 
fixes the problem. Unfortunately, this seems like a lose-lose tradeoff to 
disable helm or go without mailing list functionality. I'm open to any 
suggestions, now that I know that a Helm conflict is apparently causing the 
listp error. 

Nick Dokos ndo...@gmail.com writes:

 torys.ander...@gmail.com (Tory S. Anderson) writes:

 Presumably this is related to my having upgraded to:
 Org-mode version 8.2.10 (8.2.10-33-g880a2b-elpa)
 GNU Emacs 25.0.50.6 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.9) of 
 2015-02-10 on localhost.localdomain

 I use org-contacts[1] to autofill addresses in GNUs. Normally can use
 +CATEGORY to add all names in a category; but now that particular
 functionality seems to be broken (although the package is otherwise
 functional). In my efforts to improve my elisp, can anyone tell me why
 the code doesn't work, and what might have changed to cause it to
 break?

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

 Footnotes: 
 [1]  https://julien.danjou.info/projects/emacs-packages#org-contacts


 When you get an error, the first thing you should do is get a backtrace:

(info (org) Feeback) 

 It's far more likely that you can find the error (or somebody can find
 it for you) with a backtrace in hand.



Re: [O] orgmode-contacts wrong type arguments

2015-02-17 Thread Nick Dokos
torys.ander...@gmail.com (Tory S. Anderson) writes:

 Presumably this is related to my having upgraded to:
 Org-mode version 8.2.10 (8.2.10-33-g880a2b-elpa)
 GNU Emacs 25.0.50.6 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.9) of 
 2015-02-10 on localhost.localdomain

 I use org-contacts[1] to autofill addresses in GNUs. Normally can use
 +CATEGORY to add all names in a category; but now that particular
 functionality seems to be broken (although the package is otherwise
 functional). In my efforts to improve my elisp, can anyone tell me why
 the code doesn't work, and what might have changed to cause it to
 break?

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

 Footnotes: 
 [1]  https://julien.danjou.info/projects/emacs-packages#org-contacts


When you get an error, the first thing you should do is get a backtrace:

   (info (org) Feeback) 

It's far more likely that you can find the error (or somebody can find
it for you) with a backtrace in hand.
-- 
Nick




Re: [O] orgmode-contacts wrong type arguments

2015-02-17 Thread Alexis


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 addr...@gmail.com, NAME addr...@aol.com, NAME 
TSA addr...@gmail.com, NAME addr...@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.



[O] orgmode-contacts wrong type arguments

2015-02-16 Thread Tory S. Anderson
Presumably this is related to my having upgraded to:
Org-mode version 8.2.10 (8.2.10-33-g880a2b-elpa)
GNU Emacs 25.0.50.6 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.9) of 
2015-02-10 on localhost.localdomain

I use org-contacts[1] to autofill addresses in GNUs. Normally can use 
+CATEGORY to add all names in a category; but now that particular 
functionality seems to be broken (although the package is otherwise 
functional). In my efforts to improve my elisp, can anyone tell me why the code 
doesn't work, and what might have changed to cause it to break?

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

Footnotes: 
[1]  https://julien.danjou.info/projects/emacs-packages#org-contacts