From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.devel Subject: Re: [GNU ELPA] New package proposal: aggressive-completion.el Date: Sat, 3 Apr 2021 12:49:10 +0300 Message-ID: References: <87o8evok58.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31186"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.0.6 (2021-03-06) Cc: emacs-devel@gnu.org To: Tassilo Horn Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Apr 03 11:54:28 2021 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 1lScz5-0007yL-Ng for ged-emacs-devel@m.gmane-mx.org; Sat, 03 Apr 2021 11:54:27 +0200 Original-Received: from localhost ([::1]:57550 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lScz4-0004hE-PE for ged-emacs-devel@m.gmane-mx.org; Sat, 03 Apr 2021 05:54:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36710) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lScxn-0004Ds-Hc for emacs-devel@gnu.org; Sat, 03 Apr 2021 05:53:07 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:36513) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lScxl-0003sT-8n; Sat, 03 Apr 2021 05:53:07 -0400 Original-Received: from localhost ([::ffff:41.202.241.42]) (AUTH: PLAIN securesender, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 000000000001E1D8.0000000060683AFE.00003D7C; Sat, 03 Apr 2021 02:52:59 -0700 Mail-Followup-To: Tassilo Horn , emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: <87o8evok58.fsf@gnu.org> Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.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, SPF_HELO_PASS=-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:267326 Archived-At: * Tassilo Horn [2021-04-03 11:19]: > 1) automatically completes for you after a short delay, and it > 2) always shows the completion help (unless there are too many). Great. I like the idea as it improves standard completion but does not exaggerate. What I would find very useful is to avoid writing * as wildcard symbol to find possible completions. My candidates are like 20847 items or more sometimes. Reason why I use ivy or helm is to avoid using wildcard. But most of times I use standard completion with the wildcard. Here is example, shorter list of candidates: Articles & Stories :: It Might Help [9783] Cards :: Help Sell War Bonds [12098] Email :: Write to help-gnu-emacs@gnu.org mailing list [587] Free Software :: Saying No to unjust computing even once is help [35654] Knots :: 7 Great Idea With Rope That Will Help You A Lot [208] Literature Reviews :: Helpful Hints for Amateurs [15027] MELPA Notes :: <2020-10-23 Fr 14:13> DENOUNCE PROPRIETARY NON-FREE swift-helpful [35021] Miscellaneous & Utilities :: Helpful Hints [17069] Patter :: Helpful Advice on Patter [19062] Poetry :: How The "Sphinx" Helps [19279] Purposes :: Continually help Clients reach goals and purposes [35692] WWW Bookmarks :: http://helpers.hu/investment [31872] WWW Bookmarks :: http://www.foresoft.com/onlinehelp/cds/CDS9_1.htm [32830] In that list I wish to pin-point ID 587, so I write: *help*emacs Your package allows me to write just *help*em to get completion. I find it useful, as I spare the TABs. Though I do not know yet if it makes completion slower, maybe. What I would find more useful is if completion works without wildcard, so that space is ignored. Then I could write: "help emacs" and I would get the completion. Do you think that space can be made to be ignored, if not by default, then at least as user option? Additionally, it would be great if terms searched could be found in reverse order without loading external packages. Then I could write: "emacs help" and get the completion. Thus 2 things would improve, IMHO, this package: 1. to ignore space when completing, as that is what ivy, helm do, at least as user option, if not by default 2. to find candidates by any order of terms queried, at least as user option, if not by default Jean