From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#14062: 24.3.50; emacs_backtrace.txt Date: Sat, 04 May 2013 20:59:46 +0200 Message-ID: <51855AA2.1060705@gmx.at> References: <75799AB3F22B457D85197F174077F208@us.oracle.com> <83wqstxrbo.fsf@gnu.org> <83fvzhxcdn.fsf@gnu.org> <8338vfyiy4.fsf@gnu.org> <838v4k6yc4.fsf@gnu.org> <516BF54E.9020802@gmx.at> <83y5cj6fo5.fsf@gnu.org> <516C2276.3020006@gmx.at> <83obdf69yz.fsf@gnu.org> <516C5358.8040709@gmx.at> <83d2tv57p5.fsf@gnu.org> <83fvyixwxq.fsf@gnu.org> <834nejm44b.fsf@gnu.org> <5184FEAB.8040301@gmx.at> <83vc6ylybi.fsf@gnu.org> <518502DA.5090507@gmx.at> <83txmilw73.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1367694029 2573 80.91.229.3 (4 May 2013 19:00:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 May 2013 19:00:29 +0000 (UTC) Cc: 14062@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 04 21:00:24 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UYhh0-00030t-U9 for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 May 2013 21:00:23 +0200 Original-Received: from localhost ([::1]:59319 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYhh0-0005VB-Jh for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 May 2013 15:00:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42442) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYhgw-0005Sy-A5 for bug-gnu-emacs@gnu.org; Sat, 04 May 2013 15:00:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UYhgu-0007Yy-Ij for bug-gnu-emacs@gnu.org; Sat, 04 May 2013 15:00:17 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54071) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UYhgu-0007Yu-Fo for bug-gnu-emacs@gnu.org; Sat, 04 May 2013 15:00:16 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UYhhe-0007Fr-Hr for bug-gnu-emacs@gnu.org; Sat, 04 May 2013 15:01:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 May 2013 19:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14062 X-GNU-PR-Package: emacs,w32 X-GNU-PR-Keywords: Original-Received: via spool by 14062-submit@debbugs.gnu.org id=B14062.136769404427855 (code B ref 14062); Sat, 04 May 2013 19:01:02 +0000 Original-Received: (at 14062) by debbugs.gnu.org; 4 May 2013 19:00:44 +0000 Original-Received: from localhost ([127.0.0.1]:58180 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UYhhM-0007FE-Am for submit@debbugs.gnu.org; Sat, 04 May 2013 15:00:44 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:50445) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UYhhJ-0007F6-PB for 14062@debbugs.gnu.org; Sat, 04 May 2013 15:00:43 -0400 Original-Received: from mailout-de.gmx.net ([10.1.76.32]) by mrigmx.server.lan (mrigmx002) with ESMTP (Nemesis) id 0MUiSQ-1V4XuH0zts-00YCIR for <14062@debbugs.gnu.org>; Sat, 04 May 2013 20:59:53 +0200 Original-Received: (qmail invoked by alias); 04 May 2013 18:59:53 -0000 Original-Received: from 62-47-48-157.adsl.highway.telekom.at (EHLO [62.47.48.157]) [62.47.48.157] by mail.gmx.net (mp032) with SMTP; 04 May 2013 20:59:53 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX19mJdRxXF1m/XMsV1FKITfrzegdyIPvLQwL33ZlJQ I+tfzsa4nXrY8+ In-Reply-To: <83txmilw73.fsf@gnu.org> X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:73958 Archived-At: > Sorry, I was actually talking about something else entirely: about > this: > > + !NILP (BVAR (XBUFFER ((W)->contents), mode_line_format)) > > As for FRAME_WANTS_MODELINE_P, it's zero for minibuffer frames and > tooltip frames. Are you saying that these frames should be able to > have header lines? No. As far as minibuffer frames are concerned, these should be excluded by the !MINI_WINDOW_P ((W)) conjunct since make_minibuffer_frame sets XWINDOW (mini_window)->mini = 1. I forgot about tooltip windows though. Note that frame.h has this /* 0 means, if this frame has just one window, show no modeline for that window. */ unsigned wants_modeline : 1; and we set this to 0 in make_minibuffer_frame but we don't set this for tooltip frames - that's why I didn't find it in the first place. Moreover, the comment insinuates that when the frame has two windows we might want to show a modeline so WINDOW_WANTS_MODELINE_P would have to check that (I doubt that such frames exist in practice though). Finally, frame.h also has this comment /* Not really implemented. */ #define FRAME_WANTS_MODELINE_P(f) (f)->wants_modeline which only adds to my confusion. martin