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: Tue, 04 Dec 2012 21:42:34 +0530 Message-ID: <87624hu77x.fsf@gmail.com> References: <87391ieck9.fsf@gmail.com> <87624nsjes.fsf@gmail.com> <87d2yq9dvi.fsf@gmail.com> <877goxn8bw.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1354637452 3764 80.91.229.3 (4 Dec 2012 16:10:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Dec 2012 16:10:52 +0000 (UTC) Cc: 12638@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 04 17:11:04 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 1Tfv5L-0006ew-Ea for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Dec 2012 17:11:03 +0100 Original-Received: from localhost ([::1]:49862 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tfv59-0004Ud-II for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Dec 2012 11:10:51 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:40408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tfv51-0004SV-UK for bug-gnu-emacs@gnu.org; Tue, 04 Dec 2012 11:10:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tfv4s-0003wn-9u for bug-gnu-emacs@gnu.org; Tue, 04 Dec 2012 11:10:43 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43165) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tfv4s-0003wf-6L for bug-gnu-emacs@gnu.org; Tue, 04 Dec 2012 11:10:34 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Tfv7G-00058g-D8 for bug-gnu-emacs@gnu.org; Tue, 04 Dec 2012 11:13:02 -0500 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: Tue, 04 Dec 2012 16:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12638 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12638-submit@debbugs.gnu.org id=B12638.135463753819701 (code B ref 12638); Tue, 04 Dec 2012 16:13:02 +0000 Original-Received: (at 12638) by debbugs.gnu.org; 4 Dec 2012 16:12:18 +0000 Original-Received: from localhost ([127.0.0.1]:53415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tfv6X-00057i-Ot for submit@debbugs.gnu.org; Tue, 04 Dec 2012 11:12:18 -0500 Original-Received: from mail-pb0-f44.google.com ([209.85.160.44]:38888) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tfv6V-00057a-4u for 12638@debbugs.gnu.org; Tue, 04 Dec 2012 11:12:16 -0500 Original-Received: by mail-pb0-f44.google.com with SMTP id uo1so2774824pbc.3 for <12638@debbugs.gnu.org>; Tue, 04 Dec 2012 08:09:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=qh5uTxkgKFMSW9taKaq8NIbjV/1SEIwJsi+dNQkiu14=; b=yRC2Tt42monqJJxQwtox0iSF2gFula+Dr2Q1Mtl/alU3wJnLyeS/+lmwh3JczLtYT+ LO6g3bCbarK8bfiwpmd6cmob/qiPVRrJkPYPNfhy/znGJ5t4kEWlesBe97uKhf9CXMfY ncQg9y0CDoXP75bmCOcrl14bYItXkaBqN+cM5U3OpV3vRdVKymaKSLnczteHhSc0LKcj CN9J9VFAr9IUT8UFGMcNTBupIPEJjmarNEErlGgbWaXsOnqnj5QnssbCEL40nnc3PRtU xxQ3KOmdip1mLCjBxJboMMoWLl426FdtIe2h5YIy8BHVxsCXv+4NxRAIgr7/3Sfdvi/s vrKQ== Original-Received: by 10.68.191.104 with SMTP id gx8mr39661317pbc.138.1354637385512; Tue, 04 Dec 2012 08:09:45 -0800 (PST) Original-Received: from debian-6.05 ([101.63.152.19]) by mx.google.com with ESMTPS id ot5sm1216245pbb.29.2012.12.04.08.09.42 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 04 Dec 2012 08:09:44 -0800 (PST) In-Reply-To: (Stefan Monnier's message of "Tue, 04 Dec 2012 10:45:15 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) 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.x 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:67901 Archived-At: Stefan Monnier writes: >>>> 2. M-x debbugs-gnu >>>> There is no way I can C-s C-j to the second or third candidates. >>>> I normally use debbbugs-gnu-search which is the second candidate. >>> Better ask this elsewhere, I'm not up to speed on debbugs-gnu. >> Why are you in such a haste? Am I really talking about debbugs-gnu? > > Oh, sorry, I misunderstood (and yes, there's so much email to read in > this list and so little time to devote to it, that I always read it > in a hurry). > > I'm not sure what's the best course of action here. > Maybe minibuffer-force-complete should always choose the first completion > not equal to the current content. The problem is in the displayed string. Why not push "" to prospects when most-is-exact. I think completions are cycling but the displayed string is not. Is removal of leading space really necessary? Things would be simpler otherwise. ,---- | (if prospects | (concat determ | "{" | ,---- | | (and most-is-exact | | (substring icomplete-separator | | (string-match "[^ ]" icomplete-separator))) | `---- |=20 | (mapconcat 'identity (nreverse prospects) | icomplete-separator) | (and limit (concat icomplete-separator "=E2=80=A6")) | "}") | (concat determ " [Matched]")) `---- > Stefan