From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: James Freer Newsgroups: gmane.emacs.help Subject: maximising window? Date: Sun, 8 Jun 2014 00:27:03 +0100 (BST) Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Trace: ger.gmane.org 1402183665 9124 80.91.229.3 (7 Jun 2014 23:27:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Jun 2014 23:27:45 +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 01:27:37 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 1WtQ1P-0003Fh-5a for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Jun 2014 01:27:35 +0200 Original-Received: from localhost ([::1]:53495 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtQ1O-0006RJ-Nb for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Jun 2014 19:27:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47312) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtQ16-0006QK-KT for help-gnu-emacs@gnu.org; Sat, 07 Jun 2014 19:27:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WtQ0x-000309-Iu for help-gnu-emacs@gnu.org; Sat, 07 Jun 2014 19:27:16 -0400 Original-Received: from mail-wi0-x236.google.com ([2a00:1450:400c:c05::236]:49883) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtQ0x-000305-BS for help-gnu-emacs@gnu.org; Sat, 07 Jun 2014 19:27:07 -0400 Original-Received: by mail-wi0-f182.google.com with SMTP id r20so2645921wiv.9 for ; Sat, 07 Jun 2014 16:27:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:user-agent:mime-version :content-type; bh=zS2TLuyyEtUi0rCjuVMVuaV7j4ERbvOQMGK1C2xtePQ=; b=PbXRqSi/+45rwFdZsmIrYMdGTQuXyKQAJEiaWnm8BFs4x4eD+HJR2uKBOcpA8Ihrmo BJ03Z75DFx1j9LmmA6zSJ+Ea2c9g3Q/dz7DKz5puVElYlD+/rC4e5H8wI++sKGQAQY95 5+nYedw/GtXzVKIkfwkUIIcVu/ZPBtKEUFVkjKSf38YljCq1+swo99P2UIoNHWJVK8vR c2LxMeffCzNz/AXRC7a6Hts4NbuqLkySWEAw/9kXlQ1rr2Af4IHg/JyWAGvAPO4XvDNz aivxXApGNLNW0s7rVlVRwFCzyHC9fg4XS9X2RL7dGYtqUgs5bQZ9nGUua3Q+QRQUy5NB 8W5A== X-Received: by 10.194.161.168 with SMTP id xt8mr18926286wjb.35.1402183626490; Sat, 07 Jun 2014 16:27:06 -0700 (PDT) Original-Received: from james.home (host86-170-32-167.range86-170.btcentralplus.com. [86.170.32.167]) by mx.google.com with ESMTPSA id m20sm18141974wjr.33.2014.06.07.16.27.05 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 07 Jun 2014 16:27:05 -0700 (PDT) X-X-Sender: james@james User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::236 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:98083 Archived-At: 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. At console --mm option is fine but only for first frame but not for gui. So I tried the following... didn't seem to work and then commented them out. These are the one's I tried (copied from the .emacs).. ;; fullscreen similar to alt+f10 ;;(run-with-idle-timer 0.1 nil 'toggle-fullscreen)? ;;(defun toggle-full-screen)? ;;(require 'maxframe) ;;(add-hook 'window-setup-hook 'maximize-frame t) ;; auto frame sizing ;;(require 'autofit-frame) ;;(add-hook 'after-make-frame-functions 'fit-frame) ;; To automatically fit frames that show a temporary buffer in their ;; sole window, add this to your initialization file also: ;;(add-hook 'temp-buffer-window-show-hook ; Emacs 24.4+ ;; 'fit-frame-if-one-window 'append) I don't think I am on the right lines somehow... so ? thanks james