From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: E Newsgroups: gmane.emacs.devel Subject: Re: Interactive guide for new users Date: Tue, 15 Sep 2020 23:33:33 +0000 Message-ID: <916b3167-b391-16d6-b5d7-7b801bd24b81@pm.me> References: <20200912131802.fiowctrzc2yx4ozu@Ergus> <83y2lfcdq2.fsf@gnu.org> <20200913023522.a3iie375xvpv23nx@Ergus> <865z8f9r6l.fsf@stephe-leake.org> Reply-To: E Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28185"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Sep 16 01:34:24 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 1kIKSu-0007B5-CP for ged-emacs-devel@m.gmane-mx.org; Wed, 16 Sep 2020 01:34:24 +0200 Original-Received: from localhost ([::1]:59232 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kIKSt-0006AR-E8 for ged-emacs-devel@m.gmane-mx.org; Tue, 15 Sep 2020 19:34:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41102) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIKSM-0005hL-AF for emacs-devel@gnu.org; Tue, 15 Sep 2020 19:33:50 -0400 Original-Received: from mail-40133.protonmail.ch ([185.70.40.133]:42332) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kIKSI-0000iP-PZ for emacs-devel@gnu.org; Tue, 15 Sep 2020 19:33:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail; t=1600212823; bh=YS1gEe+xti3P2fH40TdXBw9MvamNgt5v+LVz1cQtlfI=; h=Date:To:From:Reply-To:Subject:In-Reply-To:References:From; b=SgN0ebeXD8bBw90CKAJGHBlHV0uxn3rkrEA3lgGnuaEz1DmDvUXZiQxesgp+ipphX /ENHDaqtDTjxLQ+KRRejieOnvXNlD6Z6MKZuTq1/7Npx0D8vd4eDEynHZrQ6xrtSc6 kw4Qxug5T7laEeDPukVut8BQ4oT1eb3TenNej2UwFQ8YObhYDF9PjUenQrDeamhQu6 KmNsaqiNmyvidm4eo2Y2TecM+dNaiElbqL6RhqiP8gGOzN3VCPbo89OpqRD9fbybHY um6/z6kuZ1scGy/mIR01Gt+1HwygoaWQ8eiNw5c8e8LLw+7/J8pew+dCNQa3Z//2kR fWKYOqPX8ZEaw== In-Reply-To: <865z8f9r6l.fsf@stephe-leake.org> Received-SPF: pass client-ip=185.70.40.133; envelope-from=ej32u@pm.me; helo=mail-40133.protonmail.ch X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/15 19:33:43 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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:255805 Archived-At: On 9/15/20 8:10 AM, Stephen Leake wrote: >> >> For example, if I want to insert a file name with completion, I can do C= -x >> C-f (counsel-find-file), use ivy-completion to get the name, then M-o po= ps >> a list of actions and tells me to press i to insert the file I selected. >> For such an action which I do quite rarely, I find it easier than rememb= er >> how to invoke insert-file-name (including the name of the actual >> function). >=20 > That functionality is apparently provided by counsel, not by ivy. >=20 > Presumably counsel also works with icomplete; is that combination > missing anything? >=20 > -- > -- Stephe >=20 Counsel is a package with many commands that use Ivy's functions specifical= ly. I=20 wouldn't assume that is would work with Icomplete. You can see the file here: https://github.com/abo-abo/swiper/blob/master/counsel.el The alternative actions are created by providing arguments to `ivy-set-acti= ons',=20 and Counsel commands needing completion use `ivy-read'.