From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#43572: Feature request: make it possible to choose whether the first lines of the minibuffer should be displayed instead of the last ones Date: Thu, 24 Sep 2020 18:20:00 +0300 Message-ID: <83lfgztd5r.fsf@gnu.org> References: <83tuvnteur.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16374"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 43572@debbugs.gnu.org, monnier@iro.umontreal.ca To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 24 17:38:52 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1kLTKe-0004A9-Dj for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 24 Sep 2020 17:38:52 +0200 Original-Received: from localhost ([::1]:53442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kLTKd-0007oT-D6 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 24 Sep 2020 11:38:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kLT2S-00021Y-KZ for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2020 11:20:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57975) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kLT2Q-0004Gx-NN for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2020 11:20:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kLT2Q-0005Wu-Ju for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2020 11:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Sep 2020 15:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43572 X-GNU-PR-Package: emacs Original-Received: via spool by 43572-submit@debbugs.gnu.org id=B43572.160096080121245 (code B ref 43572); Thu, 24 Sep 2020 15:20:02 +0000 Original-Received: (at 43572) by debbugs.gnu.org; 24 Sep 2020 15:20:01 +0000 Original-Received: from localhost ([127.0.0.1]:41288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLT2O-0005Wb-N4 for submit@debbugs.gnu.org; Thu, 24 Sep 2020 11:20:00 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLT2M-0005W8-4x for 43572@debbugs.gnu.org; Thu, 24 Sep 2020 11:19:59 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34832) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kLT2G-0004F6-Di; Thu, 24 Sep 2020 11:19:52 -0400 Original-Received: from [176.228.60.248] (port=1205 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kLT2F-0003wJ-OS; Thu, 24 Sep 2020 11:19:52 -0400 In-Reply-To: (message from Gregory Heytings on Thu, 24 Sep 2020 14:52:38 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:188870 Archived-At: > Date: Thu, 24 Sep 2020 14:52:38 +0000 > From: Gregory Heytings > cc: monnier@iro.umontreal.ca, 43572@debbugs.gnu.org > > >> - "master-icomplete-vertical-after-tab.png" is what a user would see > >> with icomplete-mode activated and (setq icomplete-separator "\n") after > >> having completed the last directory name with a TAB: the prompt and > >> their input is completely hidden > > > > Thanks, this subtle issue should now be fixed on master. > > It is not, the only difference is that instead of "the prompt and their > input is completely hidden" one should now write "the prompt and the > largest part of their input is completely hidden". I mean the issue with the prompt being hidden after one TAB, but appear after another TAB. All the rest is just the consequence of the current policy to show the last part of the stuff in the mini-window. (Note that with your changes, one of the candidates isn't shown in the mini-window.) There might be a misunderstanding here: I'm not claiming that the changes I made yesterday and today are supposed to produce the same effect as your proposed patch. I'm just making the display with overlay-string behave (as much as possible) like display with normal buffer text, that's all. Per bug#43519. I'm not saying that my changes implement the feature you are asking for here. > Again, could you please provide a recipe which would demonstrate a problem > with the technique I propose? I already explained why your design is problematic. And so did Stefan. So I don't see why a recipe would be needed. Implementation of such a feature should use text and/or overlay properties to communicate the intent to the display code. That would be much cleaner and safer.