From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.bugs Subject: bug#12638: 24.2.50; FR: Some suggestions for icomplete-mode Date: Sat, 13 Oct 2012 23:03:13 +0530 Message-ID: <87391ieck9.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1350149532 13964 80.91.229.3 (13 Oct 2012 17:32:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Oct 2012 17:32:12 +0000 (UTC) To: 12638@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 13 19:32:19 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TN5ZQ-0004pS-0i for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Oct 2012 19:32:16 +0200 Original-Received: from localhost ([::1]:36325 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TN5ZJ-00059y-Bi for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Oct 2012 13:32:09 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57205) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TN5ZG-00059q-Mb for bug-gnu-emacs@gnu.org; Sat, 13 Oct 2012 13:32:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TN5ZF-0006Kt-FX for bug-gnu-emacs@gnu.org; Sat, 13 Oct 2012 13:32:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60739) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TN5ZF-0006Kp-CX for bug-gnu-emacs@gnu.org; Sat, 13 Oct 2012 13:32:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TN5a9-0008TM-W3 for bug-gnu-emacs@gnu.org; Sat, 13 Oct 2012 13:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jambunathan K Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Oct 2012 17:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12638 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.135014957032548 (code B ref -1); Sat, 13 Oct 2012 17:33:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Oct 2012 17:32:50 +0000 Original-Received: from localhost ([127.0.0.1]:42757 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TN5Zx-0008Su-7Z for submit@debbugs.gnu.org; Sat, 13 Oct 2012 13:32:49 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37013) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TN5Zu-0008Sg-Kn for submit@debbugs.gnu.org; Sat, 13 Oct 2012 13:32:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TN5Yt-0006Jr-T8 for submit@debbugs.gnu.org; Sat, 13 Oct 2012 13:31:44 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:45897) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TN5Yt-0006Jn-Q9 for submit@debbugs.gnu.org; Sat, 13 Oct 2012 13:31:43 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TN5Ys-00057o-V9 for bug-gnu-emacs@gnu.org; Sat, 13 Oct 2012 13:31:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TN5Yr-0006JC-JQ for bug-gnu-emacs@gnu.org; Sat, 13 Oct 2012 13:31:42 -0400 Original-Received: from mail-da0-f41.google.com ([209.85.210.41]:34002) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TN5Yr-0006Ie-DK for bug-gnu-emacs@gnu.org; Sat, 13 Oct 2012 13:31:41 -0400 Original-Received: by mail-da0-f41.google.com with SMTP id i14so2053743dad.0 for ; Sat, 13 Oct 2012 10:31:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:message-id:date:user-agent:mime-version :content-type; bh=bIhyeoZIUu901O0X1nMYFNgECLjAcOALohaldxZgIfE=; b=d49akJgsdZsItdqCEyr74Ara11tzDWTsBLqAxI0DJQ208e91RjA4WDxKdtpZo1PqZe soKouLPDgtb8RLNeIKzMElEzPcmw9foIte+2q6Zf4nrK8Mt8J1rcljKg8yvpvCUhKY0H HC1ZqR0qHL6k59q+M2Jy5QD2B4aC+AdtKTvTzPdVQJjFLPuQl9asnbTRuweIXSC0gCMN hYE/5ydMUMgCsavSUqHh7Fq8dK5Dm2U3Uxek3LNVgi5v7Gnjy2NrITMngA6OAfsJHf0s 7phAWJq8l86VyKjYare/rq7bsLfzeeF9szdOi0qR4Ulyizbuzw1Xhw0qHP1DaORA/ejQ YaVg== Original-Received: by 10.66.73.230 with SMTP id o6mr20336553pav.45.1350149500547; Sat, 13 Oct 2012 10:31:40 -0700 (PDT) Original-Received: from debian-6.05 ([115.184.23.189]) by mx.google.com with ESMTPS id rz10sm6294959pbc.32.2012.10.13.10.31.38 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 13 Oct 2012 10:31:39 -0700 (PDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:65567 Archived-At: I have turned on icomplete mode following a suggestion in this message http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11131#20. Since I do use ido-mode, I am wondering whether the icomplete UI could be modified to match ido UI. This is to ensure uniformity of experience. A cursory look at ido.el suggests that it is indeed derived from icomplete.el but has been specialized for handling files and buffers. So there is much common ground between the two modes. Some observations and initial thoughts: 1. The icomplete candidates are comma separated but WITHOUT spaces. It makes readability difficult. So introduce `icomplete-decorations' which can be a copy of `ido-decorations' to begin with. May be the decorations could be extracted to some other file (minibuffer.el?) and commonly shared by both ido and icomplete. 2. Support for cycling via C-s and C-r, highlighting and selection of current head (all much like ido-mode) 3. (May be) substring matching. (Is there a way to accomplish this already, I am not sure.) I can prepare a patch for (1). Other items have to wait till my foo in related areas improves. In GNU Emacs 24.2.50.19 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2012-10-13 on debian-6.05 Bzr revision: 110533 cyd@gnu.org-20121013095159-t6cou0e9o2g2vg8g Windowing system distributor `The X.Org Foundation', version 11.0.10707000 Important settings: value of $LANG: en_IN locale-coding-system: iso-latin-1-unix default enable-multibyte-characters: t