From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Samuel Wales Newsgroups: gmane.emacs.help Subject: Re: completion-styles with increasing level of matching Date: Mon, 1 Aug 2022 14:38:38 -0700 Message-ID: References: <87czdkccm0.fsf@dataswamp.org> <87r120asgn.fsf@dataswamp.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18525"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 01 23:40:57 2022 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 1oId9k-0004bd-2j for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 01 Aug 2022 23:40:56 +0200 Original-Received: from localhost ([::1]:53732 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oId9i-00089D-1l for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 01 Aug 2022 17:40:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32906) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oId7q-000892-Uq for help-gnu-emacs@gnu.org; Mon, 01 Aug 2022 17:38:59 -0400 Original-Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]:38516) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oId7e-0005xJ-C1 for help-gnu-emacs@gnu.org; Mon, 01 Aug 2022 17:38:57 -0400 Original-Received: by mail-lj1-x22c.google.com with SMTP id v7so6074470ljh.5 for ; Mon, 01 Aug 2022 14:38:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:references:in-reply-to:mime-version :from:to:cc; bh=BnrChtkPN7+YlhpgBQwfm87bslw665CDvXlcTOI5ROo=; b=cgT7dgBD7c6NEwe5ir53nl1RILhr0rKn5ZEEOiFXT4kcrY1xj+R1DWyDYTR9VOYeXL RwtdRIlTVKknF3OE+zcjnVRLYyQQQ/9JXpum+AeXAFWseLLCkYKc5JC1B6N4ND77LMbO 7esFBbAZ4esU8/wOyKwwsgTJxAefaowjAWxT8dQ0hddXdq+OqboTZz4A2vriloVMHjxy 50fJe5lqz5VVcNyDHxCqJSNDVDJji3tI8WE/EXE7syS/WV7tXN3IL9TjkO3T1nFDZtBQ Yl6V34Vy2wvtnHERzlz0z1cvPezJZRmwzm/uZidn7PsCg5A1y57yfGb9lpqQhHW4cbZ+ vN/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:references:in-reply-to:mime-version :x-gm-message-state:from:to:cc; bh=BnrChtkPN7+YlhpgBQwfm87bslw665CDvXlcTOI5ROo=; b=ZOb42FOn1AGWvoK3xwp8o/+eKfn8JReqRe1crMsiCbDMqPMa5BG8YzIHTD9n1t57zb aCgprZt46SCHLWbckHmX3amb+cY1juWQLsDJIEgU9BhJi8hy0DL3xHWZWBdoqK9pd3mL YJH4vPN27ACSguk4WSjq9+3QS8CoDapJ+Coogmitk8P7ELdaKa6ndyjj+hQv/0qzIkr4 NxseksQzmLazi3iaNsaMt3Reo42krkC80xBFCl5uRAirxvRBmzJHn+mVGJKUhRpK1ys0 OCWIY76gHOV1SkAUKrYwiZm4lTwL2k+CtZOmsj+rsRDTh5fKJ0bylcrhdbkUMIdrxVY4 Wp3Q== X-Gm-Message-State: AJIora8zhAat1ysvBW/U/wwsQ/W9krzJpIOKh//KIxhbbG5TpE1ZuRCE 3ufGmyrnYt1sEAMy9+P5WSBI1pYVggDEtZAZo5YKX5BOtisyCg== X-Google-Smtp-Source: AGRyM1uihSjBSYXicnMZj+nMGqGn/9ia+LRCwr4J/mJHeTIOmBXZADzbtnx5WoNpoktJWRER5QzJ5uaIqC6LyN3vdNg= X-Received: by 2002:a2e:9843:0:b0:25e:7a4:640f with SMTP id e3-20020a2e9843000000b0025e07a4640fmr6030112ljj.486.1659389919950; Mon, 01 Aug 2022 14:38:39 -0700 (PDT) Original-Received: by 2002:aa6:cac4:0:b0:1fe:cd23:c613 with HTTP; Mon, 1 Aug 2022 14:38:38 -0700 (PDT) In-Reply-To: <87r120asgn.fsf@dataswamp.org> Received-SPF: pass client-ip=2a00:1450:4864:20::22c; envelope-from=samologist@gmail.com; helo=mail-lj1-x22c.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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:138735 Archived-At: fwiw i don't use completion-styles yet i think, but i use ido + ido-hacks + ido-clever match. ido [with flex] and i discover short shorthands for e.g. org headers for refiling. those need not be initials. and rarely would initials work for me. i think if you use completion-styles, whether you need flex will depend on whether you use more than initials. [idk if fido or the new composable stuff will be able to emulate my setup. if it does then maybe it will use completion-styles.] On 8/1/22, Emanuel Berg wrote: > uzibalqa wrote: > >> `flex' attempts to complete using in-order substrings, so >> `foo' matches `frodo' or `fbarbazoo'. >> Whereas `initials' complete acronyms and initialisms such that >> `lch' matches `list-command-history'. >> >> They seem to do the same thing to me. Any good insight what >> one can do but the other can't? > > While I do rely on chemical, cognitive and physical speed the > physical part of that is typing so I'm the worst person to ask > actually ;) > > -- > underground experts united > https://dataswamp.org/~incal > > > -- The Kafka Pandemic A blog about science, health, human rights, and misopathy: https://thekafkapandemic.blogspot.com