From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dhruva Newsgroups: gmane.emacs.devel Subject: Re: Full screen mode on windows Date: Tue, 3 Jun 2008 12:31:41 +0530 Message-ID: References: <871w3ik9js.fsf@kanis.fr> <87k5hatjo4.fsf@kanis.fr> <87prr1jwrx.fsf@kanis.fr> <86r6bfau1m.fsf@timbral.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1212476523 2166 80.91.229.12 (3 Jun 2008 07:02:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Jun 2008 07:02:03 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Evans Winner" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 03 09:02:45 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K3QXc-00079F-JH for ged-emacs-devel@m.gmane.org; Tue, 03 Jun 2008 09:02:44 +0200 Original-Received: from localhost ([127.0.0.1]:42131 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K3QWq-0007Ls-AS for ged-emacs-devel@m.gmane.org; Tue, 03 Jun 2008 03:01:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K3QWl-0007Kn-4a for emacs-devel@gnu.org; Tue, 03 Jun 2008 03:01:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K3QWi-0007IE-K7 for emacs-devel@gnu.org; Tue, 03 Jun 2008 03:01:50 -0400 Original-Received: from [199.232.76.173] (port=41199 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K3QWi-0007Hy-E2 for emacs-devel@gnu.org; Tue, 03 Jun 2008 03:01:48 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:50114) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K3QWh-0007XN-SW for emacs-devel@gnu.org; Tue, 03 Jun 2008 03:01:48 -0400 Original-Received: from ti-out-0910.google.com ([209.85.142.190]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K3QWf-0004cd-TA for emacs-devel@gnu.org; Tue, 03 Jun 2008 03:01:46 -0400 Original-Received: by ti-out-0910.google.com with SMTP id u5so522496tia.10 for ; Tue, 03 Jun 2008 00:01:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=ix3tZnL4zOGxDpW+4B67gtEoCdpCDCaVHw1M5qKDPX4=; b=rQQOMGUIBEfAPyx+RIKGur2f3kJbEjQClk7ZfyaWk+kH7fTkfSSKHvY8rBxiHlXEyDswzQi2UNQYHAbnPqNnu0o5iLdY/D/mOtlIqPM1dO3RVGnJv2h8cNa9WZpMSHLwDQkQdxt9tQzR8tmeHDdsIp9IxR820Eq2dw5fwdBIPyc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CJpXtLEsREBz9QyQrIgIVeHApsue2gklQLGdBamw9fHHT8/X7nunuijVWE908HIkGK3xiFMqHeuR79wTfapm59FvmjimWPjrNAwB01mBNYGhytdlCOgFt9NjGmL+29zcPYSya3AbJrBMekYLTlZBBFhRzx1mJFil8exRxmLATSs= Original-Received: by 10.110.63.6 with SMTP id l6mr1594147tia.4.1212476501699; Tue, 03 Jun 2008 00:01:41 -0700 (PDT) Original-Received: by 10.110.90.17 with HTTP; Tue, 3 Jun 2008 00:01:41 -0700 (PDT) In-Reply-To: <86r6bfau1m.fsf@timbral.net> Content-Disposition: inline X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:98278 Archived-At: Hi, I have the following key mapping and it just works fine on M$. You can add tests to check if tool bar is enabled and remove it, restore it later by storing keeping track (the way I restore - max/restore). (global-set-key [(control ?=)] '(lambda () (interactive) (if (and (boundp '*frame-max) *frame-max) (progn (setq *frame-max nil) (w32-send-sys-command 61728)) (progn (setq *frame-max t) (w32-send-sys-command 61488))))) -dhruva On Tue, Jun 3, 2008 at 12:23 PM, Evans Winner wrote: > Ivan Kanis writes: > > AFAIK Emacs in the command prompt will not display > picture and bdf fonts, I use both extensively. I don't > think it has mouse support either which I use from time > to time. > > I have wanted a feature like this for a long time for W32. > I started a brief gnu.emacs.help thread on the question in > March [1]. At home I use stumpwm which puts all > applications in a true fullscreen mode that maximizes > available screen area while still allowing the use of GUI > tools like the mouse and nice fonts, etc. But at work I am > stuck with W32 and can't get that effect easily. > > Also, I suspect that a nice presentation package would be > fairly easy to write for Emacs and could be quite useful, > but it would be helpful for such a program to have access by > way of Emacs lisp to a true fullscreen toggle on all > platforms. The problem is that the W32 environment does not > seem to provide a high-level or easily accessed function to > do that. An attempt seems to have been made that requires > python[2]. > > There is also some interest in programs like Dark Room or > Writeroom which are text editors that are designed to be > visually minimalistic for the purpose of reducing > distractions. (There is a page on the EmacsWiki that > describes some related hacks [3].) Emacs is evolved for use > as a text editor for coding and some related things; > features like a totally blank screen save text (no title > bars or tool bars, etc.) seem to be of interest more to > writers of fiction and poetry, and so forth. A related > feature that would be nice for the ``Writeroom'' editing > style, or for a presentation manager, is that of a > disappearing mode-line, similar to the ``auto-hide'' > function available for the ``task-bar'' used in the Windows > GUI. I know one attempt has been made to implement this for > Emacs[4], though it does not reclaim that space (or > minibuffer space) for editing use, which would be nice. > > > Footnotes: > [1] I don't know how to cite Usenet messages. > The Google archive says it is: > Message-ID: <3112661d-c08e-412b-91f1-9e7ec192dc67@s37g2000prg.googlegroups.com> > A direct link to the Google web archived thread is: > http://groups.google.com/group/gnu.emacs.help/browse_thread/thread/d97ba81a2428d37e/4e4024398a44deba?lnk=st&q=emacsw32+fullscreen#4e4024398a44deba > > [2] http://www.martyn.se/code/emacs/darkroom-mode/ > > [3] http://www.emacswiki.org/cgi-bin/wiki/WriteRoom > > [4] http://dse.livejournal.com/66834.html > > > > > -- Contents reflect my personal views only!