Commit e4021ec1 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

* strings.texi (String Conversion): Don't mention string-make-(uni|multi)byte.

* nonascii.texi (Converting Representations): Fix up range.
* keymaps.texi (Key Binding Commands): Update code point, avoid
"unibyte character" and remove mention of unibyte bindings.

Fixes: debbugs:8262
parent e6ce307c
2011-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
* strings.texi (String Conversion): Don't mention
string-make-(uni|multi)byte (bug#8262).
* nonascii.texi (Converting Representations): Fix up range.
* keymaps.texi (Key Binding Commands): Update code point, avoid
"unibyte character" and remove mention of unibyte bindings.
2011-03-07 Chong Yidong <cyd@stupidchicken.com> 2011-03-07 Chong Yidong <cyd@stupidchicken.com>
* Version 23.3 released. * Version 23.3 released.
......
...@@ -1707,15 +1707,11 @@ or ...@@ -1707,15 +1707,11 @@ or
@noindent @noindent
and your language environment is multibyte Latin-1, these commands and your language environment is multibyte Latin-1, these commands
actually bind the multibyte character with code 2294, not the unibyte actually bind the multibyte character with code 246, not the byte
Latin-1 character with code 246 (@kbd{M-v}). In order to use this code 246 (@kbd{M-v}) sent by a Latin-1 terminal. In order to use this
binding, you need to enter the multibyte Latin-1 character as keyboard binding, you need to teach Emacs how to decode the keyboard by using an
input. One way to do this is by using an appropriate input method appropriate input method (@pxref{Input Methods, , Input Methods, emacs, The GNU
(@pxref{Input Methods, , Input Methods, emacs, The GNU Emacs Manual}). Emacs Manual}).
If you want to use a unibyte character in the key binding, you can
construct the key sequence string using @code{multibyte-char-to-unibyte}
or @code{string-make-unibyte} (@pxref{Converting Representations}).
@deffn Command global-set-key key binding @deffn Command global-set-key key binding
This function sets the binding of @var{key} in the current global map This function sets the binding of @var{key} in the current global map
......
...@@ -171,7 +171,7 @@ acceptable because the buffer's representation is a choice made by the ...@@ -171,7 +171,7 @@ acceptable because the buffer's representation is a choice made by the
user that cannot be overridden automatically. user that cannot be overridden automatically.
Converting unibyte text to multibyte text leaves @acronym{ASCII} Converting unibyte text to multibyte text leaves @acronym{ASCII}
characters unchanged, and converts bytes with codes 128 through 159 to characters unchanged, and converts bytes with codes 128 through 255 to
the multibyte representation of raw eight-bit bytes. the multibyte representation of raw eight-bit bytes.
Converting multibyte text to unibyte converts all @acronym{ASCII} Converting multibyte text to unibyte converts all @acronym{ASCII}
......
...@@ -555,8 +555,8 @@ strings and integers. @code{format} (@pxref{Formatting Strings}) and ...@@ -555,8 +555,8 @@ strings and integers. @code{format} (@pxref{Formatting Strings}) and
@code{prin1-to-string} (@pxref{Output Functions}) can also convert @code{prin1-to-string} (@pxref{Output Functions}) can also convert
Lisp objects into strings. @code{read-from-string} (@pxref{Input Lisp objects into strings. @code{read-from-string} (@pxref{Input
Functions}) can ``convert'' a string representation of a Lisp object Functions}) can ``convert'' a string representation of a Lisp object
into an object. The functions @code{string-make-multibyte} and into an object. The functions @code{string-to-multibyte} and
@code{string-make-unibyte} convert the text representation of a string @code{string-to-unibyte} convert the text representation of a string
(@pxref{Converting Representations}). (@pxref{Converting Representations}).
@xref{Documentation}, for functions that produce textual descriptions @xref{Documentation}, for functions that produce textual descriptions
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment