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: feature/icomplete-vertical Date: Mon, 14 Sep 2020 19:31:43 +0200 Message-ID: <20200914173143.j54upmkrghpi4njy@Ergus> References: <20200912133311.6ujtgczj6wyclufy@Ergus> <8BBE93B6-922E-44EF-B7A4-6A82C4F1DE3A@139.com> <20200914150258.4ze4ffv3afh4jd4f@Ergus> 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="23610"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Gregory Heytings Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Sep 14 19:33:03 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 1kHsLf-000629-0a for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Sep 2020 19:33:03 +0200 Original-Received: from localhost ([::1]:55242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHsLe-0007CZ-1P for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Sep 2020 13:33:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47640) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHsKd-00063B-OU for emacs-devel@gnu.org; Mon, 14 Sep 2020 13:31:59 -0400 Original-Received: from sonic302-3.consmr.mail.bf2.yahoo.com ([74.6.135.42]:40556) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kHsKa-0007cw-T2 for emacs-devel@gnu.org; Mon, 14 Sep 2020 13:31:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1600104714; bh=a5cfgmzhervyNkONQHNqeO/5lMacCOnIGuFDHf5q5TA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=nET7zg0cIEfvePQJIDLw4e2cQDKrpihbwAMvBPyDRIO1sj4jFwT9eTBLzcwR8XO3jbgnKiS5WvtILRE0MxPK4lnK+M1UEH22QV1uT+pKzA7Yq3r+6jiDqpi1pmK+2HyaQf9ok30ErKRPFd1S73JbFlKEQSO2e8N/jyvaPzkXGISKTe0ZmYKpsScRqEGFy5PjsxUsCfMSw3ZLPTlqGamaJWd+wIGranQe+lUTc9rbBt2/HaJtex8SNq5/GNUHjYnhqgmlcvkg5W27aSraZbdXJ/XK31gjEhENKzvCDGtW/Vc6o9KER7ek2b2beW9tSoRHWh1U5yzjZNK3WYyq5o7EAg== X-YMail-OSG: VyNyKVsVM1nIrBk6dRZuh1pXWPa1gj5RvD_.6XDKDqzeQIuhXoECRpPcQ2JwPGX _rHepP8Tz1O_AvQX7HGUl6AFzJSjVXYWN5IBXT_O8bJ9PWyYeb_FfBQWXQQ2MvBRO6zEEK_KDAX8 VdlyTSh__lPm29_w6pkm7v7Bw87kEnRyvOdXckkGa4v19LB5BHkFGMSPpNJoj81uqhXC5tU7MA8a XRldxcGew7M.HArJv7Rv2CI_uJbKXYjvP9qOtuMSR_..1dqESLdiRzzt7Y5Sw_TBWjjGVIp6mZED uB0Hk.0PFO0OBcX1tI3YGjcm_Cx0oxFIvfxScpmhSvOYt2vgJBtvYOzTMwccuRD5LhK3rjiNiYcl HXrLhLBNO1Hb99KdMSlxM5KaJGwLytrl8rp1FA5Ur573etvkeoeI_1YTu2gUGDu.pm93X4p6MUiN RiQP4etx5aQ3pg9xaVKmer2ld7XQusnbTP2FxTTNvxfNL_sjKGhNIL5ge5s.c..B6PEbK7hgnq1E GH3XPVibP6wIsIb4zVIpOtvW9ALeCiWt8vOLXar04NbWumd83.ZlcaNmJ5RDQogJ51T7YeoDvPf5 6223e2TupsmTLO0_7olkrpsE4y._TdEmyLU6EMhEhSPWqATFCYev2wTMRie1etXr7m1eH0i70rH7 fPBzhKkIlPOWtqlpsxTCdEsZbbr0HgqDbpOvso0gRUKOGyA2cRi8yFcUE2UGpMYeanT1Mf_cuR54 2sz7wAvDICqMLxpH3K5iEEZX7Y2PGD2yOdNr1bQOPBXyoBegMJeYlLsSigqvbQITVfX5gC7dy.2K GiRZ42xifCjINFM5OLp90WdR0.nrWrHZzEaxpoE4dL Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.bf2.yahoo.com with HTTP; Mon, 14 Sep 2020 17:31:54 +0000 Original-Received: by smtp413.mail.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 05343f9f82ad7b34e10cc83067a54e14; Mon, 14 Sep 2020 17:31:50 +0000 (UTC) Content-Disposition: inline In-Reply-To: X-Mailer: WebService/1.1.16583 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Apache-HttpAsyncClient/4.1.4 (Java/11.0.7) Received-SPF: pass client-ip=74.6.135.42; envelope-from=spacibba@aol.com; helo=sonic302-3.consmr.mail.bf2.yahoo.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/14 13:31:54 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] 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 autolearn=ham autolearn_force=no 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:255675 Archived-At: On Mon, Sep 14, 2020 at 05:13:40PM +0000, Gregory Heytings via Emacs development discussions. wrote: > >Hi Ergus, > >I gave your icomplete-vertical a try. It seems to work well so far, >but there is one thing that does not work as expected (or, at least, >as I expect it to work): for some reason when you complete a filename >(find-file), the first candidate './' has been taken out of the >candidate list (with both icomplete-format 'vertical and 'horizontal), >which means that I see ("[]" is the point): > >Find file: ~/[]/ | { } > >or: > >Find file: ~/[]./ > > >I do not understand why this is the case. > >Likewise, when there are multiple candidates, icomplete-vertical >behaves in a counterintuitive way with find-file, for example I see >(with two candidate directories "foofoo and "foobar"): > >Find file: ~/foo[]foofoo >foobar > You are right. This is a change I introduced recently to simplify something else. I will fix it asap; the idea is that you may see: Find file: ~/foofoo foobar and with a different option this: Find file: ~/foo foofoo foobar with the first foofoo fontified. As someone requested also to have this: Find file: ~/foo foofoo foobar or Find file: ~/foo foofoo foobar And personally I want this: Find file: ~/foo > foofoo foobar So I am working in all of them at the time avoiding adding too much complexity. But the code get complex because I have to keep old variables like the separator which I don't need (because I am using formats) I'll keep you posted when I fix this. It is not very complex indeed but I am very busy these days.