From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.help Subject: Re: How can I force updating mini window's header line when mode line is updated? Date: Thu, 26 Apr 2018 09:04:54 +0200 Message-ID: <5AE17A16.7060906@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1524726233 3283 195.159.176.226 (26 Apr 2018 07:03:53 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 26 Apr 2018 07:03:53 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: amosbird@gmail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 26 09:03:49 2018 Return-path: Envelope-to: geh-help-gnu-emacs@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 1fBawX-0000kC-3N for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Apr 2018 09:03:49 +0200 Original-Received: from localhost ([::1]:40608 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fBayd-0005VJ-NU for geh-help-gnu-emacs@m.gmane.org; Thu, 26 Apr 2018 03:05:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fBaxw-0005Qv-89 for help-gnu-emacs@gnu.org; Thu, 26 Apr 2018 03:05:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fBaxm-000728-LT for help-gnu-emacs@gnu.org; Thu, 26 Apr 2018 03:05:16 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:48591) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fBaxm-00070m-BQ for help-gnu-emacs@gnu.org; Thu, 26 Apr 2018 03:05:06 -0400 Original-Received: from [192.168.1.100] ([46.125.249.94]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MbPLI-1ev2311Fjg-00IoBW; Thu, 26 Apr 2018 09:05:03 +0200 Original-References: 87fu3jqk8m.fsf@gmail.com X-Provags-ID: V03:K1:Hr67xmyfDFPwWFXYb8EPCGTC0hlfzAgSPy0z9wtDiffaaezlbc1 LHXMBV2OQjQv1/QlzniQIw2Q4maaDR5x9PJFejkGmixtXzE9Hyk04UZ1J+u50B3HZehcejR /1q/MInsRzQkJaZ+Y2OSPoaaZD3UIV4monxNzhSwLwbHiRgnEJpNxnaKbSVQgm+R6vCa6X6 acDBd1el+67ZVWFz7UlZw== X-UI-Out-Filterresults: notjunk:1;V01:K0:e5mvs+pJPrw=:N3lEPAPRLjEnVKeaUPS59v w4LbXspkAvdbdh3OzG/zpWLbBPRXVqyyPXznsHh6eaOtOUuNuBSZE/yBCRTKDS00wuueBRrsl rZSRMUnQNgFUIRCtgFRN1FMs7b+RF2GCTnsvfiaIuNC6eXYlGHk5vaR5uxc0X3OMsy86RjLZv J+c7GY0Sr3RcNutXUQzJzs0NyEtPMVO0ZlOaOnHMAL1YH0e3+jOnORlZjMrZOg1NUStN7Bp5h KZ4FkezWAzJ63/2w+EhSqWz6Wfy7EYNzjtpzYXjdN/ojRMwCnDqSjwFBkHsuxVmvHMrupHQWE p+zLpsmGAcfRtHRG9HrzWUfZTGfx6daO+UHTVwlYiqkrsvfwYJTvHjnU/R7ehGmGB33O7wDZh b6t1X+XTB2tJXV5zC/jMp6D3gTXWa0BIh3Ygw5XX3KAQbPFawrzWxiMeLrpJvj7JZCYEHWlxi JMudtg2npHdQLWKuALMJmWHsESWCtJUVzZPPZDnb6V7rb8UjHUXDcJ0LSMtvO4zTCHxOIE7Jc 1gekaadz9dXCfBYhcuh3sa/FfCZfjKE/jvSkWlOchYRWjYWYlCpKCgN8LXwNpK3nA3MKoMsTG qATpeyB9yDmUFNz+Vmi3nxbfwWVPZ19Mai1oGMvo252o/s+22wmjJDfH36Vl+OnYajOTAfx9D ZKmCeMfNwuT1kW9uOl02p8Why/dkuoCKiRtk+hDm9c+zbi7eawQb/qMp6anT6PgLnTrA7I16U P4yXBkboYbw9KDd9terRKIAfDAyJUq5qsacOhXyZqv7nAAfF0/4/ppFSZfNbsNwXddptj9Pp X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.15.18 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:116602 Archived-At: > Emacs code has deep assumption of mini window having only one line. This is not entirely correct. As long as other windows on the same frame fit, a minibuffer window can get quite large (see 'max-mini-window-height'). But in some parts of the window and redisplay code we assume that minibuffer windows behave like pseudo windows (those used for displaying the tool bar or the menu bar on some platforms) or internal windows - they can't have dividers, a mode or a header line because these are simply not counted when displaying the window or calculating its height. That's why you observe that > After I turn on the header line, things become messy. For example, 'window_wants_header_line' in window.c cannot deal with that. > I'll try > collecting all the hard-coded logic and see if this route indeed > works. Good idea. Note that I'm currently changing a number of things related to minibuffer windows which, among others, should allow them to appear anywhere on a frame or even not being displayed at all. So I do not think that displaying the mode line of a frame within the minibuffer window is a good idea in the first place. Even presently, people who use standalone minibuffer frames might not be very enthralled by the idea that they have to look on their minibuffer frame for consulting the mode line contents. I think that if we want frame-local modelines which, IIUC should display the mode line contents of the frame's selected window, it might be a better idea to add a new kind of pseudo window on top or bottom of a frame for that. martin