unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Teemu Likonen <tlikonen@iki.fi>
To: Protesilaos Stavrou <info@protesilaos.com>
Cc: 43774@debbugs.gnu.org
Subject: bug#43774: 27.1; fido-mode completion don't accept empty string nor matching substring
Date: Sun, 04 Oct 2020 11:24:41 +0300	[thread overview]
Message-ID: <87mu124cvq.fsf@iki.fi> (raw)
In-Reply-To: <87sgautq5x.fsf@protesilaos.com>

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

* 2020-10-04 10:18:34+03, Protesilaos Stavrou wrote:

> Try to use C-j (icomplete-force-complete-and-exit) to insert a
> substring that is not part of the list of candidates.

It doesn't work with my test cases. C-j in fido-mode selects the current
option, not the typed (sub)string.

I have switched to plain icomplete-mode. It is quite close to fido-mode
when used with these settings:

    (setq completion-styles '(flex)
          read-file-name-completion-ignore-case t
          read-buffer-completion-ignore-case t)

Plain icomplete-mode has a way to choose only the typed string (RET), a
way to choose the suggested option and exit (C-j), and a way to complete
the string to the suggested option (C-M-i), plus some other things.

-- 
/// Teemu Likonen - .-.. http://www.iki.fi/tlikonen/
// OpenPGP: 4E1055DC84E9DFF613D78557719D69D324539450

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 251 bytes --]

  reply	other threads:[~2020-10-04  8:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-03  6:30 bug#43774: 27.1; fido-mode completion don't accept empty string nor matching substring Teemu Likonen
2020-10-04  7:18 ` Protesilaos Stavrou
2020-10-04  8:24   ` Teemu Likonen [this message]
2021-06-06 11:09     ` Lars Ingebrigtsen
2021-06-06 12:15     ` Dmitry Gutov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mu124cvq.fsf@iki.fi \
    --to=tlikonen@iki.fi \
    --cc=43774@debbugs.gnu.org \
    --cc=info@protesilaos.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).