From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Mastro Newsgroups: gmane.emacs.help Subject: Re: maximising window? Date: Sat, 7 Jun 2014 17:20:41 -0700 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1402186889 8861 80.91.229.3 (8 Jun 2014 00:21:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Jun 2014 00:21:29 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 08 02:21:23 2014 Return-path: Envelope-to: geh-help-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 1WtQrR-0001uV-GC for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Jun 2014 02:21:21 +0200 Original-Received: from localhost ([::1]:53601 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtQrQ-0005ev-UI for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Jun 2014 20:21:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54368) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtQrD-0005ei-36 for help-gnu-emacs@gnu.org; Sat, 07 Jun 2014 20:21:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WtQr9-0001tb-19 for help-gnu-emacs@gnu.org; Sat, 07 Jun 2014 20:21:06 -0400 Original-Received: from mail-oa0-x234.google.com ([2607:f8b0:4003:c02::234]:63113) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtQr8-0001tR-Se for help-gnu-emacs@gnu.org; Sat, 07 Jun 2014 20:21:02 -0400 Original-Received: by mail-oa0-f52.google.com with SMTP id j17so825142oag.11 for ; Sat, 07 Jun 2014 17:21:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=nKMOHvduuuCjP9ilHr3LJgCktm2CDPUQ+mC4R4fSN7c=; b=BTzGUOm9R+e/uU7934vfuXGPOnQzPMzg8lSbu5bPfPk3XXZ2heQsDr/g1OFEBbA88O Z1NvmQAAxsmR0/KvkmPOfMoVsnFtIg7VLGLnosvJIIW9u2i77iC06PbEqktraj5lGd9c +UlfFGjaNlAYiFFg37wNWb7mxrJJb/wg7YZKnUq4k5BHAWO5A4KBgrn4VoEcM+zraQlq hSDh+DIPyjKpIvjY+/KuRFDd8hZ9/ahKjRr1beO2HSmTbeDoN60Tt81c/74l+ANqYV6K PxBN6VigW/pxLcGrWID/cXSGsnUTSJRy0Zp/2dfU+p69nfRM/VWlPoQO6tTqVgfXrA5q Q9CQ== X-Received: by 10.182.251.170 with SMTP id zl10mr14251923obc.5.1402186861956; Sat, 07 Jun 2014 17:21:01 -0700 (PDT) Original-Received: by 10.76.166.234 with HTTP; Sat, 7 Jun 2014 17:20:41 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c02::234 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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:98084 Archived-At: Hi James, James Freer wrote: > One thing I want to enter in the .emacs is the equivalent of alt+f10. > Maximise 'window' isn't quite the same from what I've read this > evening... in emacs they're frames. Vary depending on Mac, linux or > windows - I'm using Linux Xubuntu on a CRT monitor. [snip] > I don't think I am on the right lines somehow... so ? I think you're looking for `toggle-frame-maximized' or `toggle-frame-fullscreen'. You could put one on Alt-F10 with something like this: (global-set-key (kbd "") 'toggle-frame-fullscreen) Of if you want Emacs to automatically go full screen when you open it, perhaps something like this: (add-hook 'after-init-hook 'toggle-frame-fullscreen) Best, John