unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* read-from-minibuffer vs completing-read -- Cueing Users:
@ 2013-03-03 19:57 T. V. Raman
  2013-03-03 20:04 ` Jambunathan K
  0 siblings, 1 reply; 3+ messages in thread
From: T. V. Raman @ 2013-03-03 19:57 UTC (permalink / raw)
  To: emacs-devel

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

-- 
Best Regards,
--raman



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: read-from-minibuffer vs completing-read -- Cueing Users:
  2013-03-03 19:57 read-from-minibuffer vs completing-read -- Cueing Users: T. V. Raman
@ 2013-03-03 20:04 ` Jambunathan K
  2013-03-03 20:23   ` Jambunathan K
  0 siblings, 1 reply; 3+ messages in thread
From: Jambunathan K @ 2013-03-03 20:04 UTC (permalink / raw)
  To: T. V. Raman; +Cc: emacs-devel

"T. V. Raman" <tv.raman.tv@gmail.com> 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.

-- 



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: read-from-minibuffer vs completing-read -- Cueing Users:
  2013-03-03 20:04 ` Jambunathan K
@ 2013-03-03 20:23   ` Jambunathan K
  0 siblings, 0 replies; 3+ messages in thread
From: Jambunathan K @ 2013-03-03 20:23 UTC (permalink / raw)
  To: T. V. Raman; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 1258 bytes --]

Jambunathan K <kjambunathan@gmail.com> writes:

> "T. V. Raman" <tv.raman.tv@gmail.com> 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. 


[-- Attachment #2: icomplete-as-visual-cue.diff --]
[-- Type: diff, Size: 1012 bytes --]

=== modified file 'lisp/icomplete.el'
--- lisp/icomplete.el	2013-02-15 19:19:29 +0000
+++ lisp/icomplete.el	2013-03-03 20:18:15 +0000
@@ -267,11 +267,11 @@ and `minibuffer-setup-hook'."
     (save-excursion
       (goto-char (point-max))
                                         ; Insert the match-status information:
-      (if (and (> (point-max) (minibuffer-prompt-end))
-               buffer-undo-list         ; Wait for some user input.
+      (if (and ;; (> (point-max) (minibuffer-prompt-end))
+               ;; buffer-undo-list         ; Wait for some user input.
                (or
                 ;; Don't bother with delay after certain number of chars:
-                (> (- (point) (field-beginning)) icomplete-max-delay-chars)
+                ;; (> (- (point) (field-beginning)) icomplete-max-delay-chars)
                 ;; Don't delay if the completions are known.
                 completion-all-sorted-completions
                 ;; Don't delay if alternatives number is small enough:


[-- Attachment #3: Type: text/plain, Size: 6 bytes --]



-- 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-03 20:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-03 19:57 read-from-minibuffer vs completing-read -- Cueing Users: T. V. Raman
2013-03-03 20:04 ` Jambunathan K
2013-03-03 20:23   ` Jambunathan K

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).