unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: tyler <tyler.smith@mail.mcgill.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: removing menubar and window frame
Date: Tue, 02 Dec 2008 09:19:37 -0400	[thread overview]
Message-ID: <873ah6k93q.fsf@blackbart.sedgenet> (raw)
In-Reply-To: 20081202043303.GA13422@lars-x200s

"Chengqi(Lars) Song" <songcq@gmail.com> 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





  parent reply	other threads:[~2008-12-02 13:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-02  4:33 removing menubar and window frame Chengqi(Lars) Song
2008-12-02 10:03 ` Peter Dyballa
2008-12-02 11:05   ` Chengqi(Lars) Song
2008-12-02 11:47     ` Peter Dyballa
2008-12-02 12:05     ` Andrea Vettorello
     [not found]   ` <mailman.1686.1228215916.26697.help-gnu-emacs@gnu.org>
2008-12-02 12:39     ` Andreas Politz
     [not found] ` <mailman.1685.1228212233.26697.help-gnu-emacs@gnu.org>
2008-12-02 12:59   ` Stefan Kamphausen
2008-12-02 13:19 ` tyler [this message]
     [not found] <mailman.1663.1228192384.26697.help-gnu-emacs@gnu.org>
2008-12-02 14:42 ` htbest2000

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=873ah6k93q.fsf@blackbart.sedgenet \
    --to=tyler.smith@mail.mcgill.ca \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).