GNU bug report logs - #35592
Use display-buffer-in-direction for completion-like windows

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Juri Linkov <juri@HIDDEN>; dated Sun, 5 May 2019 20:43:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 35592 <at> debbugs.gnu.org:


Received: (at 35592) by debbugs.gnu.org; 9 May 2019 19:51:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 09 15:51:57 2019
Received: from localhost ([127.0.0.1]:36502 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hOp5B-0005vr-7H
	for submit <at> debbugs.gnu.org; Thu, 09 May 2019 15:51:57 -0400
Received: from firebrick.maple.relay.mailchannels.net ([23.83.214.59]:32234)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1hOp59-0005vi-2z
 for 35592 <at> debbugs.gnu.org; Thu, 09 May 2019 15:51:55 -0400
X-Sender-Id: dreamhost|x-authsender|jurta@HIDDEN
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id C85D95C627B;
 Thu,  9 May 2019 19:51:53 +0000 (UTC)
Received: from pdx1-sub0-mail-a59.g.dreamhost.com (unknown [100.96.20.60])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id 8836F5C625D;
 Thu,  9 May 2019 19:51:53 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|jurta@HIDDEN
Received: from pdx1-sub0-mail-a59.g.dreamhost.com (pop.dreamhost.com
 [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384)
 by 0.0.0.0:2500 (trex/5.17.2); Thu, 09 May 2019 19:51:53 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|jurta@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Trade-Attack: 447af3bb071a6a73_1557431513637_2104440018
X-MC-Loop-Signature: 1557431513637:2193812581
X-MC-Ingress-Time: 1557431513636
Received: from pdx1-sub0-mail-a59.g.dreamhost.com (localhost [127.0.0.1])
 by pdx1-sub0-mail-a59.g.dreamhost.com (Postfix) with ESMTP id 46CBA80A8B;
 Thu,  9 May 2019 12:51:53 -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=LqgNnYHb7jzD/UAt3x+iYwYIPQc=; b=
 yHhhlL/tTRTD/z2kZed+DH5DJojzO+NTs+Ex7Rx33FjhFCHG/W7IHzdKSZrWMFXp
 crjoyZGW8/i9z+4Ecbsi/UEuolGNtcTtbDbtA/qnIYd8BxRw43XNTXBOl0RIkTK3
 Kb4uVCjJZwAAVlxD8WoxJCX2wt0c/frWnC2PsI104p8=
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@HIDDEN)
 by pdx1-sub0-mail-a59.g.dreamhost.com (Postfix) with ESMTPSA id 0C76E80A55;
 Thu,  9 May 2019 12:51:50 -0700 (PDT)
X-DH-BACKEND: pdx1-sub0-mail-a59
From: Juri Linkov <juri@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
Subject: Re: bug#35592: Use display-buffer-in-direction for completion-like
 windows
Organization: LINKOV.NET
References: <87woj4r5xx.fsf@HIDDEN>
 <6d8899a4-18be-56cb-d820-7906d7ed0ee9@HIDDEN>
 <8736lq54wf.fsf@HIDDEN>
 <52083e2f-6320-a39c-feda-352d414f4690@HIDDEN>
 <87d0kswz0t.fsf@HIDDEN>
 <44dbff2a-8683-455e-84d7-e9202ef58056@HIDDEN>
Date: Thu, 09 May 2019 22:50:41 +0300
In-Reply-To: <44dbff2a-8683-455e-84d7-e9202ef58056@HIDDEN> (martin rudalics's
 message of "Thu, 9 May 2019 10:12:12 +0200")
Message-ID: <878svfjtke.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-VR-OUT-STATUS: OK
X-VR-OUT-SCORE: -100
X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddrkeeigdekvdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffuohhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledrleeirddvfedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledrleeirddvfedtpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtoheprhhuuggrlhhitghssehgmhigrdgrthenucevlhhushhtvghrufhiiigvpedt
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 35592
Cc: 35592 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>>> But notice that these semantically clash with what you
>>> earlier wanted for 'split-window':
>>>
>>> 		    ((eq side 'above) 'top)
>>> 		    ((eq side 'below) 'bottom)
>>
>> I remember that recently you added these aliases:
>>
>>    up -> above
>>    down -> below
>>
>> that fits well into this scheme.
>>
>> But I don't know about
>>
>>    above -> top
>>    below -> bottom
>>
>> These are some earlier additions.  Is there a problem with these aliases?
>
> I misremembered things.  They affect side windows only.  But how about
> using 'topmost' and 'bottommost' instead of 'top' and 'bottom'?  These
> would fit more nicely into the 'leftmost' and 'rightmost' scheme.

'bottommost' is too ugly word ;)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#35592; Package emacs. Full text available.

Message received at 35592 <at> debbugs.gnu.org:


Received: (at 35592) by debbugs.gnu.org; 9 May 2019 08:12:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 09 04:12:21 2019
Received: from localhost ([127.0.0.1]:34611 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hOeA9-0001AA-61
	for submit <at> debbugs.gnu.org; Thu, 09 May 2019 04:12:21 -0400
Received: from mout.gmx.net ([212.227.15.19]:50669)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rudalics@HIDDEN>) id 1hOeA7-00019y-NO
 for 35592 <at> debbugs.gnu.org; Thu, 09 May 2019 04:12:20 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1557389530;
 bh=CYqQ8mYB8VABMcrzzBPOliQwZyXSZUaX0hp0Vgs8H3E=;
 h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To;
 b=MynxdCzy/3jMRmsG1w3i/99aaF4Ftu59mA112s7P9iiE2DVv22q0b0wpPGrByWzVX
 iaWgMkED1sLNV/AqYEu2ygDMosEIDjW+Rg4ccl/Qpn9p/9v0PpbGwo2q6bfmUP5gM3
 Xq6DroJItztSl/MMLXg8ghj5XW5/O1rYRqTrfuYY=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.1.101] ([212.95.5.238]) by mail.gmx.com (mrgmx005
 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mk0Ne-1h0Hhq0OgS-00kM5g; Thu, 09
 May 2019 10:12:10 +0200
Subject: Re: bug#35592: Use display-buffer-in-direction for completion-like
 windows
To: Juri Linkov <juri@HIDDEN>
References: <87woj4r5xx.fsf@HIDDEN>
 <6d8899a4-18be-56cb-d820-7906d7ed0ee9@HIDDEN>
 <8736lq54wf.fsf@HIDDEN>
 <52083e2f-6320-a39c-feda-352d414f4690@HIDDEN>
 <87d0kswz0t.fsf@HIDDEN>
From: martin rudalics <rudalics@HIDDEN>
Message-ID: <44dbff2a-8683-455e-84d7-e9202ef58056@HIDDEN>
Date: Thu, 9 May 2019 10:12:12 +0200
MIME-Version: 1.0
In-Reply-To: <87d0kswz0t.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: de-DE
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:MM0GJ2BgVBTZPysq34P0O3lr4BXGYeBujUvTF7ZfqbHslv7XcOv
 1JqL2a6LmCyGKVSxCZnsDRxsfVeM1F5js4x6XMjtk9HGr2GsmxLUGwXNyOqJLaFkBtJCyK+
 gFS8b7G5+n1It/eUxJWY1kvuDbJvMSyZ/5tfmkrMx8ZRg2JcuYXAEE4G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sElpNa
 9OhoXSF/GBQ==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 35592
Cc: 35592 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

 >> But notice that these semantically clash with what you
 >> earlier wanted for 'split-window':
 >>
 >> 		    ((eq side 'above) 'top)
 >> 		    ((eq side 'below) 'bottom)
 >
 > I remember that recently you added these aliases:
 >
 >    up -> above
 >    down -> below
 >
 > that fits well into this scheme.
 >
 > But I don't know about
 >
 >    above -> top
 >    below -> bottom
 >
 > These are some earlier additions.  Is there a problem with these aliases?

I misremembered things.  They affect side windows only.  But how about
using 'topmost' and 'bottommost' instead of 'top' and 'bottom'?  These
would fit more nicely into the 'leftmost' and 'rightmost' scheme.

martin




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#35592; Package emacs. Full text available.

Message received at 35592 <at> debbugs.gnu.org:


Received: (at 35592) by debbugs.gnu.org; 8 May 2019 19:54:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 08 15:54:56 2019
Received: from localhost ([127.0.0.1]:34106 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hOSeV-0004la-2p
	for submit <at> debbugs.gnu.org; Wed, 08 May 2019 15:54:56 -0400
Received: from bisque.maple.relay.mailchannels.net ([23.83.214.18]:57925)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1hOSeM-0004lL-DE
 for 35592 <at> debbugs.gnu.org; Wed, 08 May 2019 15:54:52 -0400
X-Sender-Id: dreamhost|x-authsender|jurta@HIDDEN
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id 252711419C8;
 Wed,  8 May 2019 19:54:44 +0000 (UTC)
Received: from pdx1-sub0-mail-a31.g.dreamhost.com
 (100-96-79-6.trex.outbound.svc.cluster.local [100.96.79.6])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id 10BED1410FA;
 Wed,  8 May 2019 19:54:41 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|jurta@HIDDEN
Received: from pdx1-sub0-mail-a31.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); Wed, 08 May 2019 19:54:44 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|jurta@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Oafish-Well-Made: 50639b655113b114_1557345283976_1779439808
X-MC-Loop-Signature: 1557345283976:4259418641
X-MC-Ingress-Time: 1557345283975
Received: from pdx1-sub0-mail-a31.g.dreamhost.com (localhost [127.0.0.1])
 by pdx1-sub0-mail-a31.g.dreamhost.com (Postfix) with ESMTP id BBC5D8013F;
 Wed,  8 May 2019 12:54:35 -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:content-transfer-encoding; s=linkov.net; bh=cl2LmL
 4Ml7Vf1Uj6UapgY63RB1I=; b=zSyYDGPsazxByNwS0728+JlOA8HepXz/PxV5CY
 x0L/wwPu6shv2rwJnP9ejMbnkyVm9PS9jBBaRJ7bgNrA5SsZGvCUBejujZ5gUHMm
 06+cWtmMyJyX6TaD2P0J9MP5oKfSpNnbq9wUJKLSQ09za4RrWnJSn6fAqO+ARwJv
 NsQNU=
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@HIDDEN)
 by pdx1-sub0-mail-a31.g.dreamhost.com (Postfix) with ESMTPSA id AD19380142;
 Wed,  8 May 2019 12:54:33 -0700 (PDT)
X-DH-BACKEND: pdx1-sub0-mail-a31
From: Juri Linkov <juri@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
Subject: Re: bug#35592: Use display-buffer-in-direction for completion-like
 windows
Organization: LINKOV.NET
References: <87woj4r5xx.fsf@HIDDEN>
 <6d8899a4-18be-56cb-d820-7906d7ed0ee9@HIDDEN>
 <8736lq54wf.fsf@HIDDEN>
 <52083e2f-6320-a39c-feda-352d414f4690@HIDDEN>
Date: Wed, 08 May 2019 22:32:10 +0300
In-Reply-To: <52083e2f-6320-a39c-feda-352d414f4690@HIDDEN> (martin rudalics's
 message of "Wed, 8 May 2019 11:09:50 +0200")
Message-ID: <87d0kswz0t.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
X-VR-OUT-STATUS: OK
X-VR-OUT-SCORE: -100
X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddrkeefgddugeefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgfgsehtkeertddtreejnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledrleeirddvfedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledrleeirddvfedtpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtoheprhhuuggrlhhitghssehgmhigrdgrthenucevlhhushhtvghrufhiiigvpedt
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 35592
Cc: 35592 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>> Only a small plea: could you please add an alias =E2=80=98(direction .=
 bottom)=E2=80=99
>> as a shorthand for =E2=80=98(direction . below) (window . main)=E2=80=99
>>
>> Similarly:
>> top =3D (direction . above) (window . main)
>> bottom =3D (direction . below) (window . main)
>> leftmost =3D (direction . left) (window . main)
>> rightmost =3D (direction . right) (window . main)
>
> Patch attached.

Thanks!  I tested it, and it works nicely.

> But notice that these semantically clash with what you
> earlier wanted for 'split-window':
>
> 		    ((eq side 'above) 'top)
> 		    ((eq side 'below) 'bottom)

I remember that recently you added these aliases:

  up -> above
  down -> below

that fits well into this scheme.

But I don't know about

  above -> top
  below -> bottom

These are some earlier additions.  Is there a problem with these aliases?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#35592; Package emacs. Full text available.

Message received at 35592 <at> debbugs.gnu.org:


Received: (at 35592) by debbugs.gnu.org; 8 May 2019 09:10:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 08 05:10:01 2019
Received: from localhost ([127.0.0.1]:60323 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hOIaO-0008Al-QC
	for submit <at> debbugs.gnu.org; Wed, 08 May 2019 05:10:01 -0400
Received: from mout.gmx.net ([212.227.17.22]:42629)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rudalics@HIDDEN>) id 1hOIaM-0008AY-34
 for 35592 <at> debbugs.gnu.org; Wed, 08 May 2019 05:09:58 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1557306588;
 bh=akvcZJ8F2EhaICZl3Scy+F2OV5qXc+99QSQCT5BmDJQ=;
 h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To;
 b=G8BFqOzsGJFiOpcF150dS0DdQ5M7+Kaj2hQQ+gyfqxxpT+yg8dd9ys2JHMx8yw55Z
 dVvdHZ1aaDUDd/+u3q9UiiYHVUVZTh/MyIblOCqGnyNftkhQHEzvNWspOzyqqYWiKB
 P+Vt/J6fqnhPTIL3hNw32Nf9Ozwm91JcVqMdxr5c=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.1.101] ([46.125.249.34]) by mail.gmx.com (mrgmx105
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mjj87-1gziTf1R9P-00lHHF; Wed, 08
 May 2019 11:09:48 +0200
Subject: Re: bug#35592: Use display-buffer-in-direction for completion-like
 windows
To: Juri Linkov <juri@HIDDEN>
References: <87woj4r5xx.fsf@HIDDEN>
 <6d8899a4-18be-56cb-d820-7906d7ed0ee9@HIDDEN>
 <8736lq54wf.fsf@HIDDEN>
From: martin rudalics <rudalics@HIDDEN>
Message-ID: <52083e2f-6320-a39c-feda-352d414f4690@HIDDEN>
Date: Wed, 8 May 2019 11:09:50 +0200
MIME-Version: 1.0
In-Reply-To: <8736lq54wf.fsf@HIDDEN>
Content-Type: multipart/mixed; boundary="------------3212251FBF8F3E5C823A8105"
Content-Language: de-DE
X-Provags-ID: V03:K1:snISPDFsQSqbnv91OR2EOCinLk1Hm9qJYwMPgpsUfYzOAdW+H7D
 sMesVCQGOiC2q/Kqgwe33Qi4Rneq8ih/+hpOoGVvxRPNmWWTOX5ja7peFF+V7AFQMKdm0od
 nxSt9NwZxHRUEe6s2BU+K4z070N62mHnDVciCXkg/Wpsq4ct5aPTZWy/w3GN1dsZ/Zu4QWi
 kjFHLKWH6fK4moR7qaP2w==
X-Spam-Flag: NO
X-UI-Out-Filterresults: notjunk:1;V03:K0:zmMIsVfcHA0=:zGCs3ZhWbp7wS7/J9tVtJL
 4+bXuD5GHXCOn3OWD4mUaAJ8e16m0xktCwfSgKWg2CkRABT4xPI/zzSmIIY8IUfGpQqEJ1A4/
 Hst/j7DCBLkfPN3+JrZm1+9xDbbx8me3epxunald1AEJKlM6PZoXMi+FbGPukt8yqJRK2itwC
 e/RALtELKyj51zDEmosBxja8P7wPJp/wxUwWM4OHShBbaEMiXS7Mw0MTHjewq6IMWE46k5WFQ
 6tq0zhB9NlaBnbUpRbOOfqe2yn6Ff7aQHK0BGgpgN8/26yCPr9oLP0wL5lcdRryblUEaCqEPH
 wv84+eXerT+Qs78DFu3A1ftoxqJQaB9nEwXdU/8e97QRBpH4Q0NC8YZ/5MTo14FuCYrQCZ05q
 4SdIJdC+yEZE3yXunBn8gvrPsnJ9/+/4jkSLL4hRhIhIIGj2EmZGBRLy/19cso5+F/0/b6H4m
 L33GIPlRKC059dxMl2xHeVUZw/NJh/3dGnvCoTdg1/cuD2cMemfcuVYpm6rl5eqiFs/ebLAO+
 jjEMjPdAB6XdXSKAhN/MhaNXjLz7YTRDIo43Y+gbPd9WPhQ9b53Ay2giclty05EaYfTr1aoHC
 rXeIBbL4GjZ784s3BozIec4kJ9poNs9kA+vylSCYQcn1uLd3AEeiIijdw3NZoyi5xh+YCcvsB
 AK4nQyR6SrdjMsobFIfoqWhzkmhTfJKxzZF/4Buaz/SWOK65XXwQVU2goPbNCwRNk50BbhFgQ
 u0HscRdr5mvAg5CCBPmO6wcSIJg2UA3gQkTYh+bT9qnXdSpOlbziWL2DKat9krlRJFvY+nDAQ
 BWJ4CNT4H1Yugbgzkss9+eYr4C35jzZzZUKUOj88x6gwejnUHG5tZ9Yk9lSyzmzSld/TwcFzd
 oL06rtnOOpWvbVw+IvTSWliweJ7tPR0L2Jre/A4JIza/G4NeKIRF/vNSog7pT8
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 35592
Cc: 35592 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

This is a multi-part message in MIME format.
--------------3212251FBF8F3E5C823A8105
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable

 > Only a small plea: could you please add an alias =E2=80=98(direction .=
 bottom)=E2=80=99
 > as a shorthand for =E2=80=98(direction . below) (window . main)=E2=80=99=

 >
 > Similarly:
 > top =3D (direction . above) (window . main)
 > bottom =3D (direction . below) (window . main)
 > leftmost =3D (direction . left) (window . main)
 > rightmost =3D (direction . right) (window . main)

Patch attached.  But notice that these semantically clash with what you
earlier wanted for 'split-window':

		    ((eq side 'above) 'top)
		    ((eq side 'below) 'bottom)
	=09
martin

--------------3212251FBF8F3E5C823A8105
Content-Type: text/plain; charset=UTF-8;
 name="display-buffer-in-direction.diff"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="display-buffer-in-direction.diff"

ZGlmZiAtLWdpdCBhL2xpc3Avd2luZG93LmVsIGIvbGlzcC93aW5kb3cuZWwKaW5kZXggYjRm
NWFjNWNjNC4uM2JiYjgzNjEwOCAxMDA2NDQKLS0tIGEvbGlzcC93aW5kb3cuZWwKKysrIGIv
bGlzcC93aW5kb3cuZWwKQEAgLTc1MzQsNiArNzUzNCwxNTYgQEAgZGlzcGxheS1idWZmZXIt
aW4tY2hpbGQtZnJhbWUKICAgICAgICh1bmxlc3MgKGNkciAoYXNzcSAnaW5oaWJpdC1zd2l0
Y2gtZnJhbWUgYWxpc3QpKQogCSh3aW5kb3ctLW1heWJlLXJhaXNlLWZyYW1lIGZyYW1lKSkp
KSkKIAorKGRlZnVuIHdpbmRvd3Mtc2hhcmluZy1lZGdlICgmb3B0aW9uYWw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B3aW5kb3cgYmVsb3cgdGhlIHNlbGVjdGVkIG9uZSBhbmQgdGhhdCB3
aW5kb3cKQEAgLTc1ODksNiArNzczOSw4IEBAIGRpc3BsYXktYnVmZmVyLS1tYXliZS1hdC1i
b3R0b20KICAgICAgICAgKGRpc3BsYXktYnVmZmVyLS1tYXliZS1wb3AtdXAtZnJhbWUgYnVm
ZmVyIGFsaXN0KQogICAgICAgICAoZGlzcGxheS1idWZmZXItYXQtYm90dG9tIGJ1ZmZlciBh
bGlzdCkpKSkKIAorOzsgVGhpcyBzaG91bGQgYmUgcmV3cml0dGVuIGFzCis7OyAoZGlzcGxh
eS1idWZmZXItaW4tZGlyZWN0aW9uIGJ1ZmZlciAoY29ucyAnKGRpcmVjdGlvbiAuIGJvdHRv
bSkgYWxpc3QpKQogKGRlZnVuIGRpc3BsYXktYnVmZmVyLWF0LWJvdHRvbSAoYnVmZmVyIGFs
aXN0KQogICAiVHJ5IGRpc3BsYXlpbmcgQlVGRkVSIGluIGEgd2luZG93IGF0IHRoZSBib3R0
b20gb2YgdGhlIHNlbGVjdGVkIGZyYW1lLgogVGhpcyBlaXRoZXIgcmV1c2VzIHN1Y2ggYSB3
aW5kb3cgcHJvdmlkZWQgaXQgc2hvd3MgQlVGRkVSCgo=
--------------3212251FBF8F3E5C823A8105--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#35592; Package emacs. Full text available.

Message received at 35592 <at> debbugs.gnu.org:


Received: (at 35592) by debbugs.gnu.org; 7 May 2019 22:01:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 07 18:01:18 2019
Received: from localhost ([127.0.0.1]:59862 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hO89G-0005pv-08
	for submit <at> debbugs.gnu.org; Tue, 07 May 2019 18:01:18 -0400
Received: from cichlid.maple.relay.mailchannels.net ([23.83.214.36]:41287)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1hO89D-0005pj-LT
 for 35592 <at> debbugs.gnu.org; Tue, 07 May 2019 18:01:16 -0400
X-Sender-Id: dreamhost|x-authsender|jurta@HIDDEN
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id 6B8AF5E2CF3;
 Tue,  7 May 2019 22:01:14 +0000 (UTC)
Received: from pdx1-sub0-mail-a5.g.dreamhost.com
 (100-96-79-6.trex.outbound.svc.cluster.local [100.96.79.6])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id C45495E2C0D;
 Tue,  7 May 2019 22:01:13 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|jurta@HIDDEN
Received: from pdx1-sub0-mail-a5.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); Tue, 07 May 2019 22:01:14 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|jurta@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Scare-Exultant: 6af04be153cca41c_1557266474165_3833911257
X-MC-Loop-Signature: 1557266474165:486057293
X-MC-Ingress-Time: 1557266474165
Received: from pdx1-sub0-mail-a5.g.dreamhost.com (localhost [127.0.0.1])
 by pdx1-sub0-mail-a5.g.dreamhost.com (Postfix) with ESMTP id 67E527FA54;
 Tue,  7 May 2019 15:01:08 -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=+l8v89oSXGeGN//KUc/yaaK0VJs=; b=
 LBdoTviOhq4kHUb4Eewiea66CPp9Q8ONAfLiDslAuXu/A9IOEK3I+LBY1z2a/v6V
 lYGv4oCiBGYgzkwdUZXzq2IalUM1wUMPFkjjKxK9ywG4htsjEXE5x7ayymq34mkp
 28EOCjy0qI/k64VjZW8UDBToh+PLurMm60wHBQGDJ5Q=
Received: from mail.jurta.org (m91-129-99-37.cust.tele2.ee [91.129.99.37])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 (Authenticated sender: jurta@HIDDEN)
 by pdx1-sub0-mail-a5.g.dreamhost.com (Postfix) with ESMTPSA id 90F8A7F9F5;
 Tue,  7 May 2019 15:01:05 -0700 (PDT)
X-DH-BACKEND: pdx1-sub0-mail-a5
From: Juri Linkov <juri@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
Subject: Re: bug#35592: Use display-buffer-in-direction for completion-like
 windows
Organization: LINKOV.NET
References: <87woj4r5xx.fsf@HIDDEN>
 <6d8899a4-18be-56cb-d820-7906d7ed0ee9@HIDDEN>
Date: Wed, 08 May 2019 00:30:24 +0300
In-Reply-To: <6d8899a4-18be-56cb-d820-7906d7ed0ee9@HIDDEN> (martin rudalics's
 message of "Tue, 7 May 2019 10:14:31 +0200")
Message-ID: <8736lq54wf.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-VR-OUT-STATUS: OK
X-VR-OUT-SCORE: -100
X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddrkedugddtgecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffuohhfffgjkfgfgggtsehmtderredtreejnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledrleelrdefjeenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrdelledrfeejpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtoheprhhuuggrlhhitghssehgmhigrdgrthenucevlhhushhtvghrufhiiigvpedt
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 35592
Cc: 35592 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

> Would these work despite of the 'fit-window-to-buffer' problem you
> reported earlier?

Actually I see no problem anymore with using display-buffer-in-direction
in the following patch.

Only a small plea: could you please add an alias =E2=80=98(direction . bo=
ttom)=E2=80=99
as a shorthand for =E2=80=98(direction . below) (window . main)=E2=80=99

Similarly:
top =3D (direction . above) (window . main)
bottom =3D (direction . below) (window . main)
leftmost =3D (direction . left) (window . main)
rightmost =3D (direction . right) (window . main)


--=-=-=
Content-Type: text/x-diff
Content-Disposition: inline; filename=use-display-buffer-in-direction.patch

diff --git a/lisp/proced.el b/lisp/proced.el
index ce379a7c6a..5e026aa386 100644
--- a/lisp/proced.el
+++ b/lisp/proced.el
@@ -1744,9 +1744,11 @@ proced-with-processes-buffer
        (save-window-excursion
          ;; Analogous to `dired-pop-to-buffer'
          ;; Don't split window horizontally.  (Bug#1806)
-         (let (split-width-threshold)
-           (pop-to-buffer (current-buffer)))
-         (fit-window-to-buffer (get-buffer-window) nil 1)
+         (display-buffer (current-buffer)
+                         '((display-buffer-in-direction)
+                           (direction . bottom)
+                           (window . main)
+                           (window-height . fit-window-to-buffer)))
          ,@body))))
 
 (defun proced-send-signal (&optional signal process-alist)
diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el
index b9f98cdc4c..edf92ba94e 100644
--- a/lisp/wid-edit.el
+++ b/lisp/wid-edit.el
@@ -252,7 +252,11 @@ widget-choose
 	   (define-key map [?\M--] 'negative-argument)
 	   (save-window-excursion
 	     (let ((buf (get-buffer " widget-choose")))
-	       (fit-window-to-buffer (display-buffer buf))
+	       (display-buffer buf
+			       '((display-buffer-in-direction)
+				 (direction . bottom)
+				 (window . main)
+				 (window-height . fit-window-to-buffer)))
 	       (let ((cursor-in-echo-area t)
 		     (arg 1))
                  (while (not value)

--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#35592; Package emacs. Full text available.

Message received at 35592 <at> debbugs.gnu.org:


Received: (at 35592) by debbugs.gnu.org; 7 May 2019 08:14:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue May 07 04:14:41 2019
Received: from localhost ([127.0.0.1]:58159 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hNvFJ-0001Or-Io
	for submit <at> debbugs.gnu.org; Tue, 07 May 2019 04:14:41 -0400
Received: from mout.gmx.net ([212.227.17.21]:38767)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rudalics@HIDDEN>) id 1hNvFI-0001Oc-85
 for 35592 <at> debbugs.gnu.org; Tue, 07 May 2019 04:14:40 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net;
 s=badeba3b8450; t=1557216870;
 bh=6oUXPnyoa2SWZblAyDLs0ZrXYS1kMCrXwF6nH6ZDOz8=;
 h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To;
 b=bQ/ooQsM5eOe8vWs22sTSCFl+sKbYVHotMZSU9ruULi/MM9uYSt9Uh2zj6KOxtNC6
 wZAUNZvNd8oR17H0JRkOSY6MCJiJB+Qxsb55LvAGTJCepYItpx/W2kj1l6RV9UjMs1
 G2yE0PUpPBdhF8dRE7qJ7O6xgGkYQ6KngUaVr01k=
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Received: from [192.168.1.101] ([212.95.5.94]) by mail.gmx.com (mrgmx103
 [212.227.17.168]) with ESMTPSA (Nemesis) id 0M0QLp-1gaLSl2zSX-00uVsb; Tue, 07
 May 2019 10:14:30 +0200
Subject: Re: bug#35592: Use display-buffer-in-direction for completion-like
 windows
To: Juri Linkov <juri@HIDDEN>, 35592 <at> debbugs.gnu.org
References: <87woj4r5xx.fsf@HIDDEN>
From: martin rudalics <rudalics@HIDDEN>
Message-ID: <6d8899a4-18be-56cb-d820-7906d7ed0ee9@HIDDEN>
Date: Tue, 7 May 2019 10:14:31 +0200
MIME-Version: 1.0
In-Reply-To: <87woj4r5xx.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: de-DE
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:ptjBPWxp4RJBCj/UEGIj2WperxojGCCbBs1e5L7VaOvILCLuACW
 1yvv9rs2dKz6dftnPqvE8n7nETuy+bSIBC0tWr/d2BNU7GVe93bBcZqq9TSON6bRekJQQWF
 CiDaMh1Gj0ExG6KojXvrm9hZBPPGzfb7jXvADJ82EKeUQkizJw5t/OU4lqjoH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qX3qi
 wlVm85n0XIg==
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 35592
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

 > This could be fixed by using something like:
 >
 > (display-buffer "*Marked Processes*"
 >    '((display-buffer-in-direction)
 >      (direction . bottom)
 >      (window . main)
 >      (window-height . fit-window-to-buffer)))
 >
 > The same would be useful also for Widget using e.g.
 >
 > diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el
 > index b9f98cdc4c..b077299c0e 100644
 > --- a/lisp/wid-edit.el
 > +++ b/lisp/wid-edit.el
 > @@ -252,7 +252,11 @@ widget-choose
 >   	   (define-key map [?\M--] 'negative-argument)
 >   	   (save-window-excursion
 >   	     (let ((buf (get-buffer " widget-choose")))
 > -	       (fit-window-to-buffer (display-buffer buf))
 > +	       (display-buffer
 > +		buf
 > +		'(display-buffer-in-direction
 > +		  (direction main bottom)
 > +		  (window-height . fit-window-to-buffer)))
 >   	       (let ((cursor-in-echo-area t)
 >   		     (arg 1))
 >                    (while (not value)

Would these work despite of the 'fit-window-to-buffer' problem you
reported earlier?

martin




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#35592; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 5 May 2019 20:42:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 05 16:42:40 2019
Received: from localhost ([127.0.0.1]:55015 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hNNy4-0004yH-3z
	for submit <at> debbugs.gnu.org; Sun, 05 May 2019 16:42:40 -0400
Received: from eggs.gnu.org ([209.51.188.92]:59898)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1hNNy0-0004y0-8V
 for submit <at> debbugs.gnu.org; Sun, 05 May 2019 16:42:38 -0400
Received: from lists.gnu.org ([209.51.188.17]:57662)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <juri@HIDDEN>) id 1hNNxt-0002Dw-B0
 for submit <at> debbugs.gnu.org; Sun, 05 May 2019 16:42:30 -0400
Received: from eggs.gnu.org ([209.51.188.92]:46035)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <juri@HIDDEN>) id 1hNNxs-0005lB-7x
 for bug-gnu-emacs@HIDDEN; Sun, 05 May 2019 16:42:29 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <juri@HIDDEN>) id 1hNNxk-0001kr-OZ
 for bug-gnu-emacs@HIDDEN; Sun, 05 May 2019 16:42:26 -0400
Received: from quail.birch.relay.mailchannels.net ([23.83.209.151]:31584)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <juri@HIDDEN>) id 1hNNxj-0001Qx-2J
 for bug-gnu-emacs@HIDDEN; Sun, 05 May 2019 16:42:19 -0400
X-Sender-Id: dreamhost|x-authsender|jurta@HIDDEN
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id EA51F124B5A
 for <bug-gnu-emacs@HIDDEN>; Sun,  5 May 2019 20:42:14 +0000 (UTC)
Received: from pdx1-sub0-mail-a53.g.dreamhost.com (unknown [100.96.20.60])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id A7539124285
 for <bug-gnu-emacs@HIDDEN>; Sun,  5 May 2019 20:42:14 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|jurta@HIDDEN
Received: from pdx1-sub0-mail-a53.g.dreamhost.com (pop.dreamhost.com
 [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384)
 by 0.0.0.0:2500 (trex/5.17.2); Sun, 05 May 2019 20:42:14 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|jurta@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Keen-Rock: 600b0a08661f84d6_1557088934793_2795891718
X-MC-Loop-Signature: 1557088934792:3008707226
X-MC-Ingress-Time: 1557088934792
Received: from pdx1-sub0-mail-a53.g.dreamhost.com (localhost [127.0.0.1])
 by pdx1-sub0-mail-a53.g.dreamhost.com (Postfix) with ESMTP id 5C6D280986
 for <bug-gnu-emacs@HIDDEN>; Sun,  5 May 2019 13:42:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to
 :subject:date:message-id:mime-version:content-type
 :content-transfer-encoding; s=linkov.net; bh=WMh6uz/g8AAfy2nz4W1
 DT8FDlCY=; b=coO+iMwVTWSpLyGJ7h+Tqmwstei2vyw8kjr1XEGDi+inn99cKbr
 lVwFHlrHaKCR8vMwXeIlRcXPBYsKe1RV4AEiJZWlhwnpsxDhnajIz1j2bux0o53K
 mjECLPmZj9O9tipSYo0wiAiZtDYt+FSMqKCkh8vUu3BLNanHOBdPJFXA=
Received: from mail.jurta.org (m91-129-107-198.cust.tele2.ee [91.129.107.198])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256
 bits)) (No client certificate requested)
 (Authenticated sender: jurta@HIDDEN)
 by pdx1-sub0-mail-a53.g.dreamhost.com (Postfix) with ESMTPSA id 393B280984
 for <bug-gnu-emacs@HIDDEN>; Sun,  5 May 2019 13:42:12 -0700 (PDT)
X-DH-BACKEND: pdx1-sub0-mail-a53
From: Juri Linkov <juri@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: Use display-buffer-in-direction for completion-like windows
Organization: LINKOV.NET
Date: Sun, 05 May 2019 23:40:10 +0300
Message-ID: <87woj4r5xx.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
X-VR-OUT-STATUS: OK
X-VR-OUT-SCORE: 0
X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddrjeehgdduiedtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffuohffkfgfgggtgfesthekredttderjeenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrddutdejrdduleeknecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledruddtjedrudelkedprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopegsuhhgqdhgnhhuqdgvmhgrtghssehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptd
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 23.83.209.151
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

Proced has dired-like UI.  Dired smoothly displays a completion-like
confirmation window with filenames.  =E2=80=98proced-with-processes-buffe=
r=E2=80=99
even has a comment proudly declaring its compatibility with dired:

         ;; Analogous to `dired-pop-to-buffer'
         ;; Don't split window horizontally.  (Bug#1806)

But in fact currently Proced can't handle more than 1 window on the same =
frame.

For example, compare these cases:

When there is only 1 window:

0. emacs -Q
1. M-x proced
2. C-x 1
3. d d x

then a list of *Marked Processes* is displayed in the bottom window
nicely like in Dired.

But when windows are split vertically:

0. emacs -Q
1. M-x proced
2. d d x

then a list of *Marked Processes* is displayed in the top window.

When windows are split horizontally:

0. emacs -Q
1. C-x 3
2. M-x proced
3. d d x

then the buffer *Marked Processes* is displayed in the left window.

Splitting to more windows cause it to display this buffer in random place=
s.

This could be fixed by using something like:

(display-buffer "*Marked Processes*"
  '((display-buffer-in-direction)
    (direction . bottom)
    (window . main)
    (window-height . fit-window-to-buffer)))

The same would be useful also for Widget using e.g.

diff --git a/lisp/wid-edit.el b/lisp/wid-edit.el
index b9f98cdc4c..b077299c0e 100644
--- a/lisp/wid-edit.el
+++ b/lisp/wid-edit.el
@@ -252,7 +252,11 @@ widget-choose
 	   (define-key map [?\M--] 'negative-argument)
 	   (save-window-excursion
 	     (let ((buf (get-buffer " widget-choose")))
-	       (fit-window-to-buffer (display-buffer buf))
+	       (display-buffer
+		buf
+		'(display-buffer-in-direction
+		  (direction main bottom)
+		  (window-height . fit-window-to-buffer)))
 	       (let ((cursor-in-echo-area t)
 		     (arg 1))
                  (while (not value)






Acknowledgement sent to Juri Linkov <juri@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#35592; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 9 May 2019 20:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.