From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#39822: 27.0.90; Cannot set *Completions* buffer height using display-buffer-alist Date: Wed, 04 Mar 2020 01:06:02 +0200 Organization: LINKOV.NET Message-ID: <87ftep2h1x.fsf@mail.linkov.net> References: <87k146q02n.fsf@firemail.cc> <87ftet76tv.fsf@firemail.cc> <21d2102d-367b-54da-33c5-1ae1ac579bd9@gmx.at> <87imjpw3wx.fsf@mail.linkov.net> <87o8tfzmrx.fsf@mail.linkov.net> <43297d89-9e87-0b23-0bca-98b13a27cfe6@gmx.at> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="19676"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: Davor Rotim , 39822@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 04 01:11:17 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 1j9Hd7-00050g-0w for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 04 Mar 2020 01:11:17 +0100 Original-Received: from localhost ([::1]:55406 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9Hd6-0004VQ-1a for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 03 Mar 2020 19:11:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37884) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9Hcv-0004OH-Bu for bug-gnu-emacs@gnu.org; Tue, 03 Mar 2020 19:11:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j9Hct-0006Mj-Tc for bug-gnu-emacs@gnu.org; Tue, 03 Mar 2020 19:11:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34197) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j9Hct-0006Mb-Pr for bug-gnu-emacs@gnu.org; Tue, 03 Mar 2020 19:11:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j9Hct-0005Wf-LG for bug-gnu-emacs@gnu.org; Tue, 03 Mar 2020 19:11:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Mar 2020 00:11:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39822 X-GNU-PR-Package: emacs Original-Received: via spool by 39822-submit@debbugs.gnu.org id=B39822.158328063921146 (code B ref 39822); Wed, 04 Mar 2020 00:11:03 +0000 Original-Received: (at 39822) by debbugs.gnu.org; 4 Mar 2020 00:10:39 +0000 Original-Received: from localhost ([127.0.0.1]:40157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9HcV-0005Uz-Jm for submit@debbugs.gnu.org; Tue, 03 Mar 2020 19:10:39 -0500 Original-Received: from bisque.elm.relay.mailchannels.net ([23.83.212.18]:55052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9HcS-0005Uj-RC for 39822@debbugs.gnu.org; Tue, 03 Mar 2020 19:10:37 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 7F7CD5A0FA7; Wed, 4 Mar 2020 00:10:35 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a71.g.dreamhost.com (100-96-219-30.trex.outbound.svc.cluster.local [100.96.219.30]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id E4BF95A0FD2; Wed, 4 Mar 2020 00:10:34 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a71.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Wed, 04 Mar 2020 00:10:35 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Plucky-Vacuous: 439f67e544e1c987_1583280635169_1000482306 X-MC-Loop-Signature: 1583280635169:1228718222 X-MC-Ingress-Time: 1583280635169 Original-Received: from pdx1-sub0-mail-a71.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a71.g.dreamhost.com (Postfix) with ESMTP id AE2D17F4E5; Tue, 3 Mar 2020 16:10:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=2L+Rpw1SRKSb/tg+HdVdFeU1C98=; b= HuIKYFfFe+Ef1GYCX9Er/VDUynHT0s4D03ccJXI09LslNw1T3gW3ZkwYkMs++YRj 5ImGUMkC47GrXDHIIsEdK7xPemKoCwWWkPVHw70Bg3GuuUCflhnQh0wLyKUWmHsx M8ebhjPfEDghsBgQ1ZhH6qOlzshAdqDut1bUrdmwFXw= Original-Received: from mail.jurta.org (m91-129-103-27.cust.tele2.ee [91.129.103.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a71.g.dreamhost.com (Postfix) with ESMTPSA id D66187F5C2; Tue, 3 Mar 2020 16:10:26 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a71 In-Reply-To: <43297d89-9e87-0b23-0bca-98b13a27cfe6@gmx.at> (martin rudalics's message of "Tue, 3 Mar 2020 15:40:41 +0100") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedugedruddtjedgudelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrddutdefrddvjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledruddtfedrvdejpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtoheprhhuuggrlhhitghssehgmhigrdgrth X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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:176821 Archived-At: >>> You mean 'minibuffer-completion-help' should call 'display-buffer' >>> directly and do the rest of the setup manually? >> >> Yes, and all other commands that currently use >> with-displayed-buffer-window should get along without it. > > OK with me. Here is a complete list of commands that use with-displayed-buffer-window: - dired-mark-pop-up - minibuffer-completion-help - save-buffers-kill-emacs What they all have in common is that they have some post-processing in the displayed buffer. I wonder why there are no more such commands that need to do such post-processing? Maybe they use some simpler solution that could be used here as well? For example, hack-local-variables-confirm uses just (pop-to-buffer "*Local Variables*" '(display-buffer--maybe-at-bottom)) and nothing more, without hassles of with-displayed-buffer-window. And still it fits the window nicely into the buffer height. Why the above 3 commands couldn't do the same by abandoning with-displayed-buffer-window? > So you mean the default value is the value supplied by > 'display-buffer-alist'. Actually, I meant the default value is that used as the ACTION arg of display-buffer.