From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.devel Subject: Re: Question about completion behavior Date: Wed, 9 Mar 2022 15:22:23 +0100 Message-ID: <20220309142223.4ay27n3xq467r364@Ergus> References: <20220309001013.gxyh2uasbuxiz6ww.ref@Ergus> <20220309001013.gxyh2uasbuxiz6ww@Ergus> <20220309014619.bptamkv47xdiyhzp@Ergus> <831qzbg5j2.fsf@gnu.org> <20220309101159.4k3uma2ztvldlqiz@Ergus> <83v8wne0f2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29461"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 09 15:24:40 2022 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 1nRxF1-0007Ss-OZ for ged-emacs-devel@m.gmane-mx.org; Wed, 09 Mar 2022 15:24:39 +0100 Original-Received: from localhost ([::1]:58644 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nRxF0-0001mP-M9 for ged-emacs-devel@m.gmane-mx.org; Wed, 09 Mar 2022 09:24:38 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33090) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRxDb-0000KA-Cu for emacs-devel@gnu.org; Wed, 09 Mar 2022 09:23:11 -0500 Original-Received: from sonic307-2.consmr.mail.bf2.yahoo.com ([74.6.134.41]:40612) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nRxDX-0005WW-CP for emacs-devel@gnu.org; Wed, 09 Mar 2022 09:23:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1646835784; bh=W98gzT4ySHH3qTqhp1rlPL+uGZO6NZfIOGAujO5Ri+Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject:Reply-To; b=mfEtpFSIA83QJESudlGOMwQpHnniA1wIG6E17XOrLBDyCeOtepgwMfEcMandq1IUAmsfbIcOT8fIiQCWkV5iEZ2MM82MSbE252sODWl77kxwX+eRkHZFd5d5Tsio5qMeQPeTQ9RAfTtW9zSQbLSz0nnEINaksOv8FRJ9iL8CAMebv6vZyPBnBXENcS2DruxwyyclwdLkUU11z/tNpKJFt2tniq2wJ2xTHIVoLrBzW8Uhl9fP7j1iKxAUT2CyruNI2Oz1/aV685GmolrQa8K3uOANvairorOvU196grQ1w5J00+pFOxRfNpglCUR2ZyfwxqkB6v7KCwef8JnKlaGK7w== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1646835784; bh=dwJXf4GMQP9cem8vtJ7VQUPF2xrJng5Znk+1YjnL1QM=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=ez4cXh6gc4IIe/Q8aj/Dt740oZXOrYaNX7VjCDDOAQzETOHn6Ii26Gy/ohnPAd6TzG7SS8VEOs650Ki5OzkmcP98HwBfu3DdVAGV26VVcmopnPS+dRYHz/uWyUCECUfNMKW1Qsfnp4PrvBbTieXWElyUaHcdmZ77/98e7wV7xHxQLA9OCy39b0/hEJCroASzDSwz3nyrsrEzACdYK4HxLtrrrgZV59x6EmURvxWgB9ZDrle9Q4w0tg7w1yPvew6ykwpGGPj+3wjA6B6sbEkUYLRy9/8ww0C9h4jRmelzI+TcRQWiuKX+yhftADzBD/1+UxmSEXEbLljBGU3znHM7ng== X-YMail-OSG: RZnoedAVM1mrn0O.jd0quMn4IVq3EHrX4aU.61knNU4z348C.JN9MLcahI3bhCa pQY1nbb7mQuquWJNkTDgncsaRimhKi73EmhTSb5QZXq_My_ctLUcdnOUtZ96rtq9DRd7ov5Bb5pu BY1hoqDhK_fxSg_pir68MP_8kUGUDdUzXjBHi5ypikwZw0OHd2qLoQze8Bk3ck_Ypt8B6_.nsBV2 5Loh_G.PwSiNU5eULHj81f_3QSOaPkmvapoTuuzFK0bAX2Pk2eZVCVMdolU_JBJStG8Kp1BIwDsM hfrE1DiSSS9kFgJrjNeSx3F168P3NPa_5yYw1rySZY__pbAay9V_LVio3KGcjuXzuEuuO5JsFjh1 16iO5kB6fG4SWO7wlEMFJ9mJAO8bbaumdTtUdFJrGM_fez5i2AL3yedkBSoIm9WCNCL29d6aHR7c D98NM8rSbzntSfdUucQvCn917hIEzu_ZBEKoQJGmB64LM6OfhdhTsyQ13E1X2uV.BQNb79pVPPeX byTF9ybVQmiXjfbn0w.wdxB5Cqu4ydFdbVSuR7YXSgkhdpJPRBf61esaAZWTZ933fIGza_qp5doC vP9XV2YrQvhnH07Ek83TDL1ayJ3iRgYUGUEeLaS.APDAqlUDh4vsL9TnGOENjLGiuawT8nUB1hYU gsaEDkaFBCuxv4.MiT6EgK1XgObIdaKDRRLuXjeICa3vMCKoSjdM3bxAD8cFjzyqn3ssxEFkJTSt VRz0IxIpHrPcmA9JbnfxGDHgsFKw77yWcHLZHuOl8JA1s6JEU46M7OJYXm_JD4qBXeAbQPGy4Z2. YNnhgtwcwJIczzZSPJnLNGnJQg_P2He3O08N3_WSb. X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.bf2.yahoo.com with HTTP; Wed, 9 Mar 2022 14:23:04 +0000 Original-Received: by kubenode514.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 6fa1724226125a24826d927a904175ef; Wed, 09 Mar 2022 14:23:02 +0000 (UTC) Content-Disposition: inline In-Reply-To: <83v8wne0f2.fsf@gnu.org> X-Mailer: WebService/1.1.19878 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Received-SPF: pass client-ip=74.6.134.41; envelope-from=spacibba@aol.com; helo=sonic307-2.consmr.mail.bf2.yahoo.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, RCVD_IN_MSPIKE_H2=-0.001, 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: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:286957 Archived-At: On Wed, Mar 09, 2022 at 03:10:57PM +0200, Eli Zaretskii wrote: >> Date: Wed, 9 Mar 2022 11:11:59 +0100 >> From: Ergus >> Cc: Stefan Monnier , emacs-devel@gnu.org >> >> What I propose is: >> >> 1. no unique (shows or update completions) >> 2. unique common (complete-common and UPDATE completions) >> 3. unique candidate (complete and hides completion) >> 4. unique common but completion is a valid entry (complete-common and hides completion) >> >> Is this behavior fine?? > >Sorry, I don't think I understand what you mean by each of the >descriptions "unique common", "unique candidate", etc. And I don't >want to guess wrongly. So I cannot answer your question; please >describe each situation as accurately as you can, to make the >discussion effective and useful. > >Thanks. > 2. "unique common" compi -> compil And there are other candidates with "compil" prefix (compilation-mode, compile, etc) but "compil" itself is not a valid one (or exact). 3. "unique candidate" compilation-mo -> compilation-mode And it is the only candidate. 4. "unique common but completion is a valid entry" magi -> magit and there are more candidates, but "magit" itself is already valid (but there is magit-diff, magit-status, etc).