Mercurial > emacs
diff man/faq.texi @ 75700:f552e62ec0dd
(Fullscreen mode on MS-Windows): New node.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Wed, 07 Feb 2007 00:25:48 +0000 |
parents | 098e6a6c51ca |
children | ece446b1e5fd 52a7f3f50b89 |
line wrap: on
line diff
--- a/man/faq.texi Tue Feb 06 23:34:46 2007 +0000 +++ b/man/faq.texi Wed Feb 07 00:25:48 2007 +0000 @@ -1266,6 +1266,7 @@ * Editing MS-DOS files:: * Filling paragraphs with a single space:: * Escape sequences in shell output:: +* Fullscreen mode on MS-Windows:: @end menu @node Setting up a customization file, Using Customize, Common requests, Common requests @@ -2671,7 +2672,7 @@ (setq sentence-end-double-space nil) @end lisp -@node Escape sequences in shell output, , Filling paragraphs with a single space, Common requests +@node Escape sequences in shell output, Fullscreen mode on MS-Windows, Filling paragraphs with a single space, Common requests @section Why these strange escape sequences from @code{ls} from the Shell mode? @cindex Escape sequences in @code{ls} output @cindex @code{ls} in Shell mode @@ -2693,6 +2694,28 @@ later), which converts these ANSI escape sequences into colors. @end itemize +@node Fullscreen mode on MS-Windows, , Escape sequences in shell output, Common requests +@section How can I start Emacs in fullscreen mode on MS-Windows? +@cindex Maximize frame +@cindex Fullscreen mode + +Use the function @code{w32-send-sys-command}. For example, you can +put the following in your @file{.emacs} file: + +@lisp +(add-hook 'term-setup-hook + #'(lambda () (w32-send-sys-command ?\xF030))) +@end lisp + +To avoid the slightly distracting visual effect of Emacs starting with +its default frame size and then growing to fullscreen, you can add an +@samp{Emacs.Geometry} entry to the Windows registry settings (see +@pxref{(emacs)X Resources}). + +To compute the correct values for width and height, first maximize the +Emacs frame and then evaluate @code{(frame-height)} and +@code{(frame-width)} with @kbd{M-:}. + @c ------------------------------------------------------------ @node Bugs and problems, Compiling and installing Emacs, Common requests, Top @chapter Bugs and problems