From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tim Johnson Newsgroups: gmane.emacs.help Subject: Re: Key sequence completion with evil Date: Tue, 28 Aug 2018 19:05:04 -0800 Organization: AkWebsoft Message-ID: <20180829030504.GC21599@mail.akwebsoft.com> References: <20180828221740.GA21599@mail.akwebsoft.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1535511820 7216 195.159.176.226 (29 Aug 2018 03:03:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 29 Aug 2018 03:03:40 +0000 (UTC) User-Agent: Mutt/1.10.0 (2018-05-17) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 29 05:03:36 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fuqlb-0001km-L5 for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Aug 2018 05:03:35 +0200 Original-Received: from localhost ([::1]:40938 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fuqnh-0001Yf-NO for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Aug 2018 23:05:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48678) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fuqn8-0001Vp-Aj for help-gnu-emacs@gnu.org; Tue, 28 Aug 2018 23:05:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fuqn5-0002kT-2u for help-gnu-emacs@gnu.org; Tue, 28 Aug 2018 23:05:10 -0400 Original-Received: from tjohnson.mtaonline.net ([64.4.232.191]:37056) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fuqn4-0002jv-P8 for help-gnu-emacs@gnu.org; Tue, 28 Aug 2018 23:05:07 -0400 Original-Received: by linus (Postfix, from userid 1000) id 41D762435CE; Tue, 28 Aug 2018 19:05:04 -0800 (AKDT) Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 64.4.232.191 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:117793 Archived-At: * Drew Adams [180828 15:05]: > > Using evil and evil-leader with emacs 26.1 Gui on Ubuntu 16.04 > > > > I'd welcome recommendations and/or comments regarding a package > > to enable key sequence completion in evil normal and insert > > states as well as evil emacs state. > > > > I know that there are many completion packages and that those > > packages offer other features, but the primary feature I am > > interested in is where interactive candidates are offered (as > > opposed to non interactive textual candidates such as C-h would > > provide.) > > > > Icicles? Ido? Ivy? .... > > No idea how well it interacts with Evil, but Icicles has > key-sequence completion. > > You can see all keys available at the current time (including > after one or more prefix keys). You can filter (narrow) the set of > candidates any number of times, by matching against key names or > command names. You can sort the candidates in a few ways. You can > traverse the key-sequence hierarchy (e.g., go back up prefix > keys). You can traverse menu-bar menus too. > > As with any Icicles completion, you can initiate this on demand or > automatically (e.g. after a delay). > > https://www.emacswiki.org/emacs/Icicles_-_Key_Completion I've taken a cursory installation and inspection of icicles, then of ivy and then of which-keys. Icicles does not function in evil normal mode when key sequences are initiated. But that is without any customization. (shift-TAB is not recognized) When I invoke the icicles customization menu I see numerous options with the text "UNINITIALIZED, you should not see this." This tells me that Drew has anticipated issues and has remedies in mind. On the other hand, 'which-key works as advertised and from a cursory and initial experience is what I'm looking for in terms of key sequence completion. Ivy has not generated any opinions of mine thus far ... Having said that, I recognize that icicles is a very rich contribution which appears to have a wide variety of functionality. Should Drew have the time to address the "UNINITIALIZED, you should not see this." messages and possible subsequent issues I would - given my time constraints - happy to see if we can get icicles key sequence completion working in evil normal state. Key sequence completion works like a charm and as advertized when I toggle C-z but not when the "normal state" is in effect. As always, I'm enthralled with what emacsen have contributed. FYI: I'm on Alaska Daylight Time zone. cheers. -- Tim Johnson http://www.tj49.com