From: martin rudalics <rudalics@gmx.at>
To: "Charles A. Roelli" <charles@aurox.ch>, 25901@debbugs.gnu.org
Subject: bug#25901: 25.2; fit-frame-to-buffer not functional in OS X
Date: Wed, 01 Mar 2017 09:28:40 +0100 [thread overview]
Message-ID: <58B68638.6070001@gmx.at> (raw)
In-Reply-To: <m2shmynsyx.fsf@aurox.ch>
> - 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 ‘fit-frame-to-buffer’?
martin
next prev parent reply other threads:[~2017-03-01 8:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-28 17:08 bug#25901: 25.2; fit-frame-to-buffer not functional in OS X Charles A. Roelli
2017-03-01 8:28 ` martin rudalics [this message]
2017-03-01 23:43 ` Glenn Morris
2017-03-02 20:57 ` Charles A. Roelli
2021-08-14 14:01 ` Lars Ingebrigtsen
2022-05-06 15:11 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=58B68638.6070001@gmx.at \
--to=rudalics@gmx.at \
--cc=25901@debbugs.gnu.org \
--cc=charles@aurox.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).