From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: arvid-harnack@lavache.com Newsgroups: gmane.emacs.help Subject: Switching orderloss off Date: Fri, 11 Jun 2021 03:53:04 +0200 (CEST) Message-ID: References: <87tum56vtb.fsf@telefonica.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39075"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: "=?UTF-8?Q?=C3=93scar=20Fuentes?=" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jun 11 03:53:40 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lrWMe-0009zr-O5 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 11 Jun 2021 03:53:40 +0200 Original-Received: from localhost ([::1]:41810 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrWMd-00085Y-8M for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 10 Jun 2021 21:53:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42736) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrWMB-00085N-9U for help-gnu-emacs@gnu.org; Thu, 10 Jun 2021 21:53:11 -0400 Original-Received: from msg-1.mailo.com ([213.182.54.11]:33542) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrWM8-00010a-Le for help-gnu-emacs@gnu.org; Thu, 10 Jun 2021 21:53:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=lavache.com; s=mailo; t=1623376384; bh=GgVKVDIV1gJcdbk3FwbQ6s3S0xPovU3ALZUDpt80lRw=; h=X-EA-Auth:From:To:Cc:Date:Subject:MIME-Version:X-Mailer: Message-ID:In-Reply-To:Content-Type; b=NzG5imIwNoiTwncpuw4n2C+FbSUxK+ZR08JdbyvnpSzz49gKgQWtL8+3Wu5+TvOgG AWO1KkpfLnvhNqN1LNEZXDCWkE37Y+1720HPhpHIVzJxxZsmy1OPCE7JD6cqfPVGom zkFtFQLjkrNMwqAmzOlNR9g3BZ9IvJdcv0sE5qCI= Original-Received: by www-7.mailo.com with http webmail; Fri, 11 Jun 2021 03:53:04 +0200 (CEST) X-EA-Auth: eQa135rWaX1PrTLxQTw7hZldSP3OCqCh23yHloCa2i7WgwK/u/VM77mr1buq38mRtiWgEn7k8fEmsZxzH0rgYUxrGM3HiFQs X-Priority: 3 X-Mailer: COMS/EA21.01/r20210601 In-Reply-To: <87tum56vtb.fsf@telefonica.net> Received-SPF: pass client-ip=213.182.54.11; envelope-from=arvid-harnack@lavache.com; helo=msg-1.mailo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:130746 Archived-At: Thank you.=C2=A0 Have looked at the various capabilities of "completion-sty= les" (basic, partial-completion, substring, initials) Which setup would you find most convenient to use ? Do people customarily = fill "completion-styles" Would it be good to use alternatives rather than a single one ? What seque= nce would then work nicely? Thanks From: =C3=93scar Fuentes To: arvid-harnack@lavache.com Subject: Re: Switching orderloss off Date: 11/06/2021 03:20:48 Europe/Paris Cc: help-gnu-emacs@gnu.org arvid-harnack@lavache.com writes: > I am using orderless completion in minibuffer=20 > > > > =C2=A0=C2=A0 (require 'orderless) > > =C2=A0=C2=A0 (setq completion-styles '(orderless)) > > > > But I have no clue how to switch it off should I want to. Just set it to something else: (setq completion-styles '(basic)) In case you wish to restore completion-styles to whatever it was before the change, just store the previous value: ;; Use orderless completion style: (setq my-previous-completion-styles completion-styles) (setq completion-styles '(orderless)) ;; Go back to the previous completion styles: (setq completion-styles my-previous-completion-styles)