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: How should libraries integrate with IDO? Date: Fri, 17 Feb 2017 13:41:26 +0000 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1487339113 22151 195.159.176.226 (17 Feb 2017 13:45:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 17 Feb 2017 13:45:13 +0000 (UTC) To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 17 14:45:09 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 1ceiqS-0005RZ-TT for geh-help-gnu-emacs@m.gmane.org; Fri, 17 Feb 2017 14:45:09 +0100 Original-Received: from localhost ([::1]:53829 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ceiqY-00070Z-Jq for geh-help-gnu-emacs@m.gmane.org; Fri, 17 Feb 2017 08:45:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38858) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cein5-0004Dn-3j for help-gnu-emacs@gnu.org; Fri, 17 Feb 2017 08:41:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cein4-0006QJ-4H for help-gnu-emacs@gnu.org; Fri, 17 Feb 2017 08:41:39 -0500 Original-Received: from mail-ot0-x235.google.com ([2607:f8b0:4003:c0f::235]:33648) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cein3-0006QC-Vc for help-gnu-emacs@gnu.org; Fri, 17 Feb 2017 08:41:38 -0500 Original-Received: by mail-ot0-x235.google.com with SMTP id k4so11266073otc.0 for ; Fri, 17 Feb 2017 05:41:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=tnJsw2/Rw//e0xbUBGZL6aQQZEDAe3JjKRrPAGawGh8=; b=EVh8HiV/keWnYP0MxfvVukfGyVroqxRa+cBMsu4YRYtBaYIKz+tkF4/IB6vip9y1rk mCdAQBNrEtYjQ/ygsWn7lxlC4creVLDo+0cDBfmANZXAv8p552ohTNJBqPhxv+VJEujJ XaF921PQDJ3efTh/yt/oDXDLLrtO+L3U1jkXub01yg0I9Xav9EA9ElGhxXH7Vxr13hed tB+TBY/iEzDH39s+rRdlASSx3vZFJFOtGVbfInmlt5PGVOtOXkeiNC5BBnxukHjKLCYH Yfzj2396huG5s8MSPnHkoDHvnb3q9EvgHIwCJk85iTzA4vny5PLWyJ4KDjdUNrQ+mGEv pLtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=tnJsw2/Rw//e0xbUBGZL6aQQZEDAe3JjKRrPAGawGh8=; b=NQ/VtxAjA6IbfHidQYSCqHT7AtXK3W2nJ9zNC3Om1j7EwXcHN9n+d4yhM12Skw8xml e+ULYCH7AAeKqI29Q56bD9XxrsFpV/S9dX2t/TMGJMZB76dxdSdtjme2kTsuYY3UL/6h T9BERc6Qb6CBOaUuxj6NMTtyoAXVLtI4f99+W2Aow9lH0/wEGO4KSv/GsLim1c0GEHs0 CwgQguB1JL4SmW6zhPy1432w/7XkoX2Mo07FKufwQk/lVTIxYTRAIg0E12yM0U1mgB9V f0ExxS+L63kU6frZXesLgA/+29P4brMqUb9bLRX5iqVB+EfDXyptXzuS+LiXyUFaLsDF jfzw== X-Gm-Message-State: AMke39n2XZF/i+OufR3i9Cv/BGA/rYnRVL5qZbCwpEBbpmI5PkoGwwQBfddjgrIGSDwmwlSCTGynRUJR+qVvkA== X-Received: by 10.157.20.102 with SMTP id h93mr3928527oth.73.1487338896794; Fri, 17 Feb 2017 05:41:36 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c0f::235 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:112343 Archived-At: Hi, what should a library do that wants to use `completing-read', but optionally support IDO? - just call `completing-read' and tell the user to set `completing-read-function' to `ido-completing-read'? - provide a library-specific customization option, like `magit-completing-read-function'? - use `ido-completing-read' whenever ido.el is loaded? - or something else? If this isn't documented yet in the ELisp or IDO manuals, please document it there. Thanks, Philipp