From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thibaut Verron Newsgroups: gmane.emacs.devel Subject: Re: Interactive guide for new users Date: Mon, 14 Sep 2020 13:20:43 +0200 Message-ID: References: <83d02re2uk.fsf@gnu.org> <838sdfdzxo.fsf@gnu.org> <20200912121603.bsp53vgfwj3y62in@Ergus> <831rj7dvhg.fsf@gnu.org> <20200912131802.fiowctrzc2yx4ozu@Ergus> <83y2lfcdq2.fsf@gnu.org> <20200913023522.a3iie375xvpv23nx@Ergus> Reply-To: thibaut.verron@gmail.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000005ac3f705af443a59" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9726"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Ergus , emacs-devel , casouri@gmail.com, Eli Zaretskii , Dmitry Gutov To: Gregory Heytings Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Sep 14 13:21:50 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 1kHmYQ-0002Qh-5q for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Sep 2020 13:21:50 +0200 Original-Received: from localhost ([::1]:58042 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHmYP-0006t8-7s for ged-emacs-devel@m.gmane-mx.org; Mon, 14 Sep 2020 07:21:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHmXa-0005Yo-Hv for emacs-devel@gnu.org; Mon, 14 Sep 2020 07:20:58 -0400 Original-Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:51143) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kHmXY-0007sw-QO; Mon, 14 Sep 2020 07:20:58 -0400 Original-Received: by mail-wm1-x32a.google.com with SMTP id e17so10244365wme.0; Mon, 14 Sep 2020 04:20:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=5JhLf4gYDJOsivu3J6HOeh5BjLQDVW6tMyehJp1kG2o=; b=vanVtr5Mw69bGlVJ0ZC8teL4qJINXPDDr6qEld0L0GRZSjtGDUnApjtTaznl63l59r oODn8T96GeWw/d75qOb/40ExEMU8AqY8nwyWlT9XQo3/5QoqctoI3Ad2tW6V7mE9XdK4 RiH66qjzw6dPcaszM4lbmaaWdLN/bEBC7twz/XBXVNoOwJbFKzFLU7lkWe/wNcfYpdn/ u4czyn6+HQb6Q07tONWTRDpUo8LzZS+EY5mBb5gv7/O/+SqupNefJTkfa1JqNbJv41+M DYyGCeCWZ4v5SXPbTnG+BA65MgcI5lfd8kOlipOSdopO6iT9AXvXMAwKbwrJAuOONzxc lw0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=5JhLf4gYDJOsivu3J6HOeh5BjLQDVW6tMyehJp1kG2o=; b=Tk9tn6963LBCcMuNsQML3NLImq/Thi2C2FGjMu2U32a3aTTGk9esSsBv+2Gr/jh7th 3zLaB1E5jB/KyyIABhYFi4FnjT4hG4ASCuqlTksLN2lMuogv9xQpSyUY5RrL4taRjD2y 1gaKmvScfq0eFt4bjoobNXQsV0xCa258mZ+atCBXRcMxbtvBFCsV95012rjM9tXKAgoW XdhhwndnvZKslKBeULSxixvnot5PeiAwZwuNkEVuxnqhb8DbQL0cClBgFs+uCQ3wTMFz LQ9Mnhzj4Sz7DAmFQ+IxJn9imDSlQihfXmrkRlfu8y5xo2sVToWT+oPDUpiMwUL1Uc7Y DjwQ== X-Gm-Message-State: AOAM530LNtyOraTJXs+TFBj2NxwIY0zM1wBmTWs8hMZrrya2fAj/0/KI wcjrWrJcGt6GBXC50QH0SoaCK8gz+QnYf8vdtPY= X-Google-Smtp-Source: ABdhPJxFg9/MaZQ/dxEnpsV3U3EqSBpCFwAdcvhYYpkonU/w67Id6x0NlSfHK1nOS5HVB857/LlQDCrRQ6iC5M0TrY8= X-Received: by 2002:a7b:c1d9:: with SMTP id a25mr15083553wmj.4.1600082455215; Mon, 14 Sep 2020 04:20:55 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=thibaut.verron@gmail.com; helo=mail-wm1-x32a.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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:255632 Archived-At: --0000000000005ac3f705af443a59 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Le lun. 14 sept. 2020 =C3=A0 00:11, Gregory Heytings via Emacs development discussions. a =C3=A9crit : > Apart from the vertical presentation (which icomplete will apparently soo= n > have), does ivy have a feature that icomplete does not have? I can't fin= d > one myself, but perhaps I'm missing something. > Does icomplete support different actions on the completion? 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 pops 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 remember how to invoke insert-file-name (including the name of the actual function). Counsel offers many more actions (which I don't use), including open-literally and open with an external program, and also filesystem actions such as copy, delete or rename. Other actions are offered for buffers, for isearch matches, etc. To me it feels very non-intrusive, what you don't use won't come to bite you. But it also goes beyond the scope of a mere completion mechanism. --0000000000005ac3f705af443a59 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Le=C2=A0lun. 14 sept. 2020 =C3=A0=C2=A000= :11, Gregory Heytings via Emacs development discussions. <emacs-devel@gnu.org> a = =C3=A9crit=C2=A0:
Apart from the vertical presentation (which ic= omplete will apparently soon
have), does ivy have a feature that icomplete does not have?=C2=A0 I can= 9;t find
one myself, but perhaps I'm missing something.
Does icomplete support different actions on the completion?

For example, if I want to insert a file name with com= pletion, I can do C-x C-f (counsel-find-file), use ivy-completion to get th= e name, then M-o pops a list of actions and tells me to press i to insert t= he file I selected. For such an action which I do quite rarely, I find it e= asier than remember how to invoke insert-file-name (including the name of t= he actual function).

Counsel offers many more acti= ons (which I don't use), including open-literally and open with an exte= rnal program, and also filesystem actions such as copy, delete or rename.
Other actions are offered for buffers, for isearch matches, etc.

To me it feels very non-intrusive,=C2=A0what you do= n't use won't come to bite you. But it also goes beyond the scope o= f a mere completion mechanism.=C2=A0
=C2=A0
--0000000000005ac3f705af443a59--