From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.help Subject: Re: How should libraries integrate with IDO? Date: Sun, 26 Feb 2017 16:13:57 +0000 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1488125677 24553 195.159.176.226 (26 Feb 2017 16:14:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 26 Feb 2017 16:14:37 +0000 (UTC) To: Stefan Monnier , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 26 17:14:32 2017 Return-path: Envelope-to: geh-help-gnu-emacs@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 1ci1Sw-0005rB-I3 for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Feb 2017 17:14:30 +0100 Original-Received: from localhost ([::1]:47392 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ci1T2-0001Sl-L1 for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Feb 2017 11:14:36 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41493) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ci1Sc-0001SU-LZ for help-gnu-emacs@gnu.org; Sun, 26 Feb 2017 11:14:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ci1Sb-0002mK-J2 for help-gnu-emacs@gnu.org; Sun, 26 Feb 2017 11:14:10 -0500 Original-Received: from mail-pg0-x230.google.com ([2607:f8b0:400e:c05::230]:34539) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ci1Sb-0002lo-C0 for help-gnu-emacs@gnu.org; Sun, 26 Feb 2017 11:14:09 -0500 Original-Received: by mail-pg0-x230.google.com with SMTP id p5so9292839pga.1 for ; Sun, 26 Feb 2017 08:14:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=j6OtB9lrsV51h597n9gHdfRUoMGBEgQ+p813+cnQzVg=; b=SoR2Xz9qJSi6OuBP7yoMZrbHMLSq0d/rz/xtHHdcAKr9dpEHV5IOLMHmhNGUh2QTnL jubk9yDNKDI5INgeR8TwlHYW9IE3ovyB66nx350XWVTrSuFuUrENVcFyCNuSY3XpY/L8 e9+0YjLIr/wEHcqWvdqHix3WEzW9sRFTg2XFiLtloR0yvtZ20OJRh3QhkJOvsL7bi9V6 8MrR4A07SGZQYMFA1AgbwlNexfzgQXzKYKiko4x2BSEokIvBprbBwcfDzQOlHO2HXiOv xV5RtWs1ws8jE2XyAOjb5Ya+TsI7dxyf2qLOQxC+jTmrxSD9a1TdzMq/PHnVokPUOLhi KVeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=j6OtB9lrsV51h597n9gHdfRUoMGBEgQ+p813+cnQzVg=; b=OEaaGSg27qcHfcFqpj6/HhGiKRA+KzaJ7LAESrT1sFidUG2H4k72oP+m3YFYq0Kelj HT3zGuFOPfwj9uv9+qqgJnP5wolVzVzUtKakKC3zwkSp9DzdrpesyPoztTYzGL0uTdbB NpyjmTBwP9fdfNyHQMFYK1jeS/SnyuWHGkTsdijgCe1+Doe1FZ7OW90t8oZ8kDrORknT UK0vALAOVAVONpC46yH6n0hs0DjuABTq5437v5TnzhuaYKHz7gz6rN1EsvgEo7bndKoD 9646Haioc/g3M09MPttw/CMRr7flNpxcxb9BHN8P7Vw4ftAdtmbRy9W7QMzm41EIXnaG v7vw== X-Gm-Message-State: AMke39nRqRmof4mlwDbSJ1HQ0SNZLnF0l62hKzktpaNRqORPYhTtLKCMtKGdq/+b7LTa6YH7vkVotOAB5t5UOQ== X-Received: by 10.84.136.75 with SMTP id 69mr18609297plk.172.1488125648356; Sun, 26 Feb 2017 08:14:08 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c05::230 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:112375 Archived-At: Stefan Monnier schrieb am Sa., 18. Feb. 2017 um 19:56 Uhr: > > what should a library do that wants to use `completing-read', but > > optionally support IDO? > > In my opinion, the best answer is: > - help integrate IDO functionality into icomplete-mode (and into the > default completion system). > Wouldn't that be orthogonal? Ideally `completing-read' would provide the superset of ido, iswitchb, icomplete, ivy, etc. > > but the more realistic one should be: > > > - just call `completing-read' and tell the user to set > > `completing-read-function' to `ido-completing-read'? > > Tho just setting it like that might not work 100%, so better use > ido-ubiquitous, which should hopefully deal with the special cases (I > have no idea whether it does, tho). > > OK, thanks. So I guess the best approach is to ignore the existence of ido-completing-read and direct users to ido-ubiquitous.