From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: org-contacts bug when completing tags in gnus Date: Wed, 09 Nov 2016 11:23:29 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56870) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4Q2b-0004fL-UP for emacs-orgmode@gnu.org; Wed, 09 Nov 2016 05:23:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4Q2W-00033Y-W2 for emacs-orgmode@gnu.org; Wed, 09 Nov 2016 05:23:37 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:7966) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c4Q2W-00033H-NC for emacs-orgmode@gnu.org; Wed, 09 Nov 2016 05:23:32 -0500 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: Org Mode Mailing List --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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")) =20=20 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 =2D-=20 OpenPGP Key ID : 040D0A3B4ED2E5C7 Monthly Athmospheric CO=E2=82=82, Mauna Loa Obs. 2016-09: 401.03, 2015-09: = 397.63 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCgAGBQJYIvkiAAoJEAQNCjtO0uXHwHYIALySx6mfxEFFMKfnCWXu9p14 f2g596hyhBPBoQlmtytpGFuuIIH4rkPgWCiV/k31rruL6uNGje34+Cv1vGBqQxYy h5/vDoLgEyL0knInL5372SRDI4CG2oRyuyCbDC7TFLb9JUhmjYnOn6Fbnj9CqAp/ XUd/Ljaj4xaGqLOaJmfGYm+FdenzX9kR0BLsg4qYf0nvwBhdCEJWb9+lny49g50P 3PdzIhhDN+VE8CFneoDVOxUZRMVehLLwnyG3lxVp5ntpggb88er1jHCDMng0kMhV G5wzCnABECQTscup01PKh2CMonKM8FpaL7QdzVr4EW+jf62u3pAMPmB6t/qeO7w= =B9Kd -----END PGP SIGNATURE----- --=-=-=--