From mboxrd@z Thu Jan 1 00:00:00 1970 From: tory_anderson@byu.edu (Tory S. Anderson) Subject: Re: org-contacts bug when completing tags in gnus Date: Wed, 09 Nov 2016 06:35:56 -0700 Message-ID: <87shr0srlv.fsf@Endless.worlds> References: Mime-Version: 1.0 Content-Type: text/plain; format=flowed Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4T30-0005yn-8o for emacs-orgmode@gnu.org; Wed, 09 Nov 2016 08:36:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4T2v-0000CX-DV for emacs-orgmode@gnu.org; Wed, 09 Nov 2016 08:36:14 -0500 Received: from gproxy4-pub.mail.unifiedlayer.com ([69.89.23.142]:36381) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1c4T2v-0000B2-44 for emacs-orgmode@gnu.org; Wed, 09 Nov 2016 08:36:09 -0500 In-Reply-To: (Alan Schmitt's message of "Wed, 09 Nov 2016 11:23:29 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Alan Schmitt Cc: Org Mode Mailing List Yeah, I dodge around these sort of problems a lot with org-contacts. It is in need of a curator and probably a rewritten version; it also doesn't play nice with Helm. I haven't tried it with org 9.0 yet, though. Alan Schmitt writes: > Hello, > > I'm giving org-contacts a try, and I'm having an error when I'm > trying > to complete a tag (something should be a sequence but it's a > number). > Digging a little into it, it seems that the problem is during > hilighting, where a fontified string is returned by > all-completions > instead of a list (in `completion-pcm--all-completions' in > minibuffer.el), > which then make `completion-hilit-commonality' fail because it > expects a > list. I'm only seeing this problem with org-contacts, so I'm > wondering > if it might be the reason for this problem in emacs code. > > My contacts file looks like this: > > * Test > :test: > :PROPERTIES: > :EMAIL: alan.schmitt@polytechnique.org > :END: > > To reproduce, save this in some path/contacts.org file, do the > following > > (require 'org-contacts) > (org-contacts-gnus-insinuate) > (setq org-contacts-files (list "path/contacts.org")) > > then start an email in gnus, in the To field write +, then hit > TAB. > > I'm using org-mode 9 and emacs 25.1.1. Is this a known problem > with > them? > > Thanks, > > Alan