From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Shelagh Manton Newsgroups: gmane.emacs.help Subject: Re: maximising window? Date: Sun, 8 Jun 2014 06:29:53 +0000 (UTC) Message-ID: References: <8761kcx86m.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1402209057 18851 80.91.229.3 (8 Jun 2014 06:30:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 8 Jun 2014 06:30:57 +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 08:30:48 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 1WtWcv-0003v3-Lh for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Jun 2014 08:30:45 +0200 Original-Received: from localhost ([::1]:54270 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtWcv-0000ub-A3 for geh-help-gnu-emacs@m.gmane.org; Sun, 08 Jun 2014 02:30:45 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42585) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtWcT-0000uO-A4 for help-gnu-emacs@gnu.org; Sun, 08 Jun 2014 02:30:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WtWcN-0007DP-2j for help-gnu-emacs@gnu.org; Sun, 08 Jun 2014 02:30:17 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:55500) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtWcM-0007DI-TT for help-gnu-emacs@gnu.org; Sun, 08 Jun 2014 02:30:11 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WtWcH-0003cZ-PP for help-gnu-emacs@gnu.org; Sun, 08 Jun 2014 08:30:05 +0200 Original-Received: from 203.219.222.168 ([203.219.222.168]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 08 Jun 2014 08:30:05 +0200 Original-Received: from shelagh.manton by 203.219.222.168 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 08 Jun 2014 08:30:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 203.219.222.168 User-Agent: Pan/0.136 (I'm far too busy being delicious; GIT 926a150 git://git.gnome.org/pan2) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:98090 Archived-At: On Sun, 08 Jun 2014 07:49:05 +0200, Igor Sosa Mayor wrote: > "Chris F.A. Johnson" writes: > >> Symbol's function definition is void: toggle-frame-maximized Symbol's >> function definition is void: toggle-frame-fullscreen No apropos matches >> for `toggle-frame' >> >> (emacs 24.3.1) > > I think this is new in emacs 24.4 For those who can't do the "toggle-frame-fullscreen" you could install wmctrl from your distribution repository and put this (originally from Offby1 on IRC many moons ago) (when (executable-find "wmctrl") (global-set-key (kbd "") (lambda () (interactive) "Toggle fullscreen." (let ((dprobe (assq 'display (frame-parameters (selected-frame))))) (when dprobe (shell-command (format "DISPLAY=%s wmctrl -r :ACTIVE: -btoggle,fullscreen" (cdr dprobe)))))))) As you can see the keyboard shortcut is f11 but I'm sure you can change that easily enough. Cheers Shelagh