From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sA3gAmttK2AHTAAA0tVLHw (envelope-from ) for ; Tue, 16 Feb 2021 06:59:55 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id ICJMOmptK2AOUQAA1q6Kng (envelope-from ) for ; Tue, 16 Feb 2021 06:59:54 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 87E4C2A54A for ; Tue, 16 Feb 2021 07:59:54 +0100 (CET) Received: from localhost ([::1]:55520 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lBuKv-0000QH-3u for larch@yhetil.org; Tue, 16 Feb 2021 01:59:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34960) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBuKW-0000Q6-1M for emacs-orgmode@gnu.org; Tue, 16 Feb 2021 01:59:28 -0500 Received: from securemail-y31.synaq.com ([196.35.198.41]:47837) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBuKR-0004uX-SI for emacs-orgmode@gnu.org; Tue, 16 Feb 2021 01:59:27 -0500 Received: from [197.95.154.214] (helo=rc) by securemail-pl-omx5.synaq.com with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.93.0.4-30-5edf9c7) (envelope-from ) id 1lBuKF-0003R7-8O; Tue, 16 Feb 2021 08:59:11 +0200 From: Raoul Comninos To: Kyle Meyer Subject: Re: Sole Completion bug? In-Reply-To: <877dn8oev2.fsf@kyleam.com> (message from Kyle Meyer on Mon, 15 Feb 2021 22:45:05 -0500) Date: Tue, 16 Feb 2021 08:58:59 +0200 Message-ID: <87mtw4zefg.fsf@mweb.co.za> MIME-Version: 1.0 Content-Type: text/plain X-SYNAQ-Pinpoint-Information: Please contact SYNAQ for more information X-SYNAQ-Pinpoint-ID: 1lBuKF-0003R7-8O X-SYNAQ-Pinpoint: No virus infections found X-SYNAQ-Pinpoint-SpamCheck: not spam, SpamAssassin (not cached, score=0.202, required 7, autolearn=disabled, FSL_HELO_NON_FQDN_1 0.00, HELO_NO_DOMAIN 0.00, RDNS_NONE 0.10, SPF_SOFTFAIL 0.10) X-Pinpoint-From: revrari@mweb.co.za Received-SPF: pass client-ip=196.35.198.41; envelope-from=revrari@mweb.co.za; helo=securemail-y31.synaq.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.26 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=mweb.co.za (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 87E4C2A54A X-Spam-Score: -1.26 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1wF4jMxlVGX3 Kyle Meyer writes: > Raoul Comninos writes: > >> Kyle Meyer writes: >> >>> Hmm, isn't this just following the built-in completing-read's behavior? >>> >>> (completing-read >>> "Prompt: " >>> (list "Chris Bell" >>> "Phone Chris Bell" >>> "Meeting with Chris Bell")) >>> >>> ;; `C` => Chris Bell -> `` => Chris Bell [Sole completion] >> >> You may be right. To find all entries with "Chris Bell" I need to add an >> asterisk before "Chris" as in "*Chris". So the search is based on >> wildcards not regex. > > Yeah, I think that's the "*" from the partial-completion style in > completion-styles. > > (info "(emacs)Completion Styles") > >> Any idea how I may change this behaviour to search >> by regex? > > I'm not aware of a built-in completion style that offers that, but I > haven't used built-in completion for years. Ivy and, if I recall > correctly, Helm support regexps. I'd guess other third-party frameworks > do too. > Thanks very much. -- Kindest regards, Raoul Comninos