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:36:18 +0300 Message-ID: References: <87o8evok58.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2646"; 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:38: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 1lScjc-0000c0-0g for ged-emacs-devel@m.gmane-mx.org; Sat, 03 Apr 2021 11:38:28 +0200 Original-Received: from localhost ([::1]:52772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lScjb-0001Us-2p for ged-emacs-devel@m.gmane-mx.org; Sat, 03 Apr 2021 05:38:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35058) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lScj7-000167-8S for emacs-devel@gnu.org; Sat, 03 Apr 2021 05:37:57 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:43685) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lScj5-0002ha-72; Sat, 03 Apr 2021 05:37:56 -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 000000000001E079.000000006068376F.00003BF0; Sat, 03 Apr 2021 02:37:50 -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:267324 Archived-At: * Tassilo Horn [2021-04-03 11:19]: > Hi all, > > I'd like to propose the attached aggressive-completion.el as a new GNU > ELPA package. I've used this since several months and now had the time > to extract it from my ~/.emacs and make a proper minor-mode out of it. > > What is it? > =========== > > I've used several different minibuffer completion frameworks in the past > (including ivy, raven, and selectrum) in the past but always came back > to the standard emacs minibuffer completion with its nice configuration > means in terms of `completion-category-overrides' and friends. > > What I've liked with the other frameworks, however, was that the > completion candidates are immediately visible and in many scenarios I > needed less typing (especially less pinky-stressing TAB-ing). > > So the central idea of aggressive-completion.el is that it > > 1) automatically completes for you after a short delay, and it > 2) always shows the completion help (unless there are too many). > > Without further ado, here it is (comments welcome): I wish to try it out. I recommend that you first do: M-x checkdoc-buffer as to follow conventions. I can also see these compiler errors. aggressive-completion.el:50:1: Warning: defgroup for ‘aggressive-completion’ fails to specify containing group aggressive-completion.el:66:1: Warning: defcustom for ‘aggressive-completion-no-complete-commands’ fails to specify type aggressive-completion.el:66:1: Warning: defcustom for ‘aggressive-completion-no-complete-commands’ fails to specify type In aggressive-completion--setup: aggressive-completion.el:134:24: Warning: reference to free variable ‘aggressive-completion-minibuffer-map’ In end of data: aggressive-completion.el:155:35: Warning: the function ‘icomplete-fido-backward-updir’ is not known to be defined.