From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: tyler Newsgroups: gmane.emacs.help Subject: Re: removing menubar and window frame Date: Tue, 02 Dec 2008 09:19:37 -0400 Message-ID: <873ah6k93q.fsf@blackbart.sedgenet> References: <20081202043303.GA13422@lars-x200s> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1228227641 22289 80.91.229.12 (2 Dec 2008 14:20:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Dec 2008 14:20:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 02 15:21:45 2008 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 1L7W7m-0000bB-Lh for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Dec 2008 15:21:14 +0100 Original-Received: from localhost ([127.0.0.1]:43203 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7W6c-0006yi-6D for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Dec 2008 09:20:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L7W6I-0006yB-8H for help-gnu-emacs@gnu.org; Tue, 02 Dec 2008 09:19:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L7W6G-0006xJ-Th for help-gnu-emacs@gnu.org; Tue, 02 Dec 2008 09:19:42 -0500 Original-Received: from [199.232.76.173] (port=53044 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L7W6G-0006xG-Hl for help-gnu-emacs@gnu.org; Tue, 02 Dec 2008 09:19:40 -0500 Original-Received: from main.gmane.org ([80.91.229.2]:59345 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L7W6G-0005JA-7c for help-gnu-emacs@gnu.org; Tue, 02 Dec 2008 09:19:40 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1L7W6E-0006lE-3f for help-gnu-emacs@gnu.org; Tue, 02 Dec 2008 14:19:38 +0000 Original-Received: from hlfxns0149w-142177123178.pppoe-dynamic.ns.aliant.net ([142.177.123.178]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Dec 2008 14:19:38 +0000 Original-Received: from tyler.smith by hlfxns0149w-142177123178.pppoe-dynamic.ns.aliant.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Dec 2008 14:19:38 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 36 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: hlfxns0149w-142177123178.pppoe-dynamic.ns.aliant.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:aKS89TQ9pLwTS2BJNiauV7AWEHc= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:60309 Archived-At: "Chengqi(Lars) Song" writes: > To maximize the space for editing area, I want to hide manubar and the > window-frame, but sometimes I need them so I also want to assign a > hotkey to toggle them. Could you give any suggestion? Thank you. My .emacs includes (menu-bar-mode -1) which leaves the menu-bar hidden by default. Rather than have it pop up again when I want to see it, I use 'M-`' (i.e., meta and backtick pressed together). This provides a quick and temporary text-version of the menu-bar which has the benefit of not requiring a mouse to use. > By the way, by "window-frame", I mean the outer frame of the window with > the window title, maximze/minimize/close buttons. This is beyond the realm of emacs I think, and requires a suitable window manager. I use fluxbox, which provides a mechanism for toggling the window decorations through the config files. I have the following in my ~/.fluxbox/keys file: Mod4 d :ToggleDecor The result is that pressing Super-d toggles the max/min/close and title bar on and off. Maybe Gnome and KDE have similar options, I don't know. Cheers, Tyler -- There is something fascinating about science. One gets such wholesale returns of conjecture out of such a trifling investment of fact. --Mark Twain