all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Samuel Wales <samologist@gmail.com>
To: Tassilo Horn <tsdh@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: can vertico approximate this ido setup?
Date: Sat, 10 Jun 2023 18:05:38 -0700	[thread overview]
Message-ID: <CAJcAo8tv4vPfNZm_ta+MAk29FDzp6aj_3AOVdv-XZ-FAXhYieg@mail.gmail.com> (raw)
In-Reply-To: <87jzwijs04.fsf@gnu.org>

more below.

On 6/5/23, Tassilo Horn <tsdh@gnu.org> wrote:
>> i think ido-clever-match got that right:
>> https://github.com/Bogdanp/ido-clever-match .  it is almost perfect.

i really do mean that :).  it matches well ime.

> You might want to play around with flex-score-match-tightness for the
> flex style,

will do.

>
>> btw i have trouble understanding the emacs manual on completion.  the
>> completion styles don't make sense to me whent they talk about text
>> after point.  idk what i am missing there.
>
> Do emacs -Q (and probably set one completion-style at a time), enter
> something and move point forward again.  At least some styles seem to
> ignore text after point or at least handle it differently.

move point forward /again/?  it doesn't seem to go back.

>
>> here is a big long quote from ido-clever-match exactly what it does.
>> i wonder if vertico/orderless can do it similarly?
>
> Vertico doesn't come into play here and I don't know orderless well
> enough.  I think it's similar to partial-completion where the order of
> words doesn't matter.

my limited understanding is that vertico does come into play if i want
something like ido-clever-match.  i thought orderless, for example,
leaves sorting to vertico.  but maybe i am confusing sorting with
matching or something similar.

>
>>> Also, I have the experience that some completion styles work great for
>>> one kind/category of completion but not for others, so I use
>>> completion-category-overrides.

another thing i will keep in mind.

> I think, it does.  One thing to note is that with completion-styles (a b
> c) is that b won't kick in as long as a delivers matches and c won't
> kick in as long as b finds matches.

aha.



  parent reply	other threads:[~2023-06-11  1:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-04  1:40 can vertico approximate this ido setup? Samuel Wales
2023-06-04  6:41 ` Michael Albinus
2023-06-04  7:08   ` Samuel Wales
2023-06-04  8:57 ` Tassilo Horn
2023-06-05  1:07   ` Samuel Wales
2023-06-05  7:08     ` Tassilo Horn
2023-06-11  0:54       ` Samuel Wales
2023-06-11  1:05       ` Samuel Wales [this message]
2023-06-11 13:26         ` [External] : " Drew Adams

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

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

  git send-email \
    --in-reply-to=CAJcAo8tv4vPfNZm_ta+MAk29FDzp6aj_3AOVdv-XZ-FAXhYieg@mail.gmail.com \
    --to=samologist@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=tsdh@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.