aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Rumney2008-02-07 21:50:14 +0000
committerJason Rumney2008-02-07 21:50:14 +0000
commit03bebefcd900e17ba8a421d6b1dc94068a0b5657 (patch)
tree033a89792e3c3c0402f93e3bbeea18463d89fb21
parent987be29bac2e9933b435a38a39f1b8072f4e2168 (diff)
downloademacs-03bebefcd900e17ba8a421d6b1dc94068a0b5657.tar.gz
emacs-03bebefcd900e17ba8a421d6b1dc94068a0b5657.zip
(Windows Files): w32-get-true-file-attributes default
value has changed. (Windows HOME): Clarify what is meant by "if that fails as well". (Windows Fonts): New section.
-rw-r--r--doc/emacs/msdog.texi104
1 files changed, 96 insertions, 8 deletions
diff --git a/doc/emacs/msdog.texi b/doc/emacs/msdog.texi
index 81dc126ea17..206b21f9df6 100644
--- a/doc/emacs/msdog.texi
+++ b/doc/emacs/msdog.texi
@@ -35,6 +35,7 @@ here.
35* Windows Mouse:: Windows-specific mouse features. 35* Windows Mouse:: Windows-specific mouse features.
36* Windows Processes:: Running subprocesses on Windows. 36* Windows Processes:: Running subprocesses on Windows.
37* Windows Printing:: How to specify the printer on MS-Windows. 37* Windows Printing:: How to specify the printer on MS-Windows.
38* Windows Fonts:: Specifying fonts on MS-Windows.
38* Windows Misc:: Miscellaneous Windows features. 39* Windows Misc:: Miscellaneous Windows features.
39@ifnottex 40@ifnottex
40* MS-DOS:: Using Emacs on MS-DOS (otherwise known as @dfn{MS-DOG}). 41* MS-DOS:: Using Emacs on MS-DOS (otherwise known as @dfn{MS-DOG}).
@@ -174,8 +175,8 @@ default ignores letter-case in file names during completion.
174 If the variable @code{w32-get-true-file-attributes} is 175 If the variable @code{w32-get-true-file-attributes} is
175non-@code{nil} (the default), Emacs tries to determine the accurate 176non-@code{nil} (the default), Emacs tries to determine the accurate
176link counts for files. This option is only useful on NTFS volumes, 177link counts for files. This option is only useful on NTFS volumes,
177and it considerably slows down Dired and other features, so use it 178and it considerably slows down Dired and other features, so disable it
178only on fast machines. 179on slow machines.
179 180
180@node ls in Lisp 181@node ls in Lisp
181@section Emulation of @code{ls} on MS-Windows 182@section Emulation of @code{ls} on MS-Windows
@@ -332,12 +333,11 @@ When Emacs starts, it first checks whether the environment variable
332directory pointed by @env{HOME}. If @env{HOME} is not defined, Emacs 333directory pointed by @env{HOME}. If @env{HOME} is not defined, Emacs
333checks for an existing @file{.emacs} file in @file{C:\}, the root 334checks for an existing @file{.emacs} file in @file{C:\}, the root
334directory of drive @file{C:}@footnote{ 335directory of drive @file{C:}@footnote{
335The check in @file{C:\} is in preference to the application data 336The check in @file{C:\} is for compatibility with older versions of Emacs,
336directory for compatibility with older versions of Emacs, which didn't 337which didn't check the application data directory.
337check the application data directory.
338}. If there's no such file in @file{C:\}, Emacs next uses the Windows 338}. If there's no such file in @file{C:\}, Emacs next uses the Windows
339system calls to find out the exact location of your application data 339system calls to find out the exact location of your application data
340directory. If that fails as well, Emacs falls back to @file{C:\}. 340directory. If that system call fails, Emacs falls back to @file{C:\}.
341 341
342 Whatever the final place is, Emacs sets the value of the @env{HOME} 342 Whatever the final place is, Emacs sets the value of the @env{HOME}
343environment variable to point to it, and it will use that location for 343environment variable to point to it, and it will use that location for
@@ -588,12 +588,12 @@ variables control printing on all systems, but in some cases they have
588different default values on MS-DOS and MS-Windows. 588different default values on MS-DOS and MS-Windows.
589 589
590 Emacs on Windows automatically determines your default printer and 590 Emacs on Windows automatically determines your default printer and
591sets the variable @var{printer-name} to that printer's name. But in 591sets the variable @code{printer-name} to that printer's name. But in
592some rare cases this can fail, or you may wish to use a different 592some rare cases this can fail, or you may wish to use a different
593printer from within Emacs. The rest of this section explains how to 593printer from within Emacs. The rest of this section explains how to
594tell Emacs which printer to use. 594tell Emacs which printer to use.
595 595
596@vindex printer-name@r{, (MS-DOS/MW-Windows)} 596@vindex printer-name@r{, (MS-DOS/MS-Windows)}
597 If you want to use your local printer, then set the Lisp variable 597 If you want to use your local printer, then set the Lisp variable
598@code{lpr-command} to @code{""} (its default value on Windows) and 598@code{lpr-command} to @code{""} (its default value on Windows) and
599@code{printer-name} to the name of the printer port---for example, 599@code{printer-name} to the name of the printer port---for example,
@@ -722,6 +722,94 @@ printer, put this in your @file{.emacs} file:
722(This assumes that Ghostscript is installed in the 722(This assumes that Ghostscript is installed in the
723@file{D:/gs6.01} directory.) 723@file{D:/gs6.01} directory.)
724 724
725@node Windows Fonts
726@section Specifying Fonts on MS-Windows
727@cindex font specification (MS Windows)
728
729 Starting with Emacs 23, fonts are specified by their name, size
730and optional properties. The format for specifying fonts comes from the
731fontconfig library used in modern Free desktops.
732
733@example
734 [Family[-PointSize]][:Option1=Value1[:Option2=Value2[...]]]
735@end example
736
737 The old XLFD based format is also supported for backwards compatibility.
738
739 Emacs 23 supports a number of backends. Currently on Windows the @code{gdi}
740 font backend is supported.
741
742@cindex font properties (MS Windows)
743@noindent
744Optional properties common to all font backends on MS-Windows are:
745
746@vindex font-weight-table @r{(MS-Windows)}
747 @code{weight} specifies the weight of the font. Special values @code{light},
748@code{medium}, @code{demibold}, @code{bold} and @code{black} can be specified
749without the @code{weight=} (eg @samp{Courier New-12:bold}). Otherwise
750the weight should be a numeric value between 100 and 900, or one of the
751named weights in @code{font-weight-table}. If unspecified, a regular font
752is assumed.
753
754@vindex font-slant-table @r{(MS-Windows)}
755 @code{slant} specifies whether the font is italic. Special values
756@code{roman}, @code{italic} and @code{oblique} can be specified
757without the @code{slant=} (eg @samp{Courier New-12:italic}).
758Otherwise the weight should be a numeric value, or one of the named
759slants in @code{font-slant-table}. On Windows, any slant above 150 is
760treated as italic, and anything below as roman.
761
762 @code{family} specifies the font family, but normally this will be specified
763at the start of the font name.
764
765 @code{pixelsize} specifies the font size in pixels. This can be used instead
766of the point size specified after the family name.
767
768 @code{adstyle} specifies additional style information for the font.
769On MS-Windows, the values @code{mono}, @code{sans}, @code{serif},
770@code{script} and @code{decorative} are recognized. These are most useful
771as a fallback with the font family left unspecified.
772
773@vindex w32-charset-info-alist
774 @code{registry} specifies the character set registry that the font is
775expected to cover. Most Truetype and Opentype fonts will be unicode fonts
776that cover several national character sets, but you can narrow down the
777selection of fonts to those that support a particular character set by
778using a specific registry from @code{w32-charset-info-alist} here.
779
780 @code{spacing} specifies how the font is spaced. @code{p} specifies
781a proportional font, and @code{m} or @code{c} specify a monospaced font.
782
783 @code{foundry} is not used on Windows, but for informational purposes and to
784prevent problems with code that expects it to be set, is set internally to
785@code{raster} for bitmapped fonts, @code{outline} for scalable fonts,
786or @code{unknown} if the type cannot be determined as one of those.
787
788@cindex font properties (MS Windows gdi backend)
789Options specific to @code{GDI} fonts
790
791@cindex font scripts (MS Windows)
792@cindex font unicode subranges (MS Windows)
793 @code{script} specifies a unicode subrange the font should support.
794Scripts recognized on Windows are @code{latin}, @code{greek}, @code{coptic},
795@code{cyrillic}, @code{armenian}, @code{hebrew}, @code{arabic},
796@code{syriac}, @code{nko}, @code{thaana}, @code{devanagari}, @code{bengali},
797@code{gurmukhi}, @code{gujarati}, @code{oriya}, @code{tamil}, @code{telugu},
798@code{kannada}, @code{malayam}, @code{sinhala}, @code{thai}, @code{lao},
799@code{tibetan}, @code{myanmar}, @code{georgian}, @code{hangul},
800@code{ethiopic}, @code{cherokee}, @code{canadian-aboriginal}, @code{ogham},
801@code{runic}, @code{khmer}, @code{mongolian}, @code{symbol}, @code{braille},
802@code{han}, @code{ideographic-description}, @code{cjk-misc}, @code{kana},
803@code{bopomofo}, @code{kanbun}, @code{yi}, @code{byzantine-musical-symbol},
804@code{musical-symbol}, and @code{mathematical}.
805
806@cindex font antialiasing (MS Windows)
807 @code{antialias} specifies the antialiasing to use for the font. @code{none}
808means no antialiasing, @code{standard} means use standard antialiasing,
809@code{subpixel} means use subpixel antialiasing (known as Cleartype on Windows),
810@code{natural} means use subpixel antialiasing with adjusted spacing between
811letters. If unspecified, the font will use the system default antialiasing.
812
725@node Windows Misc 813@node Windows Misc
726@section Miscellaneous Windows-specific features 814@section Miscellaneous Windows-specific features
727 815