Adjudicate comments to "International" chapter of Emacs manual

* doc/emacs/mule.texi (International Chars)
(Language Environments, Input Methods, Defining Fontsets)
(Modifying Fontsets): Minor wording changes and typo fixes.
Reported by Francis Wright <f.j.wright@live.co.uk> in
emacs-manual-bugs@gnu.org.
This commit is contained in:
Eli Zaretskii 2018-01-28 19:14:14 +02:00
parent 0510a78da5
commit 231474fb76

View file

@ -124,7 +124,7 @@ can insert characters that your keyboard does not support, using
@kbd{C-x 8 @key{RET}} (@code{insert-char}). @xref{Inserting Text}. @kbd{C-x 8 @key{RET}} (@code{insert-char}). @xref{Inserting Text}.
Shorthands are available for some common characters; for example, you Shorthands are available for some common characters; for example, you
can insert a left single quotation mark @t{} by typing @kbd{C-x 8 can insert a left single quotation mark @t{} by typing @kbd{C-x 8
[}, or in Electric Quote mode often by simply typing @kbd{`}. [}, or in Electric Quote mode, usually by simply typing @kbd{`}.
@xref{Quotation Marks}. Emacs also supports @xref{Quotation Marks}. Emacs also supports
various @dfn{input methods}, typically one for each script or various @dfn{input methods}, typically one for each script or
language, which make it easier to type characters in the script. language, which make it easier to type characters in the script.
@ -379,7 +379,7 @@ least---the way Emacs decodes non-@acronym{ASCII} characters sent by your keyboa
If you modify the @env{LC_ALL}, @env{LC_CTYPE}, or @env{LANG} If you modify the @env{LC_ALL}, @env{LC_CTYPE}, or @env{LANG}
environment variables while running Emacs (by using @kbd{M-x setenv}), environment variables while running Emacs (by using @kbd{M-x setenv}),
you may want to invoke the @code{set-locale-environment} you may want to invoke the @code{set-locale-environment}
function afterwards to readjust the language environment from the new command afterwards to readjust the language environment from the new
locale. locale.
@vindex locale-preferred-coding-systems @vindex locale-preferred-coding-systems
@ -508,11 +508,10 @@ entering the separate letter and accent. For example, @kbd{o ^ ^} gives
you the two characters @samp{o^}. Another way is to type another letter you the two characters @samp{o^}. Another way is to type another letter
after the @kbd{o}---something that won't combine with that---and after the @kbd{o}---something that won't combine with that---and
immediately delete it. For example, you could type @kbd{o o @key{DEL} immediately delete it. For example, you could type @kbd{o o @key{DEL}
^} to get separate @samp{o} and @samp{^}. ^} to get separate @samp{o} and @samp{^}. Another method, more
general but not quite as easy to type, is to use @kbd{C-\ C-\} between
Another method, more general but not quite as easy to type, is to use two characters to stop them from combining. This is the command
@kbd{C-\ C-\} between two characters to stop them from combining. This @kbd{C-\} (@code{toggle-input-method}) used twice.
is the command @kbd{C-\} (@code{toggle-input-method}) used twice.
@ifnottex @ifnottex
@xref{Select Input Method}. @xref{Select Input Method}.
@end ifnottex @end ifnottex
@ -1377,7 +1376,7 @@ hex code or thin space or an empty box instead. (@xref{Text Display, ,
glyphless characters}, for details.) glyphless characters}, for details.)
@node Defining Fontsets @node Defining Fontsets
@section Defining fontsets @section Defining Fontsets
@vindex standard-fontset-spec @vindex standard-fontset-spec
@vindex w32-standard-fontset-spec @vindex w32-standard-fontset-spec
@ -1408,8 +1407,8 @@ created automatically. Their names have @samp{bold} instead of
@acronym{ASCII} font that you specify with the @samp{Font} resource or @acronym{ASCII} font that you specify with the @samp{Font} resource or
the @samp{-fn} argument, or the default font that Emacs found when it the @samp{-fn} argument, or the default font that Emacs found when it
started. This is the @dfn{startup fontset} and its name is started. This is the @dfn{startup fontset} and its name is
@code{fontset-startup}. It does this by replacing the @code{fontset-startup}. Emacs generates this fontset by replacing the
@var{charset_registry} field with @samp{fontset}, and replacing @var{charset_registry} field with @samp{fontset}, and replacing the
@var{charset_encoding} field with @samp{startup}, then using the @var{charset_encoding} field with @samp{startup}, then using the
resulting string to specify a fontset. resulting string to specify a fontset.
@ -1455,14 +1454,15 @@ The resource value should have this form:
@end smallexample @end smallexample
@noindent @noindent
@var{fontpattern} should have the form of a standard X font name (see where @var{fontpattern} should have the form of a standard X font name
the previous fontset-startup example), except (see the previous fontset-startup example), except for the last two
for the last two fields. They should have the form fields. They should have the form @samp{fontset-@var{alias}}.
@samp{fontset-@var{alias}}.
The fontset has two names, one long and one short. The long name is Each fontset has two names, one long and one short. The long name
@var{fontpattern}. The short name is @samp{fontset-@var{alias}}. You is @var{fontpattern}. The short name is @samp{fontset-@var{alias}},
can refer to the fontset by either name. the last 2 fields of the long name (e.g., @samp{fontset-startup} for
the fontset automatically created at startup). You can refer to the
fontset by either name.
The construct @samp{@var{charset}:@var{font}} specifies which font to The construct @samp{@var{charset}:@var{font}} specifies which font to
use (in this fontset) for one particular character set. Here, use (in this fontset) for one particular character set. Here,
@ -1478,7 +1478,7 @@ that describe the character set. For the @acronym{ASCII} character font,
In addition, when several consecutive fields are wildcards, Emacs In addition, when several consecutive fields are wildcards, Emacs
collapses them into a single wildcard. This is to prevent use of collapses them into a single wildcard. This is to prevent use of
auto-scaled fonts. Fonts made by scaling larger fonts are not usable auto-scaled fonts. Fonts made by scaling larger fonts are not usable
for editing, and scaling a smaller font is not also useful, because it is for editing, and scaling a smaller font is also not useful, because it is
better to use the smaller font in its own size, which is what Emacs better to use the smaller font in its own size, which is what Emacs
does. does.
@ -1547,7 +1547,7 @@ used. Some examples are:
(set-fontset-font "fontset-default" 'iso-8859-3 (set-fontset-font "fontset-default" 'iso-8859-3
"Liberation Mono") "Liberation Mono")
;; Prefer a big5 font for han characters ;; Prefer a big5 font for han characters.
(set-fontset-font "fontset-default" (set-fontset-font "fontset-default"
'han (font-spec :registry "big5") 'han (font-spec :registry "big5")
nil 'prepend) nil 'prepend)