From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.devel Subject: Re: read-from-minibuffer vs completing-read -- Cueing Users: Date: Mon, 04 Mar 2013 01:53:11 +0530 Message-ID: <877glo1bdc.fsf@gmail.com> References: <20787.43814.231409.215686@gargle.gargle.HOWL> <87fw0c1c8n.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1362342206 20054 80.91.229.3 (3 Mar 2013 20:23:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Mar 2013 20:23:26 +0000 (UTC) Cc: emacs-devel@gnu.org To: "T. V. Raman" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 03 21:23:50 2013 Return-path: Envelope-to: ged-emacs-devel@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 1UCFRl-0003Nf-I6 for ged-emacs-devel@m.gmane.org; Sun, 03 Mar 2013 21:23:49 +0100 Original-Received: from localhost ([::1]:51531 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCFRQ-00065a-7D for ged-emacs-devel@m.gmane.org; Sun, 03 Mar 2013 15:23:28 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:35598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCFRL-00065G-Eg for emacs-devel@gnu.org; Sun, 03 Mar 2013 15:23:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCFRK-0003ZH-Et for emacs-devel@gnu.org; Sun, 03 Mar 2013 15:23:23 -0500 Original-Received: from mail-da0-f42.google.com ([209.85.210.42]:42765) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCFRK-0003Z6-8H for emacs-devel@gnu.org; Sun, 03 Mar 2013 15:23:22 -0500 Original-Received: by mail-da0-f42.google.com with SMTP id n15so2189616dad.15 for ; Sun, 03 Mar 2013 12:23:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:in-reply-to:references:user-agent :date:message-id:mime-version:content-type; bh=61sCMuSQqfgmlZawqJg/nYGSWaxuIqozgBKQ1+aTEhg=; b=BAEntckRCQ9Li8ge7X5QpQjnWbkma2GCpSNnzFwkLNxBhLPSUmlJPu9eOqzDVK1Gg1 n8xMsGcS/c3fElMtx/sWmp39A51nefmIGlm5jO3Hsm8pmNUSHHBdIcnPHgGIb2j6vEwe 8OB/ZsJaRdEVIPMZFHluDX6UT+MzsGSyT8K+7V75pV46pAg43ZZ7A7h8nhLV44lBSF5O roeOnSm2bBFf+Pxz6kV6gXtYiNPzJWRvV43KrYq+y1ZDWC8CHMgHp0BUXhFhN0ViYpVw zrmXjXxBh5jGK13FBBU9mYI81TrZ6KKANXh60JMDAL/dCFf1vtm4rodqn5g+AT7xlSJL TDqQ== X-Received: by 10.68.224.169 with SMTP id rd9mr24502650pbc.199.1362342201576; Sun, 03 Mar 2013 12:23:21 -0800 (PST) Original-Received: from debian-6.05 ([115.242.155.185]) by mx.google.com with ESMTPS id i6sm21109768paw.19.2013.03.03.12.23.18 (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Sun, 03 Mar 2013 12:23:20 -0800 (PST) In-Reply-To: <87fw0c1c8n.fsf@gmail.com> (Jambunathan K.'s message of "Mon, 04 Mar 2013 01:34:24 +0530") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.210.42 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:157500 Archived-At: --=-=-= Content-Type: text/plain Jambunathan K writes: > "T. V. Raman" writes: > >> As a long-time emacs user, I always see if there are completions >> available in the minibuffer -- so the worst that happens is that >> I get disappointed if I am answering a read-from-minibuffer >> prompt -- thinking of this, I realized that there is a good >> chance that new-comers to Emacs do a lot worse in the other >> direction, i.e. never realize that completions are available. >> Should we be cueing this somehow in the prompt -- (are we >> already cueing the user visually?) >> vs a completing-read prompt > > I have been using icomplete-mode for a while. Bzr trunk has an enhanced > version. > > My only complain is that the icomplete-mode starts showing completions > only after you enter the first character. If the first character is > wrong, then you get a more useless "No match" or some such thing. > > There is a buglet in the queue, only that it is not filed. I am essentially saying this: Enhance icomplete-mode so that it shows completion even without any user input. The visual cue is right there hiding behind the curtains. Try installing this quick change, do M-x and wait for the visual cue to reveal itself to you. --=-=-= Content-Type: diff Content-Disposition: inline Content-Transfer-Encoding: base64 Content-Description: icomplete-as-visual-cue.diff PT09IG1vZGlmaWVkIGZpbGUgJ2xpc3AvaWNvbXBsZXRlLmVsJwotLS0gbGlzcC9pY29tcGxldGUu ZWwJMjAxMy0wMi0xNSAxOToxOToyOSArMDAwMAorKysgbGlzcC9pY29tcGxldGUuZWwJMjAxMy0w My0wMyAyMDoxODoxNSArMDAwMApAQCAtMjY3LDExICsyNjcsMTEgQEAgYW5kIGBtaW5pYnVmZmVy LXNldHVwLWhvb2snLiIKICAgICAoc2F2ZS1leGN1cnNpb24KICAgICAgIChnb3RvLWNoYXIgKHBv aW50LW1heCkpCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgOyBJbnNl cnQgdGhlIG1hdGNoLXN0YXR1cyBpbmZvcm1hdGlvbjoKLSAgICAgIChpZiAoYW5kICg+IChwb2lu dC1tYXgpIChtaW5pYnVmZmVyLXByb21wdC1lbmQpKQotICAgICAgICAgICAgICAgYnVmZmVyLXVu ZG8tbGlzdCAgICAgICAgIDsgV2FpdCBmb3Igc29tZSB1c2VyIGlucHV0LgorICAgICAgKGlmIChh bmQgOzsgKD4gKHBvaW50LW1heCkgKG1pbmlidWZmZXItcHJvbXB0LWVuZCkpCisgICAgICAgICAg ICAgICA7OyBidWZmZXItdW5kby1saXN0ICAgICAgICAgOyBXYWl0IGZvciBzb21lIHVzZXIgaW5w dXQuCiAgICAgICAgICAgICAgICAob3IKICAgICAgICAgICAgICAgICA7OyBEb24ndCBib3RoZXIg d2l0aCBkZWxheSBhZnRlciBjZXJ0YWluIG51bWJlciBvZiBjaGFyczoKLSAgICAgICAgICAgICAg ICAoPiAoLSAocG9pbnQpIChmaWVsZC1iZWdpbm5pbmcpKSBpY29tcGxldGUtbWF4LWRlbGF5LWNo YXJzKQorICAgICAgICAgICAgICAgIDs7ICg+ICgtIChwb2ludCkgKGZpZWxkLWJlZ2lubmluZykp IGljb21wbGV0ZS1tYXgtZGVsYXktY2hhcnMpCiAgICAgICAgICAgICAgICAgOzsgRG9uJ3QgZGVs YXkgaWYgdGhlIGNvbXBsZXRpb25zIGFyZSBrbm93bi4KICAgICAgICAgICAgICAgICBjb21wbGV0 aW9uLWFsbC1zb3J0ZWQtY29tcGxldGlvbnMKICAgICAgICAgICAgICAgICA7OyBEb24ndCBkZWxh eSBpZiBhbHRlcm5hdGl2ZXMgbnVtYmVyIGlzIHNtYWxsIGVub3VnaDoKCg== --=-=-= Content-Type: text/plain -- --=-=-=--