unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* RE: Feature branches review please (ivy hello)
@ 2020-11-06 16:30 Drew Adams
  2020-11-06 19:05 ` Jean Louis
  0 siblings, 1 reply; 61+ messages in thread
From: Drew Adams @ 2020-11-06 16:30 UTC (permalink / raw)
  To: Emacs-Devel List

[Forwarding to the list, as it got dropped from
Reply All.]

> >> Again, please try (setq completion-styles (cons 'flex
> >> completion-styles)). With this "foo bar" matches both "foo bar" and
> >> "bar foo" (and also "far boo", "boo far", ...).
> >
> > Does it?
> 
> Hmmm, no, you're right, it doesn't.  I don't use that setting, I tried it
> briefly and wrongly concluded that it worked that way.  What would be
> needed is a "superflex" completion-style where characters can be given in
> any order ;-)

tl;dr: Matching without respect to order in
the target involves multiple separate matches.
___

What's usually called "flex" matching (Icicles
calls it "scatter") just matches bits of the
pattern you provide _in order_, one after the
other.  The matches are scattered throughout
the target, but they are _in order_ there.

To match multiple patterns without regard to
order in the target, you need to match the
patterns separately, each against the original
target or each against the result of previous
matching.

Icicles or library orderless.el provides such
behavior.

With Icicles, you can match a pattern (regexp,
fuzzy, flex, substring, whatever), and then you
can match another pattern ... etc.  Because the
component matches are separate the resulting
overall matches have those component matches in
any order.



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

end of thread, other threads:[~2020-11-15 22:32 UTC | newest]

Thread overview: 61+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20201104161200.tyeo2r5jibdahukb.ref@Ergus>
2020-11-04 16:12 ` Feature branches review please Ergus
2020-11-04 23:18   ` Basil L. Contovounesios
2020-11-05  8:30   ` Gregory Heytings via Emacs development discussions.
2020-11-05 10:05     ` Jean Louis
2020-11-05 16:10       ` Gregory Heytings via Emacs development discussions.
2020-11-05 16:27         ` Manuel Uberti
2020-11-05 17:00           ` Gregory Heytings via Emacs development discussions.
2020-11-05 17:32             ` Jean Louis
2020-11-05 18:50               ` Stefan Monnier
2020-11-05 19:30                 ` Jean Louis
2020-11-05 19:52                   ` Eli Zaretskii
2020-11-05 21:55                   ` Adam Porter
2020-11-05 22:18                     ` hyperscope Jean Louis
2020-11-06 18:18                       ` hyperscope Eduardo Ochs
2020-11-06 19:18                         ` hyperscope Jean Louis
2020-11-06  5:50                     ` Feature branches review please Jean Louis
2020-11-05 20:39               ` Gregory Heytings via Emacs development discussions.
2020-11-05 21:09                 ` Ergus
2020-11-05 21:19                   ` Gregory Heytings via Emacs development discussions.
2020-11-05 21:36                     ` Jean Louis
2020-11-05 21:44                     ` Stefan Monnier
2020-11-05 22:00                       ` Gregory Heytings via Emacs development discussions.
2020-11-05 22:36                         ` Ergus
2020-11-06  8:42                           ` Gregory Heytings via Emacs development discussions.
2020-11-05 21:33                 ` Jean Louis
2020-11-05 21:46                   ` Basil L. Contovounesios
2020-11-05 22:24                   ` Gregory Heytings via Emacs development discussions.
2020-11-05 22:48                     ` Jean Louis
2020-11-06  9:19                       ` Gregory Heytings via Emacs development discussions.
2020-11-06 10:51                         ` Feature branches review please (ivy hello) Jean Louis
2020-11-06 11:17                           ` Oleh Krehel
2020-11-06 11:42                             ` Jean Louis
2020-11-06 11:49                               ` Basil L. Contovounesios
2020-11-06 12:01                                 ` Jean Louis
2020-11-06 21:12                                   ` Basil L. Contovounesios
2020-11-06 11:57                               ` Could ivy minibuffer stay where it is? Jean Louis
2020-11-06 15:20                                 ` Basil L. Contovounesios
2020-11-06 15:36                                   ` Jean Louis
2020-11-06 21:17                                     ` Basil L. Contovounesios
2020-11-07 12:51                                       ` Oleh Krehel
2020-11-07 17:23                                         ` Jean Louis
2020-11-08 11:21                                           ` Oleh Krehel
2020-11-08 12:51                                             ` Jean Louis
2020-11-06 13:56                               ` Feature branches review please (ivy hello) Stefan Monnier
2020-11-06 14:10                                 ` Eli Zaretskii
2020-11-06 14:55                                   ` Stefan Monnier
2020-11-06 15:24                                 ` Jean Louis
2020-11-06 12:07                           ` Gregory Heytings via Emacs development discussions.
2020-11-06 14:02                             ` Stefan Monnier
2020-11-06 14:41                               ` Gregory Heytings via Emacs development discussions.
2020-11-06 19:23                             ` Jean Louis
2020-11-06 21:09                               ` Gregory Heytings via Emacs development discussions.
2020-11-15 20:12                       ` Feature branches review please Juri Linkov
2020-11-15 22:32                         ` Drew Adams
2020-11-06 10:31               ` Alan Mackenzie
2020-11-06 10:55                 ` Jean Louis
2020-11-05 17:22         ` Jean Louis
2020-11-05 13:25   ` Andrii Kolomoiets
2020-11-06 16:30 Feature branches review please (ivy hello) Drew Adams
2020-11-06 19:05 ` Jean Louis
2020-11-06 19:27   ` Drew Adams

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