From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#35592: Use display-buffer-in-direction for completion-like windows Date: Mon, 20 May 2019 23:36:33 +0300 Organization: LINKOV.NET Message-ID: <871s0samni.fsf@mail.linkov.net> References: <87woj4r5xx.fsf@mail.linkov.net> <6d8899a4-18be-56cb-d820-7906d7ed0ee9@gmx.at> <8736lq54wf.fsf@mail.linkov.net> <52083e2f-6320-a39c-feda-352d414f4690@gmx.at> <87d0kswz0t.fsf@mail.linkov.net> <44dbff2a-8683-455e-84d7-e9202ef58056@gmx.at> <878svfjtke.fsf@mail.linkov.net> <83woiyg9ek.fsf@gnu.org> <87lfzcbtue.fsf@mail.linkov.net> <838svccsk0.fsf@gnu.org> <87pnonwstv.fsf@mail.linkov.net> <87pnoeqo68.fsf@mail.linkov.net> <557b5314-7d7a-5375-0829-1975393b1e7e@gmx.at> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="2670"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 35592@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 20 22:44:13 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hSp8m-0000XH-KF for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 May 2019 22:44:13 +0200 Original-Received: from localhost ([127.0.0.1]:41628 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hSp8l-0003Gv-Lw for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 May 2019 16:44:11 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:46349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hSp8d-0003Gn-An for bug-gnu-emacs@gnu.org; Mon, 20 May 2019 16:44:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hSp8c-0005id-Bv for bug-gnu-emacs@gnu.org; Mon, 20 May 2019 16:44:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52786) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hSp8c-0005iU-8J for bug-gnu-emacs@gnu.org; Mon, 20 May 2019 16:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hSp8c-0000yB-52 for bug-gnu-emacs@gnu.org; Mon, 20 May 2019 16:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 May 2019 20:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35592 X-GNU-PR-Package: emacs Original-Received: via spool by 35592-submit@debbugs.gnu.org id=B35592.15583850153683 (code B ref 35592); Mon, 20 May 2019 20:44:02 +0000 Original-Received: (at 35592) by debbugs.gnu.org; 20 May 2019 20:43:35 +0000 Original-Received: from localhost ([127.0.0.1]:38095 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hSp8B-0000xK-6D for submit@debbugs.gnu.org; Mon, 20 May 2019 16:43:35 -0400 Original-Received: from lavender.maple.relay.mailchannels.net ([23.83.214.99]:62763) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hSp88-0000xA-2A for 35592@debbugs.gnu.org; Mon, 20 May 2019 16:43:33 -0400 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 A627A501022; Mon, 20 May 2019 20:43:30 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a18.g.dreamhost.com (100-96-38-8.trex.outbound.svc.cluster.local [100.96.38.8]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 12532501A84; Mon, 20 May 2019 20:43:30 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a18.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.17.2); Mon, 20 May 2019 20:43:30 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Lettuce-Madly: 43b1aaa97a6e3597_1558385010483_1804585904 X-MC-Loop-Signature: 1558385010483:472037730 X-MC-Ingress-Time: 1558385010482 Original-Received: from pdx1-sub0-mail-a18.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a18.g.dreamhost.com (Postfix) with ESMTP id AF8CA7FDF3; Mon, 20 May 2019 13:43:28 -0700 (PDT) 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=APLVwyCVlqeqrXdv4qcoKsGnTWo=; b= QyCE1YZPkUpD9rCSb6S4li+PQ1QhzjkN4oJ/TpE+LWlhGw9NOrguLo8K2KsPZ6WU 23d7R/jLqd7koHXtmYA4y/2UfvnKgkKaqkfDDANKunBdhefnexA4QHWljHsaelYD egzJsej0wNycZGLhCRgKQYuRzCygk6PP7eEwfzDkoMA= Original-Received: from mail.jurta.org (m91-129-96-230.cust.tele2.ee [91.129.96.230]) (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-a18.g.dreamhost.com (Postfix) with ESMTPSA id 852C37FE32; Mon, 20 May 2019 13:43:23 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a18 In-Reply-To: <557b5314-7d7a-5375-0829-1975393b1e7e@gmx.at> (martin rudalics's message of "Mon, 20 May 2019 10:25:31 +0200") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddruddtkedgudehhecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffuohhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledrleeirddvfedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledrleeirddvfedtpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtoheprhhuuggrlhhitghssehgmhigrdgrthenucevlhhushhtvghrufhiiigvpedt 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:159591 Archived-At: >> Also I noticed your comments about rewriting display-buffer-at-bottom. >> Do you mean just to replace its body with the call to >> display-buffer-in-direction, or obsolete it altogether and >> replace all its uses with display-buffer-in-direction? > > The former (it's a three liner). But maybe some work remains wrt > action arguments like 'window-min-height', 'window-height' and > friends. I doubt that you have already exhausted all possibilities. Why three-liner? I see one-liners in your comments. I tried to replace the whole display-buffer-below-selected with your one-liner (display-buffer-in-direction buffer (cons '(direction . below) alist)) and also the whole display-buffer-at-bottom with your one-liner (display-buffer-in-direction buffer (cons '(direction . bottom) alist)) and everything works fine, I see no problems.