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#21132: 25.0.50; Emacs on Windows crashes evaluating x-frame-geometry in batch mode Date: Mon, 27 Jul 2015 18:02:38 +0200 Message-ID: <55B6561E.40108@gmx.at> References: <87r3nwb4t4.fsf@gmail.com> <838ua419gg.fsf@gnu.org> <55B3D2C3.8060007@gmx.at> <83y4i4ysp2.fsf@gnu.org> <55B4C42C.8020205@gmx.at> <83si8bynpl.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1438013004 28575 80.91.229.3 (27 Jul 2015 16:03:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Jul 2015 16:03:24 +0000 (UTC) Cc: 21132@debbugs.gnu.org, flitterio@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 27 18:03:14 2015 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 1ZJkrw-0001Bq-Qp for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Jul 2015 18:03:12 +0200 Original-Received: from localhost ([::1]:54422 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJkrw-0005vE-C8 for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Jul 2015 12:03:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48171) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJkrs-0005sW-9c for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2015 12:03:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZJkrm-0002IF-HZ for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2015 12:03:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58977) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJkrm-0002Hx-DZ for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2015 12:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZJkrl-0003F0-Uy for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2015 12:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Jul 2015 16:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21132 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21132-submit@debbugs.gnu.org id=B21132.143801296412422 (code B ref 21132); Mon, 27 Jul 2015 16:03:01 +0000 Original-Received: (at 21132) by debbugs.gnu.org; 27 Jul 2015 16:02:44 +0000 Original-Received: from localhost ([127.0.0.1]:60423 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZJkrT-0003EH-QW for submit@debbugs.gnu.org; Mon, 27 Jul 2015 12:02:44 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:49801) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZJkrS-0003E8-1i for 21132@debbugs.gnu.org; Mon, 27 Jul 2015 12:02:42 -0400 Original-Received: from [88.117.49.222] ([88.117.49.222]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0Las1k-1Ye8ds47ya-00kRWA; Mon, 27 Jul 2015 18:02:41 +0200 In-Reply-To: <83si8bynpl.fsf@gnu.org> X-Provags-ID: V03:K0:evgNkzp3zlf1At0pm4yNLn0XBv70krCdAN93jvbdz/sjG3zEpAD z+hV2V5+fydjb3LTJ4+hf9issuVM17MgwcPxUKIlEdYzaCe9VMUZE75l6g39MjkpAZ0HKUD wfjbubNspr3NZ/8YliOjGLKXBDIXXOF8Zpj+B7YeTUMmoWkgW3HZYhaEsSBGcSUAiQMaJ9q FuT/CSDwmF4e83BlqSvaw== X-UI-Out-Filterresults: notjunk:1;V01:K0:v02l2XSALDc=:dP7G8nE9MLJPO6RJ2pCxrg lQLD8R/hT2Fb1FmCVAB4M0LuKO0LeoPH83OW0r5gxIKGCYJgixQ91ogXV2lAEhKhFt1BoGJya XZ6optSXpoWT2IzdgUhIMyNTn2YJZp3VGv6j7sqdzp4nPsMHhfQwzlELctUTG9iSJND1nfevA DFxTClscZBaRD3rWb9jsAQ5JdihxTgLAXOG6krAS13CJFMIwU1aFZ7UXD9xMDQ6m4JV4DwloG ti6m5ARXrQBKHQ1ZSSutkQDaH3Xp8lbdDpYiJtYyNmFIc1mXPT6WvvfbiAchJHJvI/FJzcBa4 1ApsuEGzTYDj9Hayx1lOKYY3CCMltcEcR6DseDfXRxt+nd+FWbkFX5D7PVQzj+BGI124R8D3E BR+3ud4D2t1oFja3/XOtjuJBnhDxv8ETCjtgygQ6+U23msNykpnWH3ACkQWTNetSY1Le287NW dMeh4KJdYIKXt0AKWGDVuad9jZlcoT8Ba5tLmW4AUH7i1QFImnhhNDBJOHtjILsbmdcqgSdtb gydvR5aftQjkcROXX6RcwYncIoHwfWY9Vcdcc5b66V8RYYNv/Y74aqfjG7YtYGPnHYt0xrDBA IE2vQOkufEf5eUKIk4l+HevcUofv+ufwmvpzOxq0QNdPqhUWcpS/DdPOSajseZMdIvdIWTW93 HlGp2jiHF+6yIj03ONf5wAX4ylrlkO2ZqA/uU/7bp3rv8dLZPIG2+fDVtvAJ90xvPKsw= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.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:105167 Archived-At: >> >> And do we prefer (FRAME_W32_WINDOW (f) != 0) to (!FRAME_W32_WINDOW (f))? >> > >> > We prefer !FRAME_W32_P (f) >> >> x_set_foreground_color, x_set_background_color and x_set_mouse_color use >> >> if (FRAME_W32_WINDOW (f) != 0) >> >> Should these be changed? > > No, I don't think so, because these are handlers for w32 frame > parameters, and I see no way they could be called from Lisp, except in > that context. Am I missing something? No. I asked because of your preference stated above. Although in all the cases I cited we probably just care about whether the frame exists at all. Yet I would feel better with a more stringent predicate that would combine say, FRAME_W32_WINDOW and FRAME_W32_P. martin