all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: dhruva <dhruvakm@gmail.com>
To: "Evans Winner" <thorne@timbral.net>
Cc: emacs-devel@gnu.org
Subject: Re: Full screen mode on windows
Date: Tue, 3 Jun 2008 12:31:41 +0530	[thread overview]
Message-ID: <e3f230850806030001l16e0a5fftb71ae82611cdcd3a@mail.gmail.com> (raw)
In-Reply-To: <86r6bfau1m.fsf@timbral.net>

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 <thorne@timbral.net> wrote:
> Ivan Kanis <expire-by-2008-06-07@kanis.fr> 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!




  reply	other threads:[~2008-06-03  7:01 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-31 11:16 Full screen mode on windows Ivan Kanis
2008-05-31 12:53 ` joakim
2008-05-31 13:13   ` Eli Zaretskii
2008-05-31 13:25     ` Lennart Borgman (gmail)
2008-05-31 13:52       ` Lennart Borgman (gmail)
2008-05-31 15:28         ` Eli Zaretskii
2008-05-31 15:50           ` Lennart Borgman (gmail)
2008-06-01  2:02     ` Jason Rumney
2008-05-31 18:25   ` Ivan Kanis
2008-05-31 21:11     ` Eli Zaretskii
2008-05-31 21:16       ` Tom Tromey
2008-06-01  1:30       ` Miles Bader
2008-06-01 10:05       ` Ivan Kanis
2008-06-03  6:53         ` Evans Winner
2008-06-03  7:01           ` dhruva [this message]
2008-06-03 20:56             ` Evans Winner
2008-06-03  7:23           ` Thien-Thi Nguyen
2008-06-04 17:57   ` Ivan Kanis

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

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

  git send-email \
    --in-reply-to=e3f230850806030001l16e0a5fftb71ae82611cdcd3a@mail.gmail.com \
    --to=dhruvakm@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=thorne@timbral.net \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.