From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ishi soichi Newsgroups: gmane.emacs.help Subject: Re: maximizing window for MacOSX Date: Sun, 5 Feb 2012 17:02:57 +0900 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=14dae9340aed4b3f3704b832f948 X-Trace: dough.gmane.org 1328428987 14504 80.91.229.3 (5 Feb 2012 08:03:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 5 Feb 2012 08:03:07 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 05 09:03:06 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rtx3y-0007f0-9Q for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Feb 2012 09:03:06 +0100 Original-Received: from localhost ([::1]:45000 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rtx3x-0006p3-Cj for geh-help-gnu-emacs@m.gmane.org; Sun, 05 Feb 2012 03:03:05 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:53568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rtx3r-0006ol-NC for help-gnu-emacs@gnu.org; Sun, 05 Feb 2012 03:03:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rtx3q-0000ws-GT for help-gnu-emacs@gnu.org; Sun, 05 Feb 2012 03:02:59 -0500 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:59847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rtx3q-0000wo-Ao for help-gnu-emacs@gnu.org; Sun, 05 Feb 2012 03:02:58 -0500 Original-Received: by iagz16 with SMTP id z16so8937572iag.0 for ; Sun, 05 Feb 2012 00:02:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=LbY/Rl8Qe0X580PuO0vSJtk3oTJZcdG2+cwY3bEZLQo=; b=WfA+VX5uDHWUHo77lr79AtS3PTegPZYUYcCcqi5ZulUhOXJPdtLt+/cbTZB7xMTHms 1QmLukaoMLA8Ap9t4tCLOENWLEQt5dsJXXJDp9JL3XUH3W/uXPJGbaD1pXJal4boxuQC +vj4OSsRKAdux5qRkFUJ93PafmpjfQf6ImnHI= Original-Received: by 10.50.208.1 with SMTP id ma1mr19233588igc.4.1328428977176; Sun, 05 Feb 2012 00:02:57 -0800 (PST) Original-Received: by 10.42.149.134 with HTTP; Sun, 5 Feb 2012 00:02:57 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.210.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:83656 Archived-At: --14dae9340aed4b3f3704b832f948 Content-Type: text/plain; charset=ISO-8859-1 Thanks for the info. I'm going to read the source code! soichi 2012/2/3 Drew Adams > > I am trying to develop an Emacs Lisp program that maximizes > > the window. I found and modified the following code, which > > was originally for Carbon Emacs. ... > > It does not act as I want it to. > > You might also try the code in frame-cmds.el (e.g. `maximize-frame'): > http://www.emacswiki.org/emacs/download/frame-cmds.el. (It requires a > second > library, frame-fns.el: > http://www.emacswiki.org/emacs/download/frame-fns.el.) > > It does not depend on the frame parameter `fullscreen', which does not > exist in > some Emacs builds. It takes into consideration the space available on > Mac-OS, > via `mac-display-available-pixel-bounds'. > > > --14dae9340aed4b3f3704b832f948 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks for the info. =A0I'm going to read the source code!

soichi

2012/2/3 Drew Adams <drew.adams@oracle.c= om>
> I am trying to develo= p an Emacs Lisp program that maximizes
> the window. =A0I found and modified the following code, which
> was originally for Carbon Emacs. ...
> It does not act as I want it to.

You might also try the code in frame-cmds.el (e.g. `maximize-frame= 9;):
http://www.emacswiki.org/emacs/download/frame-cmds.el. =A0(It = requires a second
library, frame-fns.el: http://www.emacswiki.org/emacs/download/fram= e-fns.el.)

It does not depend on the frame parameter `fullscreen', which does not = exist in
some Emacs builds. =A0It takes into consideration the space available on Ma= c-OS,
via `mac-display-available-pixel-bounds'.



--14dae9340aed4b3f3704b832f948--