From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Clemens Newsgroups: gmane.emacs.bugs Subject: bug#46718: 27.1; truncate-lines in minibuffer prevents auto resize Date: Wed, 24 Feb 2021 17:05:59 +0100 Message-ID: <6e0bcddb-fbda-1f8a-c4b8-74abf6c243b3@posteo.net> References: <83im6htqil.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2173"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 Cc: 46718@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Feb 24 17:07:15 2021 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 1lEwgz-0000Q7-PQ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Feb 2021 17:07:13 +0100 Original-Received: from localhost ([::1]:55084 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEwgy-000075-QK for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Feb 2021 11:07:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58026) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEwgo-00005j-He for bug-gnu-emacs@gnu.org; Wed, 24 Feb 2021 11:07:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52239) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lEwgo-0007EI-8Z for bug-gnu-emacs@gnu.org; Wed, 24 Feb 2021 11:07:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lEwgo-0008Ds-4B for bug-gnu-emacs@gnu.org; Wed, 24 Feb 2021 11:07:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Clemens Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Feb 2021 16:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46718 X-GNU-PR-Package: emacs Original-Received: via spool by 46718-submit@debbugs.gnu.org id=B46718.161418278431540 (code B ref 46718); Wed, 24 Feb 2021 16:07:02 +0000 Original-Received: (at 46718) by debbugs.gnu.org; 24 Feb 2021 16:06:24 +0000 Original-Received: from localhost ([127.0.0.1]:35548 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEwgB-0008Ce-IS for submit@debbugs.gnu.org; Wed, 24 Feb 2021 11:06:23 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]:44135) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEwfu-0008Bw-Qf for 46718@debbugs.gnu.org; Wed, 24 Feb 2021 11:06:22 -0500 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id B21DE2400FE for <46718@debbugs.gnu.org>; Wed, 24 Feb 2021 17:06:00 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1614182760; bh=uKt9Nb3xEwV6CsJhoUpey0SSpeegkh0efZkyvnY48c0=; h=Subject:To:Cc:From:Date:From; b=oc8ViJCYZehUVFkuQDyhR6IJ/Icu1tl/suODs7F6mq84N7a0QXyTOGgh6KSD4gn/1 WCdHJqO6f/xOyJAWBvhmCvd2HKG5w3rvFWrrorOWrKtpwA7YhgmoHnrelBIS3BC0I7 SwcC/VoWzp1GGYQDTbN9OvrafkVm2bK+4BVhWskgGGgMkR8wjG3Sjd2rVIXykKsQzo UsYYdOk5iQjjYL1KpQljsLMBlXNAzG5TSD5pirUALqwbECHDEDOZ/kQ7W95YFiDFng 3sM1NLjqIL1LrV6R7+GkP1WWOz/57hgKT4PbIHQULt4G+23m2pZ9t2c9xj+9rOm69U 66V5xaPpyDiug== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Dm148112sz9rxp; Wed, 24 Feb 2021 17:05:59 +0100 (CET) In-Reply-To: <83im6htqil.fsf@gnu.org> Content-Language: en-US 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:200723 Archived-At: > This is (was) not supported. When truncate-lines is non-nil in the > minibuffer, Emacs assumed the minibuffer text is just one line. And I > can understand that assumption: frankly, setting truncate-lines with > multi-line text in the minibuffer makes little sense, because it means > some of the text will not be shown, something that contradicts the > very purpose of resizing the mini-window. Why would someone do > something weird like that? > > Anyway, I've made this work as expected on the master branch now. I understand the assumption, makes sense when not considering such weird use cases as we might have in Selectrum ;) In Selectrum candidates are shown vertically stacked, we additionally ensure that candidates are a single line. It works pretty well and makes a lot of things easier to deal with in our UI. Thanks for adding this!