From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#44932: 28.0.50; MINIBUF 'nomini' for window-in-direction Date: Mon, 30 Nov 2020 22:49:12 +0200 Organization: LINKOV.NET Message-ID: <87eekaa8au.fsf@mail.linkov.net> References: <87r1odtdtx.fsf@mail.linkov.net> <342c23a3-e379-452c-6c5e-29dab7592c28@gmx.at> <87h7p8zeim.fsf@mail.linkov.net> <5dbd99a5-a51e-318f-0c9d-81dae921af96@gmx.at> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3599"; 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: 44932@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 30 22:02:08 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 1kjqJE-0000pY-3P for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Nov 2020 22:02:08 +0100 Original-Received: from localhost ([::1]:55526 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjqJD-0000wN-48 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Nov 2020 16:02:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46716) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjqGD-0007Do-Vx for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2020 15:59:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45294) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjqGD-0005KQ-O7 for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2020 15:59:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjqGD-0002lx-Nt for bug-gnu-emacs@gnu.org; Mon, 30 Nov 2020 15:59:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Nov 2020 20:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44932 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 44932-submit@debbugs.gnu.org id=B44932.160676990210614 (code B ref 44932); Mon, 30 Nov 2020 20:59:01 +0000 Original-Received: (at 44932) by debbugs.gnu.org; 30 Nov 2020 20:58:22 +0000 Original-Received: from localhost ([127.0.0.1]:56840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjqFa-0002l6-2m for submit@debbugs.gnu.org; Mon, 30 Nov 2020 15:58:22 -0500 Original-Received: from relay4-d.mail.gandi.net ([217.70.183.196]:48821) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjqFY-0002ku-Px for 44932@debbugs.gnu.org; Mon, 30 Nov 2020 15:58:21 -0500 X-Originating-IP: 91.129.99.98 Original-Received: from mail.gandi.net (m91-129-99-98.cust.tele2.ee [91.129.99.98]) (Authenticated sender: juri@linkov.net) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 252ABE000B; Mon, 30 Nov 2020 20:58:13 +0000 (UTC) In-Reply-To: <5dbd99a5-a51e-318f-0c9d-81dae921af96@gmx.at> (martin rudalics's message of "Mon, 30 Nov 2020 10:05:41 +0100") 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:194684 Archived-At: >>> One day we should make up our mind whether we want this arg to be called >>> MINI, MINIBUF or MINIBUFFER. I have no personal preference but the >>> current state (in particular on the C-level) confuses the hell out of >>> me. >> >> I think MINIBUF is the shortest that is still unambiguous. > > It gives the impression that it stands for a buffer where it means a > window that may also display the echo area. 'resize-mini-windows' and > 'max-mini-window-height' tried to establish the "mini-windows (the > minibuffer and the echo area)" nomenclature and we now take a step back > in the other direction? I don't know why MINI-WINDOW would be better than MINIBUF. Is this distinction significant here? Anyway, what I did is made all window functions consistent in regard to their MINIBUF arg. So now they are all have the same arg name MINIBUF: (defun walk-window-tree (fun &optional frame any MINIBUF) (defun window-with-parameter (parameter &optional value frame any MINIBUF) (defun walk-windows (fun &optional MINIBUF all-frames) (defun window-in-direction (direction &optional window ignore sign wrap MINIBUF) (defun get-window-with-predicate (predicate &optional MINIBUF all-frames default) (defun get-buffer-window-list (&optional buffer-or-name MINIBUF all-frames) (defun count-windows (&optional MINIBUF all-frames) >> Now at least renaming in window-in-direction is pushed to master. > > And left MINI in the .texi file. I spent some time trying to make > manual and doc-strings congruent in this regard ... Sorry, will update the manual soon.