unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Question completion style.
       [not found] <20191106140300.vs3qfd3r7om6sqvz.ref@Ergus>
@ 2019-11-06 14:03 ` Ergus
  2019-11-15  9:12   ` Tassilo Horn
  0 siblings, 1 reply; 2+ messages in thread
From: Ergus @ 2019-11-06 14:03 UTC (permalink / raw)
  To: help-gnu-emacs

Hi:

The new flex completion style seems to be very useful and should work in
most of the cases. My question is about what is the best (suggested)
configuration for it. I see that completion-styles already have 3 values
do you thing is more useful to append || prepped || replace one of the
actual values || set just flex....?

Which one should give a good list of candidates in most of the cases
without killing performance?

Thanks In advance,
Ergus



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

* Re: Question completion style.
  2019-11-06 14:03 ` Question completion style Ergus
@ 2019-11-15  9:12   ` Tassilo Horn
  0 siblings, 0 replies; 2+ messages in thread
From: Tassilo Horn @ 2019-11-15  9:12 UTC (permalink / raw)
  To: Ergus; +Cc: help-gnu-emacs

Ergus <spacibba@aol.com> writes:

Hi!

> The new flex completion style seems to be very useful and should work
> in most of the cases. My question is about what is the best
> (suggested) configuration for it. I see that completion-styles already
> have 3 values do you thing is more useful to append || prepped ||
> replace one of the actual values || set just flex....?

I'd recommend to append new styles, or at least keep the basic style
(there's a mail on this list or maybe help-gnus-emacs and a bug report
about tramp completion not kicking in with some completion-styles).

> Which one should give a good list of candidates in most of the cases
> without killing performance?

Have a look at `completion-category-overrides' which allows you to use
different styles depending on what you complete.  For example, IMHO
initials completion is awesome for completing long filenames when you
already know what file you want to complete but is not very useful for
buffer names.  (FWIW, I haven't found a category where flex would be
useful to me.  It matches far too much for my personal preference so
that it never speeds up completion for me.)

Bye,
Tassilo



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

end of thread, other threads:[~2019-11-15  9:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20191106140300.vs3qfd3r7om6sqvz.ref@Ergus>
2019-11-06 14:03 ` Question completion style Ergus
2019-11-15  9:12   ` Tassilo Horn

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