From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Milan Glacier Newsgroups: gmane.emacs.help Subject: Is there a way to configure word separator for partial completion style? Date: Tue, 14 Mar 2023 23:02:47 -0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30275"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.8.14; emacs 28.2 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 15 04:07:47 2023 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 1pcHUQ-0007ac-Jz for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 15 Mar 2023 04:07:46 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pcHTm-0007ss-Vf; Tue, 14 Mar 2023 23:07:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pcHTl-0007sb-GJ for help-gnu-emacs@gnu.org; Tue, 14 Mar 2023 23:07:05 -0400 Original-Received: from sender4-op-o15.zoho.com ([136.143.188.15]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pcHTj-0002Bq-Mr for help-gnu-emacs@gnu.org; Tue, 14 Mar 2023 23:07:05 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1678849615; cv=none; d=zohomail.com; s=zohoarc; b=TDqbzQbCv6wwTqiw6hoVfkUS2F1qXB5XL9LGVUgTwz1njK1RApJcybCX0Ze/jqi6s098ECeWYT/e/l1QU5Di1Gm08a7MfN5fS/OjmeaE9gktDGIKM633UYVAy9Vngu1lRxnq6ojHIsxHG9/TJPJS1g914SW7P5HBcdWcMAPk50E= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1678849615; h=Content-Type:Date:From:MIME-Version:Message-ID:Subject:To; bh=WMNwD6om/XeO6YKXV5oyXUiFc/XOrSF33Y7edbPakAs=; b=LWn/8QC7YiEV+0EUoyblAzsGIoRLoxm4juW+ZgtGadgBdCXFLMqnijQdr7e/ww7uNufz7iBSMD+TJS6MbX7qIGHL4F/6AuXCEcyXfIH7IG4uY1K8cFz5G+NwQ60DohtWbQC/s9vAzlYIH2+dIJBGW3cYmOIaK2DnuR2dFrfpHuU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=milanglacier.com; spf=pass smtp.mailfrom=news@milanglacier.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1678849615; s=zoho; d=milanglacier.com; i=news@milanglacier.com; h=From:From:To:To:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To:Cc; bh=WMNwD6om/XeO6YKXV5oyXUiFc/XOrSF33Y7edbPakAs=; b=VVyOssm0Edf/IH0hisb1Mx5BLIdOz8gGnhwy6rtkDfwLWtLdDbUUSfpWBpSLDyxj XnyO3lLmo18IvJQFF8fJUGYzxqhnyhKboB79zpqXHRledp5uOj8mL/r160ri3SLRy+9 n6XRWF1Jxgnn7aB6P/KFLrocZF52fICejsumURLA= Original-Received: from localhost (c-68-33-25-105.hsd1.md.comcast.net [68.33.25.105]) by mx.zohomail.com with SMTPS id 1678849614695423.1541136359523; Tue, 14 Mar 2023 20:06:54 -0700 (PDT) X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.15; envelope-from=news@milanglacier.com; helo=sender4-op-o15.zoho.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:143021 Archived-At: The emacs documentation (https://www.gnu.org/software/emacs/manual/html_node/emacs/Completion-Styles.html) suggests that "partial-completion" uses hyphens or spaces as word separator. Is there a way to use other characters as the word separator? This is very useful for other languages (say python, C) which usually uses underscore as the word separator. Say I want to complete `foo_bar`, then I may just type `f_m` to complete `foo_bar`. Thanks in advance for your kind help.