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 21:17:04 +0000 Message-ID: <87y2je5gof.fsf@tcd.ie> References: <86v9eibupz.fsf@gmail.com> <87pn4qldf2.fsf@tcd.ie> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5827"; 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 22:18:02 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 1kb97S-0001Mh-CD for ged-emacs-devel@m.gmane-mx.org; Fri, 06 Nov 2020 22:18:02 +0100 Original-Received: from localhost ([::1]:37232 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kb97R-0007DL-EE for ged-emacs-devel@m.gmane-mx.org; Fri, 06 Nov 2020 16:18:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60226) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kb96c-0006iQ-A0 for emacs-devel@gnu.org; Fri, 06 Nov 2020 16:17:10 -0500 Original-Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]:55009) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kb96a-00016Q-F1 for emacs-devel@gnu.org; Fri, 06 Nov 2020 16:17:09 -0500 Original-Received: by mail-wm1-x32a.google.com with SMTP id d142so2774299wmd.4 for ; Fri, 06 Nov 2020 13:17:07 -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=/+E7/6wkaP0gTyWxZgprs746uYkuLajrLbE+S0Z/vOg=; b=0XeUA8J9zMC93q2p6kFz2L3J8kV4uJqfgW5tvzJfJam1EOyMCOQf8AzAMuiOxvNqrS LcrnOWqoNhGkjYTlLcs0UTxTN8wDgzfr/eue/qRmZ8EE3Dn+1LI237a6n73QELFeZj3C LotO+OIazkQ107uMuLVw35rdWPoSyxqA8mE8t76GwaedUz5i2XF0jO7l1ohybKTYzLGJ fHgA6Gzv5HajnMyDfoap2vAEKTNHNxXFdZ1i+DzEmGL0AJx3u9lZbhjJtrsHsYjugnTw jeKr5ARZmQNigtxxB9sCK2mvMzGf4z/uw35s8hJS48f8nWnhl8HsG+xdljU3fHuBj0gk ygXg== 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=/+E7/6wkaP0gTyWxZgprs746uYkuLajrLbE+S0Z/vOg=; b=Rg+fZ5uUvkxlrgqXpku8QTeiH11W5xg/my2o4c8W+o6xf3IbieNYqmuhwNfPZGjvmQ G57AXh57d9MrdhUE5Gn5jsGRMV0zYEX8PNosIRC9FkBQIEems/RA4HAfNZKkKksRZH2J 9I/qGmrUuEnFynDk/pozAlOszI1EWfg6ggT8cO3gKMgfHi/WJXb2AMvtuilgnwm/M9ow F/Lk5n/BuGyUfoLkpGM+C0ivOGYGMXAKpelTJYCfXkEp+720R4EptDEXJ6amz222NU+N 3l6iIIv27ix11DrK5bIsA0Hbcve5Imc5fCMtXVxzKoqM/6qw/2ycPxV0tQUrZ31pFtBh ZhVA== X-Gm-Message-State: AOAM530JpoYmF29Ok7D2N2TDL2/7PM0LtLuVD1xcMINVAZa0ZX0goAvb aIIb5b9/h2Nzz7lJ6q9eJB2PRQ== X-Google-Smtp-Source: ABdhPJwpaJ9aa2/2y2hYEi0kF/00LowzgTTcWB98oqNaaXbQPd6KUX3XkHyDkeRoUsRqNljZInypPg== X-Received: by 2002:a7b:c1d2:: with SMTP id a18mr1557308wmj.41.1604697426584; Fri, 06 Nov 2020 13:17:06 -0800 (PST) Original-Received: from localhost ([2a02:8084:20e2:c380:92bd:1bfd:38fc:fae2]) by smtp.gmail.com with ESMTPSA id 18sm3677472wmo.3.2020.11.06.13.17.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 13:17:05 -0800 (PST) In-Reply-To: (Jean Louis's message of "Fri, 6 Nov 2020 18:36:00 +0300") Received-SPF: none client-ip=2a00:1450:4864:20::32a; envelope-from=contovob@tcd.ie; 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: -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:258857 Archived-At: Jean Louis writes: > * Basil L. Contovounesios [2020-11-06 18:21]: >> 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 > > That is it! Definitely good solution. > > Can that function `ivy-display-function-window' be included in ivy on > GNU ELPA? I don't know, that's Oleh's call. I vaguely remember a preference for showcasing these potential customisations in the wiki, rather than maintaining them as part of Ivy, but I'm not sure. -- Basil