unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Kamphausen <skampi@gmx.net>
To: help-gnu-emacs@gnu.org
Subject: Re: removing menubar and window frame
Date: Tue, 02 Dec 2008 13:59:06 +0100	[thread overview]
Message-ID: <87ljuypwbp.fsf@usenet.my.skamphausen.de> (raw)
In-Reply-To: mailman.1685.1228212233.26697.help-gnu-emacs@gnu.org

Hi,

Peter Dyballa <Peter_Dyballa@Web.DE> writes:

> Am 02.12.2008 um 05:33 schrieb Chengqi(Lars) Song:
>
>> 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.
>>

a good while back a friend of mine an I wrote active-menu.el for XEmacs
which showed the menu-bar as soon as your mouse comes close to where
the menu-bar usually would be and removes it if your mouse is far away.
I used that for years.

After switching to Gnu Emacs I tried to port it and it kinda works but I
don't use it anymore so there are probably some glitches in it.  

Besides, the porting was really a pain since the mouse-position commands
are subtly different across Gnu Emacs and XEmacs (see the comments for
more ranting).  In the end I got so frustrated working on this that I
quit.  If someone with a deeper understanding of things wants to take
over or patch... your welcome.

If you're still interested after reading all this:
http://www.skamphausen.de/cgi-bin/ska/active-menu.el

>> By the way, by "window-frame", I mean the outer frame of the window
>> with
>> the window title, maximze/minimize/close buttons.

active-menu does nothing to the frame.

Cheers,
Stefan
-- 
Stefan Kamphausen --- http://www.skamphausen.de
a blessed +42 regexp of confusion (weapon in hand)
You hit. The format string crumbles and turns to dust.


  parent reply	other threads:[~2008-12-02 12:59 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 [this message]
2008-12-02 13:19 ` tyler
     [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=87ljuypwbp.fsf@usenet.my.skamphausen.de \
    --to=skampi@gmx.net \
    --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).