unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* struggling with icomplete, trying to terminate matching process
@ 2025-01-09 11:15 Eric S Fraga
  2025-01-09 15:13 ` Stefan Monnier via Users list for the GNU Emacs text editor
  0 siblings, 1 reply; 3+ messages in thread
From: Eric S Fraga @ 2025-01-09 11:15 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

I have recently switched to icomplete from vertico.  So far, mostly
good.  However, there is one situation that I cannot seem to resolve in
icomplete in the mini-buffer.

This situation is when I wish to *not* choose one of the matches given
to me.  For example, if I'm in a directory which has two files, "one"
and "two".  If I wish to create a new sub-directory (or file, I guess)
called "o", I am unable to do so because icomplete insists of choosing
"one".

Is there a magical incantation within icomplete that will return the
partial string I may have typed or one which will turn off icomplete?  I
found nothing with C-h b while in the mini-buffer and the icomplete
section in the Emacs info manual also mentions nothing.

In other completion systems, incomplete return might be C-j or C-RET or
M-RET or ... depending on which system one chooses to use.

I'm sure, as usual, that I am missing something obvious. :-/

Thank you,
eric

-- 
Eric S Fraga via gnus (Emacs 31.0.50 2025-01-06) on Debian 12.8




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

* Re: struggling with icomplete, trying to terminate matching process
  2025-01-09 11:15 struggling with icomplete, trying to terminate matching process Eric S Fraga
@ 2025-01-09 15:13 ` Stefan Monnier via Users list for the GNU Emacs text editor
  2025-01-09 16:06   ` Eric S Fraga
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier via Users list for the GNU Emacs text editor @ 2025-01-09 15:13 UTC (permalink / raw)
  To: help-gnu-emacs

> This situation is when I wish to *not* choose one of the matches given
> to me.  For example, if I'm in a directory which has two files, "one"
> and "two".  If I wish to create a new sub-directory (or file, I guess)
> called "o", I am unable to do so because icomplete insists of choosing
> "one".
>
> Is there a magical incantation within icomplete that will return the
> partial string I may have typed or one which will turn off icomplete?  I
> found nothing with C-h b while in the mini-buffer and the icomplete
> section in the Emacs info manual also mentions nothing.

Your question is incomplete, because in my tests it "just works":

    src/emacs -Q -f icomplete-mode
    C-x C-f R

shows me ".../R[EADME]"

    RET

opens the (not yet existing) "R" file.


        Stefan




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

* Re: struggling with icomplete, trying to terminate matching process
  2025-01-09 15:13 ` Stefan Monnier via Users list for the GNU Emacs text editor
@ 2025-01-09 16:06   ` Eric S Fraga
  0 siblings, 0 replies; 3+ messages in thread
From: Eric S Fraga @ 2025-01-09 16:06 UTC (permalink / raw)
  To: help-gnu-emacs

Response below/inline for email Stefan Monnier via Users list for the GNU Emacs text editor wrote:
> (original email sent  9 Jan 2025 at 10:13)
> 
> Your question is incomplete, because in my tests it "just works":
>
>     src/emacs -Q -f icomplete-mode
>     C-x C-f R

I knew it would be embarrassing... this also works for me.  And I should
have checked with -Q, of course.  Sorry for the noise.

I will figure out what I am doing wrongly in my configuration [*] to
make it not work properly.

Thank you,
eric

* I keep telling myself to declare Emacs bankruptcy and start over: 40+
    years of cruft building up (layers upon layers) in my .emacs is not
    good.  But it generally works and I dread the thought of going back
    to vanilla Emacs at this point...

-- 
Eric S Fraga via gnus (Emacs 31.0.50 2025-01-06) on Debian 12.8




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

end of thread, other threads:[~2025-01-09 16:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-09 11:15 struggling with icomplete, trying to terminate matching process Eric S Fraga
2025-01-09 15:13 ` Stefan Monnier via Users list for the GNU Emacs text editor
2025-01-09 16:06   ` Eric S Fraga

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