From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Roland Winkler" Newsgroups: gmane.emacs.devel Subject: customize location and shape of a new window in a frame Date: Tue, 11 Sep 2018 15:31:23 -0500 Message-ID: <9755.9843.306611.23448@gargle.gargle.HOWL> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1536698275 3434 195.159.176.226 (11 Sep 2018 20:37:55 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 11 Sep 2018 20:37:55 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 11 22:37:51 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzpPy-0000nA-7p for ged-emacs-devel@m.gmane.org; Tue, 11 Sep 2018 22:37:50 +0200 Original-Received: from localhost ([::1]:59389 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzpS4-00043M-P9 for ged-emacs-devel@m.gmane.org; Tue, 11 Sep 2018 16:40:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59788) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzpJv-0002jB-9V for emacs-devel@gnu.org; Tue, 11 Sep 2018 16:31:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzpJo-0004TJ-RV for emacs-devel@gnu.org; Tue, 11 Sep 2018 16:31:34 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49855) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzpJo-0004T0-Jh for emacs-devel@gnu.org; Tue, 11 Sep 2018 16:31:28 -0400 Original-Received: from lukas.physics.niu.edu ([131.156.224.124]:51212 helo=lukas) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1fzpJj-0001Dw-U7 for emacs-devel@gnu.org; Tue, 11 Sep 2018 16:31:25 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:229680 Archived-At: Someone posted this on the BBDB mailing list http://lists.nongnu.org/archive/html/bbdb-user/2018-09/msg00031.html But the question is quite generic, and I guess it must be an issue for other packages, too: BBDB wants to pop-up a window in a frame that already has multiple windows. Different users like to do this in different ways and split an existing window vertically or horizontally, giving a customizable percentage of screen estate to the new window. Is there a general function that BBDB could use here, a function that users can customize for their needs? Currently, BBDB uses the function bbdb-pop-up-window for this, which already provides some flexibility. I could try to tweak this function as described in the above request. But it seems to me that I might reinvent the wheel. There should be general code for this that BBDB could use. Am I missing something? Roland