GNU bug report logs - #25901
25.2; fit-frame-to-buffer not functional in OS X

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: charles@HIDDEN (Charles A. Roelli); dated Tue, 28 Feb 2017 17:09:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 25901 <at> debbugs.gnu.org:


Received: (at 25901) by debbugs.gnu.org; 2 Mar 2017 20:57:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 02 15:57:49 2017
Received: from localhost ([127.0.0.1]:36992 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cjXnJ-0008LK-0f
	for submit <at> debbugs.gnu.org; Thu, 02 Mar 2017 15:57:49 -0500
Received: from sinyavsky.aurox.ch ([37.35.109.145]:55697)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <charles@HIDDEN>) id 1cjXnH-0008L7-CU
 for 25901 <at> debbugs.gnu.org; Thu, 02 Mar 2017 15:57:47 -0500
Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1])
 by sinyavsky.aurox.ch (Postfix) with ESMTP id CE69D22383
 for <25901 <at> debbugs.gnu.org>; Thu,  2 Mar 2017 20:54:30 +0000 (UTC)
Authentication-Results: sinyavsky.aurox.ch (amavisd-new);
 dkim=pass (1024-bit key) reason="pass (just generated, assumed good)"
 header.d=aurox.ch
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h=
 content-transfer-encoding:content-type:content-type:mime-version
 :message-id:in-reply-to:date:date:references:subject:subject:to
 :from:from; s=dkim; t=1488488069; x=1489352070; bh=gZ2PZkiIJ8+R5
 knzQACLhyWIdxbcH9cc8lW22le+PWY=; b=kqw0Ft7ORZJS3fuhqrVWvUN7Wen1e
 ZFz8UUXnHCp70F5RuM/UwiXOifi2ZSREx/nvHaal5oFAsUiZWKhKJ3QC9zPg0/dk
 IAecw5urPFIUQjKw23MNBcsXL3NYx4RaKy2y1hdHOqGwqzr+DV4nJOC1BvnPfv1D
 2+9yWy8yX79M08=
X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com
Received: from sinyavsky.aurox.ch ([127.0.0.1])
 by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new,
 port 10026) with ESMTP id ECXRfRGlhYGj for <25901 <at> debbugs.gnu.org>;
 Thu,  2 Mar 2017 20:54:29 +0000 (UTC)
Received: from gray (54.4.4.85.dynamic.wline.res.cust.swisscom.ch [85.4.4.54])
 by sinyavsky.aurox.ch (Postfix) with ESMTPSA id 75B6222365;
 Thu,  2 Mar 2017 20:54:27 +0000 (UTC)
From: charles@HIDDEN (Charles A. Roelli)
To: martin rudalics <rudalics@HIDDEN>
Subject: Re: bug#25901: 25.2; fit-frame-to-buffer not functional in OS X
References: <m2shmynsyx.fsf@HIDDEN> <58B68638.6070001@HIDDEN>
Date: Thu, 02 Mar 2017 21:57:36 +0100
In-Reply-To: <58B68638.6070001@HIDDEN> (martin rudalics's message of "Wed, 01
 Mar 2017 09:28:40 +0100")
Message-ID: <m2h93biegv.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 25901
Cc: 25901 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

On Wed, Mar 01 2017 at 09:28:40 am, martin rudalics wrote:

>> - emacs -Q
>> - (M-x toggle-debug-on-error)
>> - M-x fit-frame-to-buffer
>>
>> Debugger entered--Lisp error: (wrong-type-argument terminal-live-p "gray=
")
>>    ns-display-monitor-attributes-list("gray")
>>    display-monitor-attributes-list("gray")
>>    fit-frame-to-buffer()
>>    funcall-interactively(fit-frame-to-buffer)
>>
>> "gray" is the hostname of the machine.
>>
>>   GNU Emacs 25.2.1 (x86_64-apple-darwin10.8.0, NS appkit-1038.36 Version=
 10.6.8 (Build 10K549))
>>   of 2017-02-22 built on gray
>> Windowing system distributor 'Apple', version 10.3.1038
>> Configured using:
>>   'configure --with-modules'
>>
>> Configured features:
>> JPEG RSVG NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES
>
> Too bad.  Does it work when you replace
>
> 	     (monitor-attributes (car (display-monitor-attributes-list
> 				       (frame-parameter frame 'display))))
>
> by
>
> 	     (monitor-attributes (car (display-monitor-attributes-list frame)))
>
> in =E2=80=98fit-frame-to-buffer=E2=80=99?
>
> martin

That does work.  I don't understand exactly how the display naming
things work on OS X (no time to look into it ATM), but if the docstring
of display-monitor-attributes-list is correct:

  Return a list of physical monitor attributes on DISPLAY.
  DISPLAY can be a display name, a terminal name, or a frame.

then the DISPLAY argument should work with the return value of
(frame-parameter frame 'display).




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#25901; Package emacs. Full text available.

Message received at 25901 <at> debbugs.gnu.org:


Received: (at 25901) by debbugs.gnu.org; 1 Mar 2017 23:43:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 01 18:43:26 2017
Received: from localhost ([127.0.0.1]:35065 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cjDu1-0000lf-Sn
	for submit <at> debbugs.gnu.org; Wed, 01 Mar 2017 18:43:26 -0500
Received: from eggs.gnu.org ([208.118.235.92]:48349)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rgm@HIDDEN>) id 1cjDu0-0000lT-3a
 for 25901 <at> debbugs.gnu.org; Wed, 01 Mar 2017 18:43:24 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rgm@HIDDEN>) id 1cjDtu-0003KE-48
 for 25901 <at> debbugs.gnu.org; Wed, 01 Mar 2017 18:43:18 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47156)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rgm@HIDDEN>)
 id 1cjDtf-0003E5-CW; Wed, 01 Mar 2017 18:43:03 -0500
Received: from rgm by fencepost.gnu.org with local (Exim 4.82)
 (envelope-from <rgm@HIDDEN>)
 id 1cjDte-0007Xm-L6; Wed, 01 Mar 2017 18:43:02 -0500
From: Glenn Morris <rgm@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
Subject: Re: bug#25901: 25.2; fit-frame-to-buffer not functional in OS X
References: <m2shmynsyx.fsf@HIDDEN> <58B68638.6070001@HIDDEN>
X-Spook: assassination Consular Calderon doctrine Critical
X-Ran: ~,)F(BWfYV;If>y]3&28uDJSwo7O]]n+?0Yg)[cT/0J-6P/YsrG$k+v^=7NE1A>UMp\uyv
X-Hue: magenta
X-Debbugs-No-Ack: yes
X-Attribution: GM
Date: Wed, 01 Mar 2017 18:43:02 -0500
In-Reply-To: <58B68638.6070001@HIDDEN> (martin rudalics's message of "Wed, 01
 Mar 2017 09:28:40 +0100")
Message-ID: <9co9xkk1h5.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain
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-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 25901
Cc: "Charles A. Roelli" <charles@HIDDEN>, 25901 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)


>>    ns-display-monitor-attributes-list("gray")
>>    display-monitor-attributes-list("gray")
>>    fit-frame-to-buffer()
>>    funcall-interactively(fit-frame-to-buffer)
>>
>> "gray" is the hostname of the machine.
[...]
> Too bad.  Does it work when you replace
>
> 	     (monitor-attributes (car (display-monitor-attributes-list
> 				       (frame-parameter frame 'display))))
>
> by
>
> 	     (monitor-attributes (car (display-monitor-attributes-list frame)))
>
> in 'fit-frame-to-buffer'?

So on OS X, (frame-parameter nil 'display) returns a non-nil value that
is not acceptable for use in places that need a display?
That seems like a recipe for trouble?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#25901; Package emacs. Full text available.

Message received at 25901 <at> debbugs.gnu.org:


Received: (at 25901) by debbugs.gnu.org; 1 Mar 2017 08:29:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 01 03:29:08 2017
Received: from localhost ([127.0.0.1]:60922 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cizdD-0006js-V5
	for submit <at> debbugs.gnu.org; Wed, 01 Mar 2017 03:29:08 -0500
Received: from mout.gmx.net ([212.227.15.19]:58582)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rudalics@HIDDEN>) id 1cizdB-0006jK-VC
 for 25901 <at> debbugs.gnu.org; Wed, 01 Mar 2017 03:29:06 -0500
Received: from [192.168.1.100] ([213.162.68.90]) by mail.gmx.com (mrgmx003
 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LxgM7-1cG6vI0i1D-017Esn; Wed, 01
 Mar 2017 09:28:51 +0100
Message-ID: <58B68638.6070001@HIDDEN>
Date: Wed, 01 Mar 2017 09:28:40 +0100
From: martin rudalics <rudalics@HIDDEN>
MIME-Version: 1.0
To: "Charles A. Roelli" <charles@HIDDEN>, 25901 <at> debbugs.gnu.org
Subject: Re: bug#25901: 25.2; fit-frame-to-buffer not functional in OS X
References: <m2shmynsyx.fsf@HIDDEN>
In-Reply-To: <m2shmynsyx.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K0:Npu5qzk+aJp/SG+Apcu0F8YDpxtVnzCycLDk+dmNw0lEFuGdhT0
 pposVjKkIUDlRjqd0Vi0cC3fibF9sou2kr9o0fQsecUZMI+fx7KDJJS4Op2gkFQUBhQDOTo
 FYq1jnxJQ3tTDoG6z72wuoewZqLVDcFZ4TslNlzRDtcUsdpAfYiuU2jK9OQyV4c/h2ez2UW
 aid9vs1J9o4/KMwt2Iadg==
X-UI-Out-Filterresults: notjunk:1;V01:K0:pSPaof904BA=:6u2S6A72e21eV+pfWJ6bXw
 rSL7W6NSakVwc0OGDJmL4yoy8nK6BOf/DaKfCpmkDToo41QtlORsUDb5WERHnMUGUHhz7MJGD
 wiameNMA6Gg6JieOT5dtVSpRjhn1yU5lg9pRpKLsRq3tRzpCmTNL20kK89Uw/yFVRfzY5uhVr
 p0ZyrA9c90PR1wzYxHy5lpEDljIxFl97alwTiDgwOdYDRmFXf4Ga1Nf0liXBdC+T1mV2fKovw
 cMoAZF/fe+zrJCKJ6BfJJVlT1sQv//sq1oXUw8r4E9KWUH1EmgBG1BZcFXnow6/CihQemEDzl
 X7f5bMoGBRJSJ/eICNZvIwD7dKcOvfqdQfnJv2GrjOoDkABiJDz63pwyI7oyJkAkd3XE3axM/
 1xWvB6Bp5OeRyC19Gf4IbaxLDYjdJpgkjXVOTSKswNbky2qalYBbn4Y5O9PYoLvYyP5U0mQS8
 BkMzbuJ6qZCWr1FKyGqD1ACzkMc5Y8RuwvE/H/VkYdVXYGje1h4DoqescmgteycEJiDuoc4uD
 zv3EYHIAoI3F+4LraZOQU/SYrPsspZ/RVz/35K20xOL144wv1bWIPXaYqQ6Qy3u4mCb/lR2fH
 Ci7NwRWqnHihQJHIsJvGCGVAnFqsOBMpHY43LiycuXxI2wpIGp8j6K9t5xFqusgKMaha9vOWK
 Mdgm2bZu8thvkbC/v0jKuw4DfW2hFnXaSID9K0aZ2p4kjg33OKQk2ibNCFWz7SK9Dl2UN0F75
 1zux6BjdwRva62j9XABYmONaYLOqUUNk1w+Gw4K99QpicqtwFTenyYZTRhR8Zkq1NnlnWDMbu
 /L2Dc4m4bJe3/0D2NkoY1sZFULHgw==
X-Spam-Score: -0.8 (/)
X-Debbugs-Envelope-To: 25901
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.8 (/)

 > - emacs -Q
 > - (M-x toggle-debug-on-error)
 > - M-x fit-frame-to-buffer
 >
 > Debugger entered--Lisp error: (wrong-type-argument terminal-live-p "gr=
ay")
 >    ns-display-monitor-attributes-list("gray")
 >    display-monitor-attributes-list("gray")
 >    fit-frame-to-buffer()
 >    funcall-interactively(fit-frame-to-buffer)
 >
 > "gray" is the hostname of the machine.
 >
 >   GNU Emacs 25.2.1 (x86_64-apple-darwin10.8.0, NS appkit-1038.36 Versi=
on 10.6.8 (Build 10K549))
 >   of 2017-02-22 built on gray
 > Windowing system distributor 'Apple', version 10.3.1038
 > Configured using:
 >   'configure --with-modules'
 >
 > Configured features:
 > JPEG RSVG NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULE=
S

Too bad.  Does it work when you replace

	     (monitor-attributes (car (display-monitor-attributes-list
				       (frame-parameter frame 'display))))

by

	     (monitor-attributes (car (display-monitor-attributes-list frame)))

in =E2=80=98fit-frame-to-buffer=E2=80=99?

martin





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#25901; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 28 Feb 2017 17:08:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 28 12:08:56 2017
Received: from localhost ([127.0.0.1]:60500 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cilGi-00044J-Bl
	for submit <at> debbugs.gnu.org; Tue, 28 Feb 2017 12:08:56 -0500
Received: from eggs.gnu.org ([208.118.235.92]:49773)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <charles@HIDDEN>) id 1cilGh-000444-Gr
 for submit <at> debbugs.gnu.org; Tue, 28 Feb 2017 12:08:55 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <charles@HIDDEN>) id 1cilGb-0000PO-CV
 for submit <at> debbugs.gnu.org; Tue, 28 Feb 2017 12:08:50 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:44506)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <charles@HIDDEN>) id 1cilGb-0000PK-A0
 for submit <at> debbugs.gnu.org; Tue, 28 Feb 2017 12:08:49 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:40733)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <charles@HIDDEN>) id 1cilGa-0006Io-4l
 for bug-gnu-emacs@HIDDEN; Tue, 28 Feb 2017 12:08:49 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <charles@HIDDEN>) id 1cilGW-0000OL-5r
 for bug-gnu-emacs@HIDDEN; Tue, 28 Feb 2017 12:08:48 -0500
Received: from sinyavsky.aurox.ch ([37.35.109.145]:59907)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <charles@HIDDEN>) id 1cilGV-0000Ni-UR
 for bug-gnu-emacs@HIDDEN; Tue, 28 Feb 2017 12:08:44 -0500
Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1])
 by sinyavsky.aurox.ch (Postfix) with ESMTP id AD51022380
 for <bug-gnu-emacs@HIDDEN>; Tue, 28 Feb 2017 17:05:30 +0000 (UTC)
Authentication-Results: sinyavsky.aurox.ch (amavisd-new);
 dkim=pass (1024-bit key) reason="pass (just generated, assumed good)"
 header.d=aurox.ch
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h=
 content-type:content-type:mime-version:message-id:date:date
 :subject:subject:to:from:from; s=dkim; t=1488301529; x=
 1489165530; bh=5wPNrw4xE6wWwku3aX1fSL+bwDUvKvLLHQM/nNSZ6v4=; b=V
 /QsEDXsoum25xjfnwmObqfPrVkE7frkiHLnAxZ+PVJL9L7vP8HltofnSKJ/z+5Qb
 nOhWx1N1CZm4DvaLNRNxG3w2ys2cxOxxlEFhZQSq/UB29xALZhz15dnE3jR4ePP8
 et9TQcs5VU6T14SZ3oUCFdYSrqECXnINNkwRVjjF5Q=
X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com
Received: from sinyavsky.aurox.ch ([127.0.0.1])
 by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new,
 port 10026) with ESMTP id 3GrQSpX55xOv for <bug-gnu-emacs@HIDDEN>;
 Tue, 28 Feb 2017 17:05:29 +0000 (UTC)
Received: from gray (54.4.4.85.dynamic.wline.res.cust.swisscom.ch [85.4.4.54])
 by sinyavsky.aurox.ch (Postfix) with ESMTPSA id 8E89922365
 for <bug-gnu-emacs@HIDDEN>; Tue, 28 Feb 2017 17:05:29 +0000 (UTC)
From: charles@HIDDEN (Charles A. Roelli)
To: bug-gnu-emacs@HIDDEN
Subject: 25.2; fit-frame-to-buffer not functional in OS X
Date: Tue, 28 Feb 2017 18:08:38 +0100
Message-ID: <m2shmynsyx.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.1 (----)

- emacs -Q
- (M-x toggle-debug-on-error)
- M-x fit-frame-to-buffer

Debugger entered--Lisp error: (wrong-type-argument terminal-live-p "gray")
  ns-display-monitor-attributes-list("gray")
  display-monitor-attributes-list("gray")
  fit-frame-to-buffer()
  funcall-interactively(fit-frame-to-buffer)

"gray" is the hostname of the machine.

 GNU Emacs 25.2.1 (x86_64-apple-darwin10.8.0, NS appkit-1038.36 Version 10.6.8 (Build 10K549))
 of 2017-02-22 built on gray
Windowing system distributor 'Apple', version 10.3.1038
Configured using:
 'configure --with-modules'

Configured features:
JPEG RSVG NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES




Acknowledgement sent to charles@HIDDEN (Charles A. Roelli):
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#25901; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 2 Mar 2017 21:00:03 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.