unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#48764: mini-buffer completion
@ 2021-05-31 20:16 jaime.escalante
  2021-06-01 15:39 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 13+ messages in thread
From: jaime.escalante @ 2021-05-31 20:16 UTC (permalink / raw)
  To: 48764

`completing-read' prompts a user to select from a set of candidates, providing
mini-buffer completion to narrow and complete the user input.

But the mini-buffer does not provide the user with any indication that he can use
the "up" and "down" keys to navigate a list of settings.  It would be beneficial to
introduce some kind of glyph or indicator in the mini-buffer to make the user aware
that arrow keys can be used, and be described in the manual.

    (if current-prefix-arg
	(let* ( ($major-mode
		   '("org-mode" "texinfo-mode" "emacs-lisp-mode"
		     "lisp-mode" "f90-mode"))
	        ($mode (completing-read "Mode: " $major-mode
			 nil t nil 'ziggurat-bufr-history)) )
	  (funcall (intern $mode)))
      (funcall (intern (or mode "org-mode"))))))






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

end of thread, other threads:[~2021-06-01 23:04 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-31 20:16 bug#48764: mini-buffer completion jaime.escalante
2021-06-01 15:39 ` Lars Ingebrigtsen
2021-06-01 15:54   ` jaime.escalante
2021-06-01 20:46     ` Basil L. Contovounesios
2021-06-01 21:00       ` jaime.escalante
2021-06-01 22:50         ` Basil L. Contovounesios
2021-06-01 23:00           ` jaime.escalante
2021-06-01 21:04       ` jaime.escalante
2021-06-01 22:50         ` Basil L. Contovounesios
2021-06-01 23:04           ` jaime.escalante
2021-06-01 21:31       ` bug#48764: [External] : " Drew Adams
2021-06-01 16:00   ` Drew Adams
2021-06-01 16:06     ` jaime.escalante

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).