From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.devel Subject: Re: Could ivy minibuffer stay where it is? Date: Fri, 06 Nov 2020 15:20:49 +0000 Message-ID: <87pn4qldf2.fsf@tcd.ie> References: <86v9eibupz.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26534"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Oleh Krehel , emacs-devel@gnu.org To: Jean Louis Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 06 16:21:43 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 1kb3Yc-0006k8-Uh for ged-emacs-devel@m.gmane-mx.org; Fri, 06 Nov 2020 16:21:42 +0100 Original-Received: from localhost ([::1]:34400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kb3Yc-0001JH-1E for ged-emacs-devel@m.gmane-mx.org; Fri, 06 Nov 2020 10:21:42 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35708) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kb3Xs-0000om-3G for emacs-devel@gnu.org; Fri, 06 Nov 2020 10:20:56 -0500 Original-Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:46754) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kb3Xp-0006vB-UZ for emacs-devel@gnu.org; Fri, 06 Nov 2020 10:20:55 -0500 Original-Received: by mail-wr1-x42d.google.com with SMTP id d12so191315wrr.13 for ; Fri, 06 Nov 2020 07:20:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=FtTrxZ6kvQTflRWL7e594CLSvv+hFV9l+rOKQwu5d8E=; b=HB7Z921WpVTKeZ/OhMNF1k1P2GlnfDPYeIVIsRK+IiRYaNK4D/fPkoqwkBQAmf88xz ZNNCuKhxB9oC8Kkv/WHUlTQGiQb/po4RMIFvhFXkdIzQqPpDERKT+myxvpjXG9th/Npt ua1YRCL889h10sSeGGjuMQSQbVeRlLtIjCauYhBwZp1bjAYdGLP4dQwNCDI4QQLtJRs2 bCxJ2xRxdEXKXE5pzVMk9v3LlKhs7l72kPRCfpubtOf/ZWjJwJtH0SLUSHJOX9Xpowwu B02LLqs5nPdJTMa3F0S/fhsLnEHuP5ZZobzvHFitJmq0g5u0MJoow+nd30H180XzM2Dj 80CA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=FtTrxZ6kvQTflRWL7e594CLSvv+hFV9l+rOKQwu5d8E=; b=tRVi46nEX535WtU26L1hye+9+IsrVRGl8WXQPRoMUbGKJBZ35rpDB7NH0SBJO/EDn7 MjsDkH4Df9kCiD21d03raEq6vjoRbU3l8gwcMQS5VbNMgTe2ijf14E//C6/x1g+R3XjU uPyqLDzv8dhltJKASdIdlwdeqYXIr/RAvZtIeov0AcfO+W72XDX7RH1d5QCxf2EyhUY3 2s5j/XI+LCIJuA4do+/jUYzDUMft/cyk5CRKtjqlPbR7c+ZNNBD6Lhry+f/0XfzV77ZJ wnF6W2rYau37MlEp5NSrvPzvWyeXvPVCAKk9HV89Wz5gK6stqfFCNXVEHH1wwyBcLYWD lW7A== X-Gm-Message-State: AOAM530ohgHNkOo5CHNvBztroeT9JDhrQn9G1V92ed6Suy81Vi7jCFWE dEzL+f9DaUT/Pq7JzZBV1FouXw== X-Google-Smtp-Source: ABdhPJxEtoDi22FpzkJZj2C8OZ5Ct/TvdX6iiBsWgdp3UI21A8g4jOP47xWWayTjvWM6hD8GT/FRvQ== X-Received: by 2002:adf:eeca:: with SMTP id a10mr354176wrp.186.1604676052013; Fri, 06 Nov 2020 07:20:52 -0800 (PST) Original-Received: from localhost ([2a02:8084:20e2:c380:1f68:7ff5:120d:64e]) by smtp.gmail.com with ESMTPSA id y20sm2736531wma.15.2020.11.06.07.20.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 07:20:51 -0800 (PST) In-Reply-To: (Jean Louis's message of "Fri, 6 Nov 2020 14:57:38 +0300") Received-SPF: none client-ip=2a00:1450:4864:20::42d; envelope-from=contovob@tcd.ie; helo=mail-wr1-x42d.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: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=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:258827 Archived-At: Jean Louis writes: > Oleh, is there a setting for Ivy that minibuffer stays where it is? > > You may see the difference between: > > counsel-M-x > > and > > helm-M-x as this one creates 2 buffers, one for selection while > minibuffer stays where it is. This is my preferred way of work. As > user is typing and should not move his eyes or focus from familiar > place in this case minibuffer. > > Could you consider adding such option that prompt remains in the > minibuffer while selection is above minibuffer? Ivy was explicitly designed with the minibuffer in mind, just like built-in minibuffer completion. That said, it's possible to customise where completions appear. For example, in-buffer completion is displayed in an overlay at point, not in the minibuffer. See e.g. the following for more information: - https://github.com/abo-abo/swiper/wiki/ivy-display-function - ivy-display-functions-alist - ivy-display-functions-props - https://github.com/tumashu/ivy-posframe -- Basil