From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Andrew Schwartzmeyer Newsgroups: gmane.emacs.devel Subject: Re: vertical fido-mode Date: Thu, 11 Jun 2020 10:06:01 -0700 Message-ID: References: Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_2AC6A153-C7A0-4BE4-A953-68EC0F0BA34B" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="45987"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jun 11 19:07:44 2020 Return-path: Envelope-to: ged-emacs-devel@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 1jjQg3-000Bqf-8u for ged-emacs-devel@m.gmane-mx.org; Thu, 11 Jun 2020 19:07:43 +0200 Original-Received: from localhost ([::1]:57122 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjQg1-0003Q3-Kr for ged-emacs-devel@m.gmane-mx.org; Thu, 11 Jun 2020 13:07:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjQea-0001cw-1v for emacs-devel@gnu.org; Thu, 11 Jun 2020 13:06:12 -0400 Original-Received: from mout02.posteo.de ([185.67.36.142]:48017) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjQeX-0007s6-Ru for emacs-devel@gnu.org; Thu, 11 Jun 2020 13:06:11 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 58B322400FB for ; Thu, 11 Jun 2020 19:06:05 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 49jVcX1dtmz6tmf for ; Thu, 11 Jun 2020 19:06:03 +0200 (CEST) In-Reply-To: X-Mailer: Apple Mail (2.3608.80.23.2.2) Received-SPF: pass client-ip=185.67.36.142; envelope-from=andrew@schwartzmeyer.com; helo=mout02.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/11 13:06:05 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:252119 Archived-At: --Apple-Mail=_2AC6A153-C7A0-4BE4-A953-68EC0F0BA34B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Funnily enough: > On Jun 11, 2020, at 9:00 AM, emacs-devel-request@gnu.org wrote: >=20 > As an aside, have you tried non-fido icomplete? There is one simple = change that makes it infinitely better in my opinion: fido forces a = completion-style choice on you, icomplete gives you freedom to choose = for yourself! (I shouldn't say so because I'm the author but I love the = orderless completion-style: https://github.com/oantolin/orderless = .) I came to emacs-devel a few weeks ago for a way to use orderless in = fido, and Jo=C3=A3o kindly showed me: (add-hook 'icomplete-minibuffer-setup-hook (lambda () (setq-local completion-styles '(orderless = partial-completion)))) Which makes fido-mode use different completion styles. So it=E2=80=99s = not necessarily forced, it=E2=80=99s just not as easy as modifying a = defcustom. Cheers, Andy P.S. I=E2=80=99m replying from the digest for the first time, hoping the = threading isn=E2=80=99t screwed up.= --Apple-Mail=_2AC6A153-C7A0-4BE4-A953-68EC0F0BA34B Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Funnily enough:

On Jun 11, 2020, at 9:00 AM, emacs-devel-request@gnu.org wrote:

As an aside, have you tried = non-fido icomplete? There is one simple change that makes it infinitely = better in my opinion: fido forces a completion-style choice on you, = icomplete gives you freedom to choose for yourself! (I shouldn't say so = because I'm the author but I love the orderless completion-style: https://github.com/oantolin/orderless.)

I came to emacs-devel a few weeks ago for a way to use = orderless in fido, and Jo=C3=A3o kindly showed me:

(add-hook = 'icomplete-minibuffer-setup-hook
    =         (lambda ()
  =             (setq-local completion-styles = '(orderless partial-completion))))

Which makes fido-mode use different = completion styles. So it=E2=80=99s not necessarily forced, it=E2=80=99s = just not as easy as modifying a defcustom.

Cheers,

Andy

P.S. I=E2=80=99m replying from the = digest for the first time, hoping the threading isn=E2=80=99t screwed = up.
= --Apple-Mail=_2AC6A153-C7A0-4BE4-A953-68EC0F0BA34B--