unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* minibuffer-complete and completion-cycle-threshold
@ 2022-07-05 16:04 T.V Raman
  2022-07-05 18:39 ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: T.V Raman @ 2022-07-05 16:04 UTC (permalink / raw)
  To: emacs-devel

The doc for this setting (appended at the end) is misleading with
respect to how minibuffer-complete works.

(setq completion-cycle-threshold 3)
M-x loa TAB
Available choices are  load-library and load-file but TAB only gives
you load-library.

Setting that option to 1 gives you both choices but TAB does not cycle 

-- 

Thanks,

--Raman(I Search, I Find, I Misplace, I Research)
♉ Id: kg:/m/0285kf1  🦮

-- 

Thanks,

--Raman(I Search, I Find, I Misplace, I Research)
♉ Id: kg:/m/0285kf1  🦮



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

* Re: minibuffer-complete and completion-cycle-threshold
  2022-07-05 16:04 minibuffer-complete and completion-cycle-threshold T.V Raman
@ 2022-07-05 18:39 ` Stefan Monnier
  2022-07-06  0:07   ` T.V Raman
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2022-07-05 18:39 UTC (permalink / raw)
  To: T.V Raman; +Cc: emacs-devel

> The doc for this setting (appended at the end) is misleading with
> respect to how minibuffer-complete works.
>
> (setq completion-cycle-threshold 3)
> M-x loa TAB
> Available choices are  load-library and load-file but TAB only gives
> you load-library.

I don't know whether I misunderstand you or whether you see something
else than I, but when I try:

    src/emacs -Q --eval '(setq completion-cycle-threshold 3)'
    M-x loa TAB

I get the minibuffer to be expanded to `load-file`.  If I then hit TAB
a few more times, that cycles thorugh `load-theme`, `load-library`, and
back to `load-file`.

That's the behavior I expected.  Is that what you see as well (if so,
what behavior did you expect instead)?


        Stefan




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

* Re: minibuffer-complete and completion-cycle-threshold
  2022-07-05 18:39 ` Stefan Monnier
@ 2022-07-06  0:07   ` T.V Raman
  0 siblings, 0 replies; 3+ messages in thread
From: T.V Raman @ 2022-07-06  0:07 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb18030, Size: 1134 bytes --]

Stefan Monnier <monnier@iro.umontreal.ca> writes:


I never see load-file in the example I gave if I set that var to 3 ---
will investigate further --- I may well have a bug in emacspeak in how
it's speaking what's in the minibuffer:-)
>> The doc for this setting (appended at the end) is misleading with
>> respect to how minibuffer-complete works.
>>
>> (setq completion-cycle-threshold 3)
>> M-x loa TAB
>> Available choices are  load-library and load-file but TAB only gives
>> you load-library.
>
> I don't know whether I misunderstand you or whether you see something
> else than I, but when I try:
>
>     src/emacs -Q --eval '(setq completion-cycle-threshold 3)'
>     M-x loa TAB
>
> I get the minibuffer to be expanded to `load-file`.  If I then hit TAB
> a few more times, that cycles thorugh `load-theme`, `load-library`, and
> back to `load-file`.
>
> That's the behavior I expected.  Is that what you see as well (if so,
> what behavior did you expect instead)?
>
>
>         Stefan
>

-- 

Thanks,

--Raman(I Search, I Find, I Misplace, I Research)
7©4 Id: kg:/m/0285kf1  •0Ü8



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

end of thread, other threads:[~2022-07-06  0:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-05 16:04 minibuffer-complete and completion-cycle-threshold T.V Raman
2022-07-05 18:39 ` Stefan Monnier
2022-07-06  0:07   ` T.V Raman

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