From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: completion discrepancy between default completion and helm/ivy completions Date: Sun, 13 Nov 2016 10:38:35 -0500 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1479051647 20945 195.159.176.226 (13 Nov 2016 15:40:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 13 Nov 2016 15:40:47 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 13 16:40:42 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c5wtI-0001xC-7O for ged-emacs-devel@m.gmane.org; Sun, 13 Nov 2016 16:40:20 +0100 Original-Received: from localhost ([::1]:34128 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c5wtL-0001dH-2N for ged-emacs-devel@m.gmane.org; Sun, 13 Nov 2016 10:40:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34274) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c5wsj-0001dB-NV for emacs-devel@gnu.org; Sun, 13 Nov 2016 10:39:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c5wsg-0007yB-La for emacs-devel@gnu.org; Sun, 13 Nov 2016 10:39:45 -0500 Original-Received: from [195.159.176.226] (port=48695 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c5wsg-0007y4-F7 for emacs-devel@gnu.org; Sun, 13 Nov 2016 10:39:42 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1c5ws8-0001KD-Mi for emacs-devel@gnu.org; Sun, 13 Nov 2016 16:39:08 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 16 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:S+Y47zwqnZMVhyrnbfHi9gcetiw= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:209374 Archived-At: > Is it correct to register as a completion something that returns a > string? I don't understand the question: register where? return a string in which case? > Because it is what org-contacts does, but although it works with > the default completion code, it breaks ivy or helm style completions. AFAIK those frameworks probably don't handle well completion tables which use completion-boundaries, so I'd lean towards saying it's a bug or a known limitation of those frameworks. But I haven't looked at them in a long while, so maybe this isn't true any more. Stefan