From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Decebal Newsgroups: gmane.emacs.help Subject: Re: Maximize frame Date: Thu, 14 May 2009 03:30:30 -0700 (PDT) Organization: http://groups.google.com Message-ID: <148d2c75-cd52-4039-baec-44b85cdf8d8b@p4g2000vba.googlegroups.com> References: <7ceiusaxo4.fsf@pbourguignon.anevia.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1242297771 25041 80.91.229.12 (14 May 2009 10:42:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 May 2009 10:42:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 14 12:42:45 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M4YOi-0000Fr-H6 for geh-help-gnu-emacs@m.gmane.org; Thu, 14 May 2009 12:42:44 +0200 Original-Received: from localhost ([127.0.0.1]:45367 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M4YOi-0004RZ-3x for geh-help-gnu-emacs@m.gmane.org; Thu, 14 May 2009 06:42:44 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!p4g2000vba.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-NNTP-Posting-Host: 84.53.123.169 Original-X-Trace: posting.google.com 1242297031 8699 127.0.0.1 (14 May 2009 10:30:31 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 14 May 2009 10:30:31 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: p4g2000vba.googlegroups.com; posting-host=84.53.123.169; posting-account=K-cdeAoAAAD_0d505kUtHXJaT5LFIu-3 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; nl; rv:1.9.0.9) Gecko/2009040820 Firefox/3.0.9,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:169153 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64417 Archived-At: On 14 mei, 10:36, p...@informatimago.com (Pascal J. Bourguignon) wrote: > Decebal writes: > > I would like to maximize my Emacs on startup. I did find: > > =A0 (defun fullscreen () > > =A0 =A0 (interactive) > > =A0 =A0 (x-send-client-message nil 0 nil "_NET_WM_STATE" 32 > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 '(2 "_NET_WM_STATE_FULLSCREEN" = 0))) > > > But that does a fullscreen, which loses the taskbar. Is there a way to > > do a maximize instead of a fullscreen? > > Have a look at full-frame inhttp://darcs.informatimago.com/public/emacs/p= jb-emacs.el I found severall functions which did something like that, but that is only an aproximation. There is not a maximize screen equivalent for _NET_WM_STATE_FULLSCREEN?